Unofficial browser extension for Gotify
Gotify Extension
An extension for viewing and managing Gotify servers
You must configure your server CORS to allow the extension to make requests, like so:
In your config.yml
server:
cors:
alloworigins:
- \"chrome-extension://defcailckfpgaigaiijligpnjipkhhmg\"
allowmethods:
- \"GET\"
- \"POST\"
- \"OPTIONS\"
- \"DELETE\"
allowheaders:
- \"Authorization\"
- \"content-type\"
stream:
allowedorigins: # allowed origins for websocket connections (same origin is always allowed, default only same origin)
- \"defcailckfpgaigaiijligpnjipkhhmg\"
Or, in your docker-compose.yml
environment:
GOTIFY_SERVER_CORS_ALLOWORIGINS: \"- \\\"chrome-extension://defcailckfpgaigaiijligpnjipkhhmg\\\"\"
GOTIFY_SERVER_CORS_ALLOWHEADERS: \"- \\\"Authorization\\\"\
- \\\"content-type\\\"\"
GOTIFY_SERVER_CORS_ALLOWMETHODS: \"- \\\"GET\\\"\
- \\\"POST\\\"\
- \\\"OPTIONS\\\"\
- \\\"DELETE\\\"\"
GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: \"- \\\"defcailckfpgaigaiijligpnjipkhhmg\\\"\"
Logo is from https://github.com/gotify/logo
More info can be found here: https://gotify.net/docs/config
Read more
You must configure your server CORS to allow the extension to make requests, like so:
In your config.yml
server:
cors:
alloworigins:
- \"chrome-extension://defcailckfpgaigaiijligpnjipkhhmg\"
allowmethods:
- \"GET\"
- \"POST\"
- \"OPTIONS\"
- \"DELETE\"
allowheaders:
- \"Authorization\"
- \"content-type\"
stream:
allowedorigins: # allowed origins for websocket connections (same origin is always allowed, default only same origin)
- \"defcailckfpgaigaiijligpnjipkhhmg\"
Or, in your docker-compose.yml
environment:
GOTIFY_SERVER_CORS_ALLOWORIGINS: \"- \\\"chrome-extension://defcailckfpgaigaiijligpnjipkhhmg\\\"\"
GOTIFY_SERVER_CORS_ALLOWHEADERS: \"- \\\"Authorization\\\"\
- \\\"content-type\\\"\"
GOTIFY_SERVER_CORS_ALLOWMETHODS: \"- \\\"GET\\\"\
- \\\"POST\\\"\
- \\\"OPTIONS\\\"\
- \\\"DELETE\\\"\"
GOTIFY_SERVER_STREAM_ALLOWEDORIGINS: \"- \\\"defcailckfpgaigaiijligpnjipkhhmg\\\"\"
Logo is from https://github.com/gotify/logo
More info can be found here: https://gotify.net/docs/config
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Gotify", "version": "0.3.2", "description": "Unofficial browser extension for Gotify", "manifest_version": 2, "icons": { "16": "assets/logo-16.png", "48": "assets/logo-48.png", "128": "assets/logo-128.png" }, "background": { "scripts": [ "background.js", "runtime.js" ], "styles": [ "styles.css" ] }, "permissions": [ "storage" ], "browser_action": { "default_popup": "index.html" }}
Read more