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.development
using theapp/.env.example
as an example - Create
api/.env
using theapi/.env.example
as an example - Default domain being
twitchtools.local
frontend (app) url beingapp.twitchtools.local
and 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 ID
and theclient secret
in yourapi/.env
file - Run
task init
- Run
task start
- Apply sqlx migrations and you should be good to go