a demo showing off a durable redis stream using river.
-
clone the repo
-
install dependencies
bun install- add env vars (you will need a redis db and an openrouter api key)
# railway & upstash are great options
REDIS_URL=redis://localhost:6379
# google open router u will find it
OPENROUTER_API_KEY=your-openrouter-api-key
- run the development server
bun run dev