2 releases
new 0.1.1 | Jan 10, 2025 |
---|---|
0.1.0 | Jan 8, 2025 |
#306 in Web programming
234 downloads per month
105KB
2K
SLoC
- A simple Telegram bot to facilitate creation of e-mail aliases in Infomaniak's kMail
** Features
- Get the kMail and the Telegram API tokens, domain name, mailbox id, and account id from a config file
- Get the owner TG handle from a config file, and communicate only with the owner.
-
/addcommand to create an alias- Accepts alias name (before '@' part) description (purpose)
- Invokes the POST API to add the alias
- In addition to creating the alias, also sends a test e-mail to the newly created address, with the provided description. this surves a double purpose of documenting the alias itself
-
/listcommand to list all the aliases -
/removecommand to remove an alias - A docker container and a sample docker-compose file to conveniently deploy the bot on a NAS container station.
** Running #+begin_src guix shell rust rust-cargo openssl pkg-config RUST_LOG=debug cargo run #+end_src
Dependencies
~23–43MB
~721K SLoC