Telegram bot that saves notes and reminders (integrated with Trilium Notes)
Go to file
2021-09-28 21:32:55 +02:00
notes Properly format newlines of plain text ICS entries 2021-08-24 14:46:28 +02:00
src Fix tokio assertion 2021-09-28 21:28:10 +02:00
.gitignore Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
Cargo.lock Update dependencies 2021-09-28 21:32:55 +02:00
Cargo.toml Switch to upstream ical-rs 2021-06-16 10:44:18 +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.