Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Latest commit

 

History

History
60 lines (40 loc) · 1.34 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.34 KB

droplr-telegram-bot

build status David deps Known Vulnerabilities

Usage

Get a Telegram Bot token

Go to https://t.me/BotFather and get a token.

Run server as a daemon

NODE_ENV=production \
EGG_WORKERS=1 \
BOT_TOKEN=${TOKEN_FROM_LAST_STEP} \
DROPLR_USERNAME=${YOUR_DROPLR_EMAIL} \
DROPLR_PASSWORD=${YOUR_DROPLR_PASSWORD} \
BASE_URI=https://bot.example.com \
npx eggctl start --daemon

Droplr doesn't provide an Oauth system, so your bot only works for you.

Stop server

npx eggctl stop

Features

Shorten links

Upload images

Markdown notes

View

Others

  • Audio
  • Video
  • Files