Skip to content

Simple Web App with PWA Feature for Send Push Notification to Gotify Server

License

Notifications You must be signed in to change notification settings

mskian/gotify-pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gotify PWA

Uptime Robot status David

Simple Web App with PWA Feature for Send Push Notifications to the Gotify Server.

Send Push - https://push.santhoshveer.com

Features ✨

  • LocalStorage for Store the API on Browser
  • Axios for Accessing the API
  • Progressive Web App
  • Proper Form and API validation

Note: you need to Enable a Cors headers (Cross-Origin Resource Sharing) to Access your API on Third-party websites.

  • Open Gotify Setup file - config.yml File
  • Find the Line cors: # Sets cors headers only when needed and provides support for multiple allowed origins. Overrides Access-Control-* Headers in response headers.
  • uncomment # the Cors and whitelist the domain to accesss your API
cors: # Sets cors headers only when needed and provides support for multiple allowed origins. Overrides Access-Control-* Headers in response headers.
    alloworigins:
      - "push.santhoshveer.com"
    allowmethods:
      - "GET"
      - "POST"
    allowheaders:
     - "Authorization"
     - "content-type"

Development 🛠

  • Clone this Respo or Download
git clone https://github.com/mskian/gotify-pwa.git
cd gotify-pwa
  • Install Modules via yarn
yarn
  • Workflow ⚙
## Development (Run build & watch for changes)
yarn dev
## Build
yarn buld
## Test the site locally
yarn live
  • Upload public Folder on your server

Chrome Extension

Check out our Google Chrome Extension for Gotify - https://github.com/mskian/gotify-push

LICENSE 📜

MIT