Automated Hacker News curation
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bot
config
version
.flint.toml
.gitignore
.rocket.san
.travis.yml
Dockerfile
LICENSE.txt
Makefile
Procfile
README.md
commands.txt
go.mod
go.sum
main.go

README.md

NewsBot

GoDoc GitHub release Build Status Docker image

newsbot helps you to manage the information overflow and addiction problem: automated Hacker News curation every 12 hours.

  1. Live version
  2. Available commands
  3. Configuration example
  4. Usage

Live Version

https://t.me/DailyHNBot

Available comands

See https://github.com/bloom42/newsbot/blob/master/commands.txt

Configuration example

$ cat .env
DATABASE_URL="postgres://user:pass@host..."
TELEGRAM_ADMIN="123456780" # The admin s chat ID
TELEGRAM_BOT_TOKEN="xxxxx:xxxxx" # required
GO_ENV="production" # or debug
ALGOLIA_APP_ID="" # default to UJ5WYC0L7X
ALGOLIA_API_KEY="" # default to 8ece23f8eb07cd25d40262a1764599b1
ALGOLIA_INDEX="" # default to Item_production_ordered

Usage

$ newsbot