Mya regularly say 'bye bye' to the audience and read each audience's name one by one before live stream end. Usually, the chatroom contains some 'bye bye' message that mixed with other unrelated message, which cause Mya difficult to see and differentiate the messages from distinct user. Can you help Mya write a program to solve this issue?
This webapp is basically youtube live chat message viewer powered by NextJS.
- When you ready to say good-bye, open this webapp.
- Input the passphrase to authenticate.
- Input the live stream URL, for example
https://www.youtube.com/watch?v=92VgDXjI4Xg
. - List of youtube chat messages will show and auto update periodically.
- Mouse click on the list item, the user message will be marked as "Read" (Green color). The future incoming message of that user will also marked as "Read" automatically.
🗝️ Secret Code Protection: only designated individuals can use this application.
✅ Filtering on chat message by superchat / member gift types.
👁️ Distinguish different author role and types of message.
✨ This webapp can ONLY retrieve the chat message published from current moment.
✨ This webapp consume Youtube Data API v3, which has daily quota limit (Don't worry, it's free). If you try to open this webapp to record the message of live stream from the beginning, it may exhaust API quota. I personally suggest not to doing this.
Here is the testing statistic:
- 3 hours 14 minutes: 99.48% of 10000 quota, 1992 request, live stream link
create .env.local
in project root directory, fill in your youtube API token and mya88 app passphrase.
YT_DATA_API_TOKEN=
YT_DATA_API_TOKEN_DEV=
YT_DATA_API_TOKEN_BAK=
PASSPHRASE=
PASSPHRASE_DEV=
PASSPHRASE_BAK=
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
🚨 Remember to add env var above to Vercel.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.