Send restream.io chat to ntfy to check on the Meta Quest.
Download or clone this repository then run npm install.
$ cd restreamchat2ntfy/
$ npm install
This app needs app client id and client secret to use the Restream API. Create an application via developer portal to get id/secret.
https://developers.restream.io/apps
Copy .env.example
to .env
. Set the client id and secret to .env
.
CLIENT_ID=[your_restream_api_client_id]
CLIENT_SECRET=[your_restream_api_client_secret]
Android
https://play.google.com/store/apps/details?id=io.heckel.ntfy
iOS (Beta)
https://testflight.apple.com/join/P1fFnAm9
*This url may be changed. See: binwiederhier/ntfy#4
You can take any topic name as an notification channel name.
Set a topic url to the .env
file
NTFY_SERVER=https://ntfy.sh/[your_ntfy_subject]
Subscribe the topic from the ntfy phone app too.
- Run the script with node.
$ node index.js
Open http://localhost:3000/ to redirect Restream login page.
- Open http://localhost:3000/ on your web browser then it redirects to Restream.io login page.
- Login with your restream account and click the "Allow" button to grant access to this program.
- Back to the terminal. Now, your twitch/youtube chat are observed and they will be notified on your phone.
Waiting for new chat...
User_1: Hello!
User_2: Hi.
- You can check chat texts in your Quest if your phone notification settings worked.
This program is incomplete. Refresh/Revoke access tokens are not implemented. Tokens expire in an hour so this works only an hour at one session.