This bot can save everything that you send to your Evernote account.
You can use this bot in Telegram: https://t.me/evernoterobot
Or you can use your own telegram bot and your own server, then see Installation
If you have some reasons do not use my bot deployed on my server, you can use your own installation.
sudo curl https://raw.githubusercontent.com/djudman/evernote-telegram-bot/master/evernotebot-install.sh --output evernotebot-install.sh && sh evernotebot-install.sh
sudo
is needed because there is copying a file to /etc/init.d
directory/etc/init.d/evernotebot start
to start botgit clone https://github.com/djudman/evernote-telegram-bot.git
docker build -t evernote-telegram-bot .
.bashrc
)docker volume create evernotebot-data
docker run \
-e EVERNOTEBOT_DEBUG="$EVERNOTEBOT_DEBUG" \
-e MONGO_HOST="$MONGO_HOST" \
-e EVERNOTEBOT_HOSTNAME="$EVERNOTEBOT_HOSTNAME" \
-e TELEGRAM_API_TOKEN="$TELEGRAM_API_TOKEN" \
-e TELEGRAM_BOT_NAME="$TELEGRAM_BOT_NAME" \
-e EVERNOTE_BASIC_ACCESS_KEY="$EVERNOTE_BASIC_ACCESS_KEY" \
-e EVERNOTE_BASIC_ACCESS_SECRET="$EVERNOTE_BASIC_ACCESS_SECRET" \
-e EVERNOTE_FULL_ACCESS_KEY="$EVERNOTE_FULL_ACCESS_KEY" \
-e EVERNOTE_FULL_ACCESS_SECRET="$EVERNOTE_FULL_ACCESS_SECRET" \
-d \
-p 127.0.0.1:8000:8000 \
--restart=always \
--name=evernotebot \
-it \
-v ./logs:/app/logs:rw \
--mount source="evernotebot-data",target="/evernotebot-data" \
evernote-telegram-bot
Variable name | Default value | Description |
---|---|---|
EVERNOTEBOT_DEBUG | 0 | Enable debug mode (additional logging enabled) |
EVERNOTEBOT_HOSTNAME | evernotebot.djudman.info | DNS name of your host |
TELEGRAM_API_TOKEN | - | Access token for telegram API. You can obtain this by BotFather |
TELEGRAM_BOT_NAME | evernoterobot | Name of telegram bot. You used this in BotFather |
EVERNOTE_BASIC_ACCESS_KEY | - | appKey for your Evernote app (with readonly permissions) |
EVERNOTE_BASIC_ACCESS_SECRET | - | secret for your Evernote app (with readonly permissions) |
EVERNOTE_FULL_ACCESS_KEY | - | appKey for your Evernote app (with read/write permissions) |
EVERNOTE_FULL_ACCESS_SECRET | - | secret for your Evernote app (with read/write permissions) |
MONGO_HOST | 127.0.0.1 | Hostname for mongodb host |