Skip to content
Upload file to Droplr using a Telegram bot
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
lib
test
.eslintrc
.gitignore
.npmrc
.travis.yml
CHANGELOG.md
README.md
app.js
appveyor.yml
index.js
package.json
yarn.lock

README.md

droplr-telegram-bot

build status Test coverage 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
You can’t perform that action at this time.