mirror of
https://github.com/FliegendeWurst/telegram_notes_bot.git
synced 2024-11-22 02:44:58 +00:00
Telegram bot that saves notes and reminders (integrated with Trilium Notes)
76cdb42c21
as a bonus, this commit also includes a useful button: duplicate an event into the next week |
||
---|---|---|
notes | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
TODO.txt |
Usage
Zip the contents of the notes
directory into a .zip file and import it into Trilium Notes (right-click into the tree sidebar -> Import).
Acquire a bot token from Telegram and save it in the environment variable TELEGRAM_BOT_TOKEN
.
Set TRILIUM_HOST
to the IP:port
of your sync server.
Set TRILIUM_USER
and TRILIUM_PASSWORD
.
Set TELEGRAM_USER_ID
to your own Telegram User ID.
Then simply run the program: cargo run --release
.