Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
/ discast Public archive

A discord bot to publicly share a segment of conversation from Discord on a web app.

License

Notifications You must be signed in to change notification settings

402s/discast

Repository files navigation

discast

This is an open source project built by the team at 402 for an idea we were experimenting with. It demonstates an easy Discord bot that can take a segment of a discord conversation and make it publicly available at a given domain with a SolidJs based Web App. The Web App also enables third party users (with auth) to emoji-react to the conversations seperately from the original discord channel.

Feel free to use it in any way you wish under the MIT license.

Environment Variables

The following environment variables must be contained in .env at the root of this project.

Firebase Admin

We are using Firebase for auth and storing the emoji-reaction data, make you own project and set it up with this project. Refer to your Firebase Console > Project Settings > Service Accounts > Firebase Admin SDK > "Generate new private key"

FIREBASE_ADMIN_PROJECT_ID=
FIREBASE_ADMIN_CLIENT_EMAIL=
FIREBASE_ADMIN_PRIVATE_KEY=

Firebase Client

Refer to your Firebase Console > Project Settings > General > Your Apps then generate a new web app.

FIREBASE_CLIENT_API_KEY=
FIREBASE_CLIENT_AUTH_DOMAIN=
FIREBASE_CLIENT_PROJECT_ID=
FIREBASE_CLIENT_STORAGE_BUCKET=
FIREBASE_CLIENT_MESSAGING_SENDER_ID=
FIREBASE_CLIENT_APP_ID=
FIREBASE_CLIENT_MEASUREMENT_ID=

Discord

You are going to need to make your own discord bot to get the conversation from the relevant discord server.

DISCORD_CLIENT_ID=
DISCORD_BOT_TOKEN=

Build

Just regular old npm.

npm install
npm run build
npm run dev

About

A discord bot to publicly share a segment of conversation from Discord on a web app.

Resources

License

Stars

Watchers

Forks