A Simple Chrome Extension For Sending and Receiving Messages from Gotify Push Notification Server.

Latest Version

Version
0.4
Update
May 2, 2023
Size
307KiB
Developer
Category
Users
297
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Tabs
ActiveTab
ContextMenus
Notifications
See more

Gotify Push Extension

▶ Gotify push

Gotify 🦄 Google Chrome Extension

Chrome Extension for Send Push Notification to gotify/server 🔔

🖥 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.

▶ 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

▶ LICENSE

MIT
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 3,\t"name": "Gotify Push",\t"description": "A Simple Chrome Extension For Sending and Receiving Messages from Gotify Push Notification Server.",\t"version": "0.4",\t"icons": {\t\t"16": "icon_16.png",\t\t"48": "icon_48.png",\t\t"128": "icon_128.png"\t},\t"options_page": "options.html",\t"action": {\t\t"default_icon": "icon_16.png",\t\t"default_popup": "pop.html"\t},\t"content_scripts": [{\t\t"matches": [""],\t\t"js": [\t\t\t"js/gotify.js",\t\t\t"js/app.js",\t\t\t"js/background.js"\t\t]\t}],\t"background": {\t\t"service_worker": "service-worker.js"\t},\t"permissions": [\t\t"storage",\t\t"tabs",\t\t"activeTab",\t\t"contextMenus",\t\t"notifications"\t],\t"host_permissions": [\t\t"*://*/*"\t],\t"short_name": "Gotify Push",\t"homepage_url": "https://gotify.net"}
Read more