Skip to content

mskian/gotify-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Gotify push

Gotify Google Chrome Extension

Chrome Extension for Send Push Notification to gotify/server πŸ””

Gotify Push

πŸ–₯ System Font
πŸ’… Spectre.css Framework
πŸ’― Light Weight and Optimized
⏳ Fetch API
🦺 Supports on all Chromium Based web browsers

Requirments

  • Gotify API
  • Latest Chromium Version for manifest v3 Support
  • Allow CORS Headers to Access and Call Gotify API

Service Worker

Chrome manifest v3 using Service Worker here we use it to create Chrome contextMenus to sending image,link and selected text to Gotify Server.

Installation

  • Download or Clone this Github Respo
  • Open the Extension Management Page - chrome://extensions
  • Enable Developer Mode by clicking the toggle switch next to Developer mode.
  • Click the LOAD UNPACKED button and select the unzipped extension directory

Usage

  • you can Find the Plugin Option page on Chrome toolbar Right side of the Address bar
  • Click Gotify Setup Button and Enter your Gotify APP API URL and Save it
  • That's all Successfully Setup Gotify Push Extension on your Brower

Allow CORS

You must configure your server CORS allow this extension to Send push notification from this Extension

  • Open config.yml File and Update this Setup
server:
  cors:
    alloworigins:
        - "chrome-extension://cbegkpikakpajcaoblfkeindhhikpfmd"
    allowmethods:
        - "GET"
        - "POST"
    allowheaders:
        - "Authorization"
        - "content-type"
  stream:
    allowedorigins: # allowed origins for websocket connections (same origin is always allowed, default only same origin)
      - "cbegkpikakpajcaoblfkeindhhikpfmd"

Features

  • Send Custom Push Notification
  • Send Current page INFO
  • Send Image URL
  • Send Link
  • Send Selected Text

Gotify push

Gotify push

Gotify push

Gotify push

LICENSE

MIT