WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

pheuter/hnpush

Repository files navigation

HN Push

Web push notifications for top stories on Hacker News.

Features

  • 🔔 Real-time push notifications for trending stories
  • 📱 Progressive Web App (PWA) for easy mobile access
  • 🌓 Dark mode support
  • ⚡️ Built with Svelte
  • 🔒 Privacy-focused with no tracking or analytics

How It Works

  1. A cron job runs every minute to fetch top stories from Hacker News
  2. New stories with 30+ points trigger push notifications
  3. Each visitor gets a unique password stored in a cookie
  4. Subscriptions are stored in Redis using the cookie password as an identifier
  5. Subscribers receive notifications with the story title and author
  6. Clicking a notification opens the story on Hacker News

About

Web push notifications for top stories on Hacker News.

Resources

License

Stars

Watchers

Forks

Releases

No releases published