/hoy

Send push notifications to friends with just a push of a button

Primary LanguageJavaScriptMIT LicenseMIT

⚠️ 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.

Hoy

Send push notifications to friends with just a push of a button. Hoy does not use Firebase Cloud Messaging (FCM) for handling push notifications.


Prerequisites:

  • Node.js 16.x or above
  • NPM

How to Build this app locally

Fork this repo and then clone it:

git clone https://github.com/<your_name>/hoy.git

cd hoy and then install dependencies

npm install

Generate Vapid Keys for push notifications.

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.

Run the app

npm start

to start the hoy server. Your hoy instance will be running on http://localhost:80 (or just http://localhost).

Thanks

LICENSE

MIT License