Hourly or daily
Post the top Hacker News stories to Discord
Your server gets a regular list of what's trending, without repeats.
- Runs
- Hourly or daily
- Apps
- Discord
- AI
- Optional
- Access
- Send Messages
Send this to your assistant
Create a ClickRuntime automation: every morning at 9am, get the top 5 stories on Hacker News and post them with links to #launches on my Discord, skipping any I've already posted.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Founders, makers and curious community members want to know what launched on Product Hunt today or what is climbing on Hacker News, but checking those sites several times a day is a time sink. The people in a startup Discord who would love a heads-up on a competitor's launch or a hot technical thread usually hear about it from a screenshot a day later, when the conversation has moved on and the best comments are gone.
On an hourly or daily schedule the automation queries the public source you chose, skips anything it already posted, and writes a list of the top launches or threads into your Discord channel. If you turn on the optional AI step, each entry gets a one-line description of what it is, so members can scan the list quickly.
Indie hacker groups, product teams and developer servers use it to keep market awareness in a place everyone already visits.
What you get out of it
Competitor launches seen the same day
A rival's Product Hunt launch appears in the channel while it is still ranking. Your team can read the pitch, check the pricing and discuss a response that afternoon instead of discovering it from a customer's email next week.
Inspiration delivered to the team
Makers get a steady stream of new ideas, naming styles and landing page approaches without browsing. Over a few weeks, the list becomes a shared reference for what the market is building.
No daily browsing habit needed
Nobody has to remember to open Product Hunt or Hacker News. The list arrives where the conversation already happens, which saves a few minutes every day for every person who used to check by hand.
Each story posted once
Because it skips items already posted, an item that stays high all day does not repeat on every run. The channel stays a clean log of distinct launches rather than the same few entries over and over.
Hourly or daily to suit the server
A busy server may want an hourly feed of fresh arrivals, while a quiet one prefers a single morning list. Choosing the rhythm keeps the channel at the volume your members will actually read.
How it works
What happens, step by step
On the schedule you choose, ClickRuntime fetches the top stories from Hacker News.
It skips stories it has already posted.
A list of the new top stories, with their points, is posted to your Discord channel.
Before it runs live
- Connect Discord
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Discord steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, http, credentials, state
LAUNCHES_CHANNEL = "LAUNCHES_CHANNEL_ID"
HN = "https://hacker-news.firebaseio.com/v0"
def discord(method, path, **kw):
r = http.request(method, f"https://discord.com/api/v10{path}",
headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"}, **kw)
r.raise_for_status()
return r.json() if r.content else None
@on_trigger
def run(event):
posted = set(state.get("posted") or [])
picks = []
for sid in http.get(f"{HN}/topstories.json").json()[:30]:
if sid in posted:
continue
item = http.get(f"{HN}/item/{sid}.json").json()
picks.append(f"• {item['title']} ({item.get('score', 0)} points)\n<{item.get('url') or f'https://news.ycombinator.com/item?id={sid}'}>")
posted.add(sid)
if len(picks) == 5:
break
if picks:
discord("POST", f"/channels/{LAUNCHES_CHANNEL}/messages", json={"content": "**Top on HN today**\n" + "\n".join(picks)})
state.set("posted", list(posted)[-1000:])
return {"posted": len(picks)}FAQ
Common questions
Which sources can it pull from?
What does the optional AI step add?
Can I post only items above a certain score?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a daily news digest in Discord
Each morning your server gets a short roundup of the top stories from the sites you follow.
See how it worksGet crypto price alerts in Discord
Your channel hears when Bitcoin or Ethereum makes a big move or crosses your price levels.
See how it worksGet told when an item is back in stock
Your server hears the moment a product page changes, like a sold-out item coming back.
See how it worksKeep exploring
Set up “Post the top Hacker News stories to Discord” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.