Telegram bot that saves notes and reminders (integrated with Trilium Notes)
Go to file
2021-08-07 15:06:26 +02:00
notes Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
src Only enable Markdown when necessary 2021-08-07 15:06:26 +02:00
.gitignore Set the correct mime of imported ical content 2021-05-07 12:09:48 +02:00
Cargo.lock Switch to upstream ical-rs 2021-06-16 10:44:18 +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.