No description
Find a file
2026-05-13 14:16:58 +01:00
hndigest Add retries for 429 status response 2026-05-13 11:51:31 +01:00
.gitignore Alter 2 files 2026-05-13 14:13:05 +01:00
build.sh Add build script 2026-02-02 17:08:43 +00:00
deploy.sh Add deploy.sh 2026-05-10 15:22:03 +01:00
go.mod Alter 8 files 2026-01-10 19:17:26 +00:00
go.sum Alter 8 files 2026-01-10 19:17:26 +00:00
README.md Add README.md 2026-05-13 14:16:58 +01:00

hndigest

Generates and sends a digest of the top 10 (up to 30) stories from Hacker News and sends them via email.

Compiling

go build -o hndigestbin git.akpain.net/codemicro/hn-digest/hndigest

Running

Run the binary with a config.json file in the current working directory or set the HNDIGEST_SETTINGS_FILE environment variable to point to one.

Example config

{
  "recipients": ["abi@example.com"],
  "from": "hndigest@example.com",
  "top_n": 10,
  "smtp_server": "localhost",
  "smtp_port": 1025,
  "smtp_use_tls": false
}

Full config options to be found in hndigest/config.go as the Config struct.