Telegram bot that saves notes and reminders (integrated with Trilium Notes)
Go to file
2021-05-07 11:56:54 +02:00
notes Export the necessary scripts instead of copy+paste 2021-04-23 10:48:42 +02:00
src Fix timezone handling of ical DT 2021-05-07 11:56:54 +02:00
.gitignore Initial commit 2020-05-13 22:52:13 +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

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.