← All projects
Project record1 mention
Originally shared on Hacker News

News Butler (HN keyword-watch bot)

This bot watches Hacker News comments for keywords and posts alerts to Slack and Discord. Written in Crystal, it was refactored from an unmaintained ORM to raw SQL, with queries loaded from .sql files at compile time; the whole app needs only about 10 SQL requests.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. News Butler (HN keyword-watch bot)

    This bot watches Hacker News comments for keywords and posts alerts to Slack and Discord. Written in Crystal, it was refactored from an unmaintained ORM to raw SQL, with queries loaded from .sql files at compile time; the whole app needs only about 10 SQL requests.

    Posted by @maattdd · Original source ↗

    Source text · @maattdd · · Source ↗

    I've been updating my HN bot (watch comments for keywords and post to Slack/Discord) written in Crystal to use raw SQL instead of unmaintained ORM.