This project is open for Hacktoberfest 2023! Feel free to contribute
Note
jesuisen.live means "I'm live". Show us with a simple link your Twitch Stream with beautiful informations in the embed SEO.
Will Build with :
- Fastify
- Twitch API
- Awesome devs
It was created because when you want to share a Twitch URL, the information displayed is basic. No description, just a large image of the channel. In short, it's not pretty.
- Register your Twitch Application here and get your Client ID.
- And get your Client ID and Client Secret.
- Create a
.env
file and add your Client ID and Client Secret like this :
TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secret
Install dependencies :
yarn
Run the server :
yarn serve
- Don't use
TwitchAPI(username)
on every request inusername.js
route, use a cache system for the OAuth token. #1 - Sometime, we've got an error on fetching data from Twitch API with
/u/:username
route. #2 - More information on the embed #3
- Add redirect HTML page for
/:username
route #3
- /:username
- /:username/json
- /p/about