Telegram bot that saves notes and reminders (integrated with Trilium Notes)
Go to file
FliegendeWurst 76cdb42c21 Set the correct mime of imported ical content
as a bonus, this commit also includes a useful button:
duplicate an event into the next week
2021-05-07 12:09:48 +02:00
notes Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
src Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
.gitignore Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
Cargo.lock Debug logging, enabled by RUST_LOG 2021-04-23 10:47:38 +02:00
Cargo.toml Debug logging, enabled by RUST_LOG 2021-04-23 10:47:38 +02:00
LICENSE Create license 2021-04-23 10:57:55 +02:00
README.md Create readme 2021-04-23 10:56:44 +02:00
TODO.txt Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00

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.