Skip to content

s2-streamstore/multiplayer-chat

Repository files navigation

Multiplayer AI Chat with S2

Setup

  1. Clone and install dependencies:

    npm install
  2. Copy .env.example to .env.local and add your Anthropic API key:

    cp .env.example .env.local
    ANTHROPIC_API_KEY=your_api_key_here
    
  3. Run the dev server:

    npm run dev
  4. Open http://localhost:3000 to start a new chat session.

Testing Multi-Tab Sync

  1. Open the app at http://localhost:3000
  2. Copy the URL (includes session token and stream name)
  3. Open the same URL in a new tab or incognito window
  4. Send messages from either tab and watch them sync in real-time

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors