All Projects → phil-r → Hackernewsbot

phil-r / Hackernewsbot

Licence: mit
📰 Telegram bot that posts new hot stories from Hacker News to telegram channel

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hackernewsbot

Moviemagnetbot
🤖 telegram bot for movies
Stars: ✭ 39 (-62.14%)
Mutual labels:  bot, telegram-bot, telegram
Telegram Bot Github
Allows to you receive GitHub notifications right in the Telegram
Stars: ✭ 103 (+0%)
Mutual labels:  bot, telegram-bot, telegram
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-50.49%)
Mutual labels:  bot, telegram-bot, telegram
Pytelbot
A playful bot in telegram
Stars: ✭ 12 (-88.35%)
Mutual labels:  bot, telegram-bot, telegram
Telebot.nim
Async client for Telegram Bot API in pure Nim [Bot API 5.1]
Stars: ✭ 93 (-9.71%)
Mutual labels:  bot, telegram-bot, telegram
Rssbot
Lightweight Telegram RSS bot for notifications only. 用于消息通知的轻量级 Telegram RSS 机器人
Stars: ✭ 952 (+824.27%)
Mutual labels:  bot, telegram-bot, telegram
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-47.57%)
Mutual labels:  bot, telegram-bot, telegram
Zabbix In Telegram
Zabbix Notifications with graphs in Telegram
Stars: ✭ 710 (+589.32%)
Mutual labels:  bot, telegram-bot, telegram
Tgdr
Telegram directory to discover channels, bots and groups.
Stars: ✭ 91 (-11.65%)
Mutual labels:  bot, telegram-bot, telegram
Pockebot
Read It Later for Telegram
Stars: ✭ 56 (-45.63%)
Mutual labels:  bot, telegram-bot, telegram
Mypackbot
🤖 Your own unlimited pack of Telegram-stickers
Stars: ✭ 18 (-82.52%)
Mutual labels:  bot, telegram-bot, telegram
Turibot
TuriBot is a simple way to communicate with Telegram APIs in PHP
Stars: ✭ 68 (-33.98%)
Mutual labels:  bot, telegram-bot, telegram
Java Telegram Bot Api
Telegram Bot API for Java
Stars: ✭ 819 (+695.15%)
Mutual labels:  bot, telegram-bot, telegram
Spytrojan keylogger
[Solo para programadores] Troyano espía | Keylogger solo para Windows, se replica en el sistema y se inicia automaticamente al iniciar sesión. | Envío de registro mediante [Base de Datos], [Gmail] o [BotTelegram].
Stars: ✭ 32 (-68.93%)
Mutual labels:  bot, telegram-bot, telegram
Informer
A Telegram Mass Surveillance Bot in Python
Stars: ✭ 745 (+623.3%)
Mutual labels:  bot, telegram-bot, telegram
Nikoro
A plugin-based, all-in-one, Telegram Bot written in Node.js
Stars: ✭ 51 (-50.49%)
Mutual labels:  bot, telegram-bot, telegram
Tgbot Cpp
C++ library for Telegram bot API
Stars: ✭ 439 (+326.21%)
Mutual labels:  bot, telegram-bot, telegram
Telegraf
Modern Telegram Bot Framework for Node.js
Stars: ✭ 5,178 (+4927.18%)
Mutual labels:  bot, telegram-bot, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (-48.54%)
Mutual labels:  bot, telegram-bot, telegram
Telebot
The easy way to write Telegram bots in Node.js
Stars: ✭ 1,096 (+964.08%)
Mutual labels:  bot, telegram-bot, telegram

hackernewsbot

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

Backend

Bot runs on Google App Engine

Hacker News API

Bot uses Hacker News API

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

Telegram API

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

URL shortening

Bot used bit.ly and goo.gl for url shortening, but now it uses internal shortener

How to run your own hackernewsbot

  • Clone this project
  • Run pip install -r requirements.txt -t lib/ to install dependencies
  • Download and install Google Cloud SDK
  • Register your app in Google Cloud console
  • Register your bot via BotFather
  • Rename sample_app.yaml to app.yaml and
    • replace yourappid with your App engine app id
    • replace YOUR_TELEGRAM_BOT_TOKEN with your bot token
  • Possibly you'll want to create your own channel and your bot as an admin. Also change @hacker_news_feed in database.py to your channel id
  • Run gcloud app deploy app.yaml --project [YOUR_PROJECT_NAME] in the project folder
  • Run gcloud app deploy cron.yaml --project [YOUR_PROJECT_NAME] in the project folder

Local development

To run server locally you can use dev_appserver.py:

dev_appserver.py .

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].