pushable

module
v0.0.0-...-57c55d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: AGPL-3.0

README

Pushable

This is a golang webserver that provides a simple api to trigger web pushes.

This should be implemented BEHIND A FIREWALL. This is designed for easily sending push notifications using curl.

For example:

curl -X POST -F 'topic=test-push' -F 'title=Test Push' -F 'body=This is the body of the notification' -F 'icon=https://example.com/image.png' http://push.oisaac.dev/push

To sign up for push notifications, you can visit push.oisaac.dev and there is a button to subscribe that device to notifications. If you visit the site from a subscribed client, you can click the "unsubscribe" button to unsubscribe.

If any field is not defined then it will default to an empty string.

Technologies

  • htmx
  • golang
  • javascript
  • templ

Directories

Path Synopsis
cmd
pushable command
lib
templ: version: v0.2.663
templ: version: v0.2.663

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL