Telegram bot that posts new hot stories from Designer News to telegram channel
Bot runs on a small Hetzner cloud machine
Old version of this bot was written in python and was running on Google App Engine
Bot uses Designer News API
It loads top stories every minute and posts any story that reached 10+ score
Bot uses Behance API
Bot uses Unofficial Dribble API
Bot uses Telegram Bot API to post messages to the telegram channel with sendMessage request
Bot uses internal shortener
- Clone this project
- Run
yarn
to install dependencies - Run
yarn migrate:dev
to create a databse and apply migrations - Register your bot via BotFather
- Rename
.env.example
to.env
and- replace
YOUR_TELEGRAM_BOT_TOKEN
with your bot token - replace
YOUR_BEHANCE_TOKEN
with your behance token
- replace
- Possibly you'll want to create your own channel and your bot as an admin. Also change
@designer_news
insrc/helpers.ts
to your channel id
To run server locally you can run yarn dev