Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mskian/gotify-pwa

Simple Web App with PWA Feature for Send Push Notification to Gotify Server
https://github.com/mskian/gotify-pwa

css gotify html javascript localstorage push-notifications pwa pwa-app

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Gotify PWA

![Uptime Robot status](https://img.shields.io/uptimerobot/status/m784276997-eda1b154856ee5be380c52fd) ![David](https://img.shields.io/david/dev/mskian/gotify-pwa)

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

> Send Push -

## 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

```yaml
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

```bash
git clone https://github.com/mskian/gotify-pwa.git
```

```bash
cd gotify-pwa
```

- Install Modules via `yarn`

```bash
yarn
```

- Workflow ⚙

```bash
## Development (Run build & watch for changes)
yarn dev
```

```bash
## Build
yarn buld
```

```bash
## Test the site locally
yarn live
```

- Upload `public` Folder on your server

### Chrome Extension

Check out our Google Chrome Extension for Gotify -

### LICENSE 📜

MIT