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
Why?
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.
How to start?
- Register your Twitch Application here and get your Client ID.
- And get your Client ID and Client Secret.
- Create a
.envfile and add your Client ID and Client Secret like this :
TWITCH_CLIENT_ID=your_client_id
TWITCH_CLIENT_SECRET=your_client_secretDevelopment
Install dependencies :
yarnRun the server :
yarn serveTodo
- Don't use
TwitchAPI(username)on every request inusername.jsroute, use a cache system for the OAuth token. #1 - Sometime, we've got an error on fetching data from Twitch API with
/u/:usernameroute. #2 - More information on the embed #3
- Add redirect HTML page for
/:usernameroute #3
Routes
- /:username
- /:username/json
- /p/about