Telegram bot that saves notes and reminders (integrated with Trilium Notes)
Go to file
2022-07-26 16:24:48 +02:00
notes Properly format newlines of plain text ICS entries 2021-08-24 14:46:28 +02:00
src Allow HTTPS connections to the sync server 2021-09-29 09:29:52 +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 Update README.md 2022-07-26 16:24:48 +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 http://IP:port (or https://domain: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.

Note: the bot is not using the new ETAPI (yet)