Create readme

This commit is contained in:
FliegendeWurst 2021-04-23 10:56:44 +02:00 committed by GitHub
parent 3a258f5e90
commit aa2349a9ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
README.md Normal file
View File

@ -0,0 +1,10 @@
## 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`.