Hit me up on my twitch channel
Ok hear me out: this project is tagged as a trash project. It means that I can drop this project at ANY moment so be careful. And subscribe to my Twitch channel.
This project is a playground where I do fun stuffs with the Twitch API. It contains:
- A Rust backend that connects to Twitch API (app and user access token)
- A Svelte frontend that consumes an API built with this Rust backend
- An erzatz of a wannabe chatbot that I'm currently building with Tokio
Tbh, this project should be the thing I should be using to have custom:
- Twitch alerts (follow, subs, raids)
- Chat
- Fun automation stuffs...
Feel free to reuse this project and have fun with it!!
- Rust with Cargo and stuffs
- Node with pnpm as a package manager
- Docker
- mkcert
- Taskfile task runner (download it here)
- Create
app/.env.developmentusing theapp/.env.exampleas an example - Create
api/.envusing theapi/.env.exampleas an example - Default domain being
twitchtools.localfrontend (app) url beingapp.twitchtools.localand backend (api) url beingapi.twitchtools.local - Chose a name for you bot (you must create a twitch account with this name)
- You need to create a twitch developer app in your twitch dev console
- Save the
client IDand theclient secretin yourapi/.envfile - Run
task init - Run
task start - Apply sqlx migrations and you should be good to go