https://github.com/zoetrope69/push-notification-twine
🌱 use push notifications to play a (basic) twine story
https://github.com/zoetrope69/push-notification-twine
push-notifications twine
Last synced: 6 months ago
JSON representation
🌱 use push notifications to play a (basic) twine story
- Host: GitHub
- URL: https://github.com/zoetrope69/push-notification-twine
- Owner: zoetrope69
- Created: 2017-04-04T18:04:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T18:00:58.000Z (over 8 years ago)
- Last Synced: 2025-02-09T01:37:54.920Z (8 months ago)
- Topics: push-notifications, twine
- Language: JavaScript
- Homepage: https://push-notification-twine.glitch.me/
- Size: 3.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# push-notification-twine
use push notifications to play a (basic) twine story
*need to write a good readme, bare with me*
## install
requires [node and npm to be installed](https://docs.npmjs.com/getting-started/installing-node)
1. `npm install`
2. add environment variables for push notifciations to `.env`. you can use `.env-sample` as an example## running
```
node main.js
```
> you need to be running on `localhost` or a server with https for this to work
> push notifications do not work in all browsers## twine
this project uses [twine](https://twinery.org/), something that makes creating a story people easy. it uses the [twison json format exporter](https://github.com/lazerwalker/twison)
you can see the current twison data in the `twison.json` file

## example
you can find an example over at: https://push-notification-twine.glitch.me/
it's based on the famous "im just waiting for a mate" video: https://www.youtube.com/watch?v=71DIT6hYXYo
you can remix this using glitch
[](https://glitch.com/edit/#!/remix/push-notification-twine)