Skip to content

👩‍🎨 Telegram bot that posts new hot stories from Designer News, shots from Dribbble and projects from Behance to telegram channel

License

Notifications You must be signed in to change notification settings

phil-r/designernewsbot

Repository files navigation

designernewsbot

Telegram bot that posts new hot stories from Designer News to telegram channel

Backend

Bot runs on a small Hetzner cloud machine

Old version of this bot was written in python and was running on Google App Engine

Designer News API

Bot uses Designer News API

It loads top stories every minute and posts any story that reached 10+ score

Behance API

Bot uses Behance API

Dribbble API

Bot uses Unofficial Dribble API

Telegram API

Bot uses Telegram Bot API to post messages to the telegram channel with sendMessage request

URL shortening

Bot uses internal shortener

How to run your own designernewsbot

  • 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
  • Possibly you'll want to create your own channel and your bot as an admin. Also change @designer_news in src/helpers.ts to your channel id

Local development

To run server locally you can run yarn dev

See also

About

👩‍🎨 Telegram bot that posts new hot stories from Designer News, shots from Dribbble and projects from Behance to telegram channel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published