4 comments

[ 2.8 ms ] story [ 23.1 ms ] thread
Hi HN,

I made a telegram bot that can send you new Hacker News stories by keywords.

You specify a list of tags, for example "ai, tesla, musk" and it will start sending you all new stories matching those words.

Tags can be grouped with | or semicolon: "ai, escaped | president, heart, attack".

Special tags [show] and [ask] notify about all 'Show HN' and 'Ask HN' posts.

Another special tag $ matches all numbers like '$25B'.

You can also use host names: "[show], github.io".

To view current tags use /tags.

To stop notifications use /stop.

Direct link: https://t.me/hnbuzz_bot (HN auto-deletes t.me links)

if it works then thanks a lot, it's helpful
It does work, just pay attention to syntax:

* "cool, stuff" will only match if both 'cool' and 'stuff' are present

* "cool | stuff" will match if either 'cool' or 'stuff' is present

* "cool, stuff | pizza" will either match both 'cool' and 'stuff' or 'pizza'

Actually, I slightly changed the syntax to be simpler:

* "cool stuff" will only match if both 'cool' and 'stuff' are present

* "cool, stuff" will match if either 'cool' or 'stuff' is present

* "cool stuff, pizza" will either match both 'cool' and 'stuff' or 'pizza'

Vertical line is also supported: "cool stuff | pizza".