⚠️ Hoy (hoy.io) will be shut down on May 18th, 2023. This started as a fun side project to explore the web push feature of the browsers. I don't see a reason to continue this service further.
Send push notifications to friends with just a push of a button. Hoy does not use Firebase Cloud Messaging (FCM) for handling push notifications.
- Node.js 16.x or above
- NPM
Fork this repo and then clone it:
git clone https://github.com/<your_name>/hoy.git
cd hoy
and then install dependencies
npm install
For sending push notifications to browsers you need a pair (private & public) of vapid keys. Use npm run gen:vapid
to generate the vapid keys. Update the keys in the server/config.js
or pass them as environment variables to the node process.
npm start
to start the hoy server. Your hoy instance will be running on http://localhost:80 (or just http://localhost).