Giter Club home page Giter Club logo

rimokon's Introduction

๐Ÿ‘‹ Hey there! It's Nikolay Nechaev aka @kolayne

A Russian developer and a student at Innopolis University.

Social networks

@kolayne kolay_ne N.Nechaev@innopolis.university

Some statistics!

statistics

About me

Coming soon! one day.

rimokon's People

Contributors

kolayne avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

elonmusk49

rimokon's Issues

Wayland support

xdotool won't work on machines running Wayland, including some of the latest Ubuntu versions (22.04/22.10?). Rimokon should support both.

Besides, it'd be nice to make Rimokon look similar for the different display servers. It's probably impossible to make the commands look identical for the two cases, still, I want them to have a similar form. At the current moment of 1(?) active user, I don't mind making a backward incompatible change, as long as it improves the experience of the end-user (which is me ๐Ÿ˜Š).

Require password for `!SHUTDOWN`?

Instead of either letting every user shut the bot down, or leaving this command to current admins only, It would probably be more safe and convenient to let arbitrary user use the !SHUTDOWN command with a password. The password itself could be stored as a hash in the config file

Create wiki!

It would be nice to make the main repository README more concise, and explain the functionality in more detail in the Wiki section

Emergency shutdown: instead of actual termination, continue working but ignore any commands

Right now the emergency shutdown makes the Rimokon process actually quit. This introduces inconvenient side effects that should be resolved by running after_shutdown.py. The idea is to reimplement emergency shutdown: instead of quitting, the bot will continue to receive and process messages, however, it won't perform any commands with them (or just reply that the bot is shut down and should be restarted manually).

Command aliases

Currently, the key/type commands are effectively aliases for Run xdotool key/Run xdotool type commands, respectively. And this can be reflected in the code, allowing for

  • Easy switches for the "back-ends" of some commands (which may push to a cleaner implementation of #12, for example)
  • Decent speedup with user-defined aliases for long commands that they frequently use (which may be used together with the bottom keyboard feature, achieving the super speed ๐Ÿƒโ€โ™€๏ธ๐Ÿƒ)
  • Potential plugins support, if aliases take the form of, say, python functions rather than strings (do we even need it in Rimokon?)

Adding a screenshot function

As far as I understood, currently, you can send some commands but you're not getting any response back. So I propose adding a screenshot functionality. This can be useful in many ways, for instance, if you're interested in the progress of something running on your device (render, ML training, etc) or if you want to check which window is currently being displayed. I see i as: you send /screen and bot simply replies with a screenshot.

You can consider taking it next level ๐Ÿ˜ by adding streams. The first thing that came into my mind is Telegram video calls. So, imagine that you want to change some setting in your laptop. For example you want to remove the 15 min time limit before it goes to sleep. You send something like /stream and you receive a video call streaming your desktop! How cool is that.๐Ÿฅ‡ Then you can proceed by sending more commands and I guess that would be a better alternative of Team Viewer, but open-source and just easy to use, because Telegram is always ready at hand with intuitive interface.
It would be more challenging as well (because you can control only with text commands), but it kinda reminds me of controlling a Martian rover (not that I've ever done that :) ) - so it would be quite a challenge, but it's good

Interactive first setup

Add a script for the initial setup of the bot, that would interactively generate config.py, possibly also suggesting the description/commands-list/name to provide to BotFather when registering the telegram bot

Add a demo to README

Add some video showing the main functionality of the project.

It would also be nice to beautify the readme overall, but I don't know how to :'(

Use logger instead of prints

One reason for abandoning prints is that they are presumably causing something like SIGHUP/SIGPIPE when Rimokon is run from a the shell that is exited after that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.