LiveChatCaCaBox
Send content to Stream from Discord
Install / Use
/learn @qlaffont/LiveChatCaCaBoxREADME
LiveChat CCB
Demonstration :
For english language, please scroll down to ENGLISH.
FRANÇAIS
Cette application est inspirée d'un projet (LiveChat) qui a été développé par un groupe de streameur appelé Cacabox.
L'objectif de cette application est d'envoyer du contenu sur une page Web qui est utilisée dans un logiciel de diffusion comme OBS, XSplit, etc.
Une version hébergée existe sur la plateforme LeStudio !
Aucun support ne sera traitée si vous ne maitrisez pas Docker OU JavaScript.
Caractéristiques
- Envoyez tout type de contenu (audio, vidéo, image, texte) sur le stream
- Générez un audio de bot à jouer sur le stream
Commandes Discord
/dispo-> Vérifiez si le bot est vivant/client-> Obtenez un lien pour intégrer livechat dans obs, xsplit/msg-> Envoyer du contenu au flux/cmsg-> Envoyez du contenu au flux (mais caché 😈)/dire-> Demandez à un bot de dire quelque chose/cire-> Demandez à un bot de dire quelque chose (mais caché 😈)
Customisation
Si vous souhaitez modifier le rendu du bot, il vous suffit de modifier le fichier dans src/components/client/client.html !
(Attention si vous êtes sur docker il faut rebuild l'application !)
Installation
1 - Informations Discord
- Vous devez d'abord créer une application Discord: https://discord.com/developers/applications?new_application=true
- Vous devez définir un nom du bot (ce nom sera affiché)
- Après cela, vous devez copier l'ID de l'application sur cette page
- Accédez à la barre latérale gauche et cliquez sur "Bot" et cliquez sur le bouton "Réinitialiser le jeton".
- Après cela, vous devez copier le Token sur cette page
2 - Installation
Vous pouvez installer cette application par deux manières.
Si vous avez Docker et vous voulez la construire vous:
git clone https://github.com/qlaffont/LiveChatCCB
docker build -t qlaffont-livechatccb .
docker run -p 3000:3000 qlaffont-livechatccb \
-e DISCORD_TOKEN='DISCORD-TOKEN-TO-REPLACE' \ # <-- Remplacer par le token Discord
-e DISCORD_CLIENT_ID='DISCORD-ID-TO-REPLACE' \ # <--Remplacer par l'ID de l'application Discord
-e DEFAULT_DURATION='5' \ # <-- Durée par défaut si le contenu n'est pas vidéo ou audio
-e HIDE_COMMANDS_DISABLED='false' \ # <-- Si vous souhaitez désactiver les commandes masquées, vous pouvez modifier la valeur de 'false' à 'true'
-e API_URL='API-URL-TO-REPLACE' # <-- Remplacer par l'adresse où l'utilisateur se connectera (Ex: https://livechat.domainname.com)
OU
Vous voulez l'installer manuellement:
Exigences
cp .env.example .env # Remplacer DISCORD_TOKEN/DISCORD_CLIENT_ID/API_URL avec vos informations
pnpm install
pnpm dev
3 - Invitez le bot
Lorsque vous demarrez l'application, dans le journal, vous verrez l'invitation.
Exemple:
INFO : [DISCORD] En ligne ! Connecté en tant que xxxx
INFO : [DISCORD] Pour inviter le bot : https://discord.com/oauth2/authorize?client_id=xxxx&scope=bot
ENGLISH
This application is inspired from a project (LiveChat) who have been developed by streamer group called Cacabox.
The objective of this application is to send content on a webpage who is used in a broadcast sofware like OBS, XSplit, etc.
An hosted version exist on LeStudio !
No support will be answered if you don't know Docker OR JavaScript.
Features
- Send any type of content (audio, video, image, text) to the stream
- Generate a bot audio to be played on stream
Discord Commands
/alive-> Check if bot is alive/client-> Get OBS link to integrate LiveChat into OBS, XSplit/send-> Send content to stream/hsend-> Send content to stream (but hided 😈)/talk-> Ask a bot to say something/htalk-> Ask a bot to say something (but hided 😈)
Customisation
If you want to change the rendering of the bot, simply modify the file in src/components/client/client.html !
(Be careful if you run on Docker you have to rebuild the application !)
Installation
1 - Discord Informations
- First you need to create a Discord Application : https://discord.com/developers/applications?new_application=true
- You need to set a Discord Name (This name will be displayed)
- After that you need to copy APPLICATION ID on this page
- Go to the left sidebar and click on "Bot" and click on "Reset Token" button.
- After that you need to copy TOKEN on this page
2 - Installation
You can install this application by two way.
If you have Docker and want to build it:
git clone https://github.com/qlaffont/LiveChatCCB
docker build -t qlaffont-livechatccb .
docker run -p 3000:3000 qlaffont-livechatccb \
-e DISCORD_TOKEN='DISCORD-TOKEN-TO-REPLACE' \ # <--Replace with Discord Token
-e DISCORD_CLIENT_ID='DISCORD-ID-TO-REPLACE' \ # <--Replace with Discord Application Id
-e DEFAULT_DURATION='5' \ # <-- Default duration if content is not video or audio
-e HIDE_COMMANDS_DISABLED='false' \ # <-- If you want to disable hided commands, you can change the value from 'false' to 'true'
-e API_URL='API-URL-TO-REPLACE' \ # <--Replace with the endpoint where user will connect (Ex: https://livechat.domainname.com)
-e I18N='en'
OR
You can install it manually :
Requirements
cp .env.example .env # Replace DISCORD_TOKEN/DISCORD_CLIENT_ID/API_URL with your informations
pnpm install
pnpm dev
3 - Invite the bot
When you will start the application, in log you will see the invite.
Exemple :
INFO : [DISCORD] Ready ! Logged in as xxxx
INFO : [DISCORD] To invite bot : https://discord.com/oauth2/authorize?client_id=xxxx&scope=bot
Related Skills
Writing Hookify Rules
83.9kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
docs-writer
99.3k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
review-duplication
99.3kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
model-usage
339.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

