Show HN: Telegram bot to get new HN stories by keywords (solus.life) 10 points by solus_factor 5y ago ↗ HN
[–] solus_factor 5y ago ↗ 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) [–] losteden1 5y ago ↗ if it works then thanks a lot, it's helpful [–] solus_factor 5y ago ↗ 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' [–] solus_factor 5y ago ↗ 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".
[–] losteden1 5y ago ↗ if it works then thanks a lot, it's helpful [–] solus_factor 5y ago ↗ 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' [–] solus_factor 5y ago ↗ 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".
[–] solus_factor 5y ago ↗ 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'
[–] solus_factor 5y ago ↗ 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".
4 comments
[ 2.8 ms ] story [ 23.1 ms ] threadI 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)
* "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'
* "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".