Inspiration
We were talking about how we used to copy programs from computer lab with ssh for lab hours in college and a friend of mine suggested an idea of having to use his server hosted on cloud without having his lap with his side all the time from an app like whatsapp/some other app, due to the great api support we chose telegram
What it does
- termigram listens for bot commands and executes those commands on the host system and redirects the response to the chat window
- it also ensures that only authorized users can access the host system
- it can also print previous logs of its usage for auditing
How we built it
we built it in golang with the help tgbotapi for golang
Challenges we ran into
we first struggled to setup proper authorization for users and finally managed to use a config.json for defining the allowed user's telegram ids and also allows users to know their telegram id without authorization
Accomplishments that we're proud of
- was able to build a complete telegram bot from scratch with little to no previous knowledge about the programming language involved
What we learned
- Golang
- tgbotapi
What's next for Termigram
- Implement a tui interface to edit config.json
- Implement sudo command support
Log in or sign up for Devpost to join the conversation.