Set it up, share a room, and take it out again.
You need a Vite + React app and Claude Code. Everything else is on this page, including how to take it out again.
npx flockshowBefore you start
You need a Vite + React app, written in JSX or TSX, and Claude Code on the same computer.
Open a terminal in the folder that holds vite.config.js or vite.config.ts.
Run the command
npx flockshowIt adds the Claude Code hooks, then shows the two lines your Vite config needs and asks before it writes them. Type y, or run npx flockshow --yes to skip the question.
Leave that window open. Flockshow keeps running there.
In a second terminal, run npm run dev and open the address it prints. A small dark bar sits at the bottom left of your page.
Start Claude Code in the same folder and ask for a change you can see, such as different heading text. A cursor with the session’s name flies to that element before the edit lands.
A session that was already open needs a restart, because hooks load when a session starts.
What it changes in your project
- Hooks in
.claude/settings.local.json, which stays out of git. - Two lines in your Vite config:
import flockshow from 'flockshow/vite', andflockshow()first inplugins. - A
.buildroomsfolder for local settings and saved clips, added to.gitignore. - The Vite plugin runs on the dev server only, so your production build does not change.
Share a room
Press Share live view in the bar. The watch link is on your clipboard.
The first time you run npx flockshow, it opens a page in your browser so you can link this computer to your account. Cursors work without that step. Sharing online needs it.
A watcher sees your page and the cursors. Your prompts, file names and code stay on your computer.
Make a clip
Press Clip in the bar. The last minute of your page becomes a replay of about 13 seconds, saved on your computer, which ends on a card naming each session.
Press Record video and pick Wide for X and YouTube or Tall for Reels, Shorts and TikTok. The file lands in .buildrooms/clips in your project.
Reloading your app empties the last minute, so press Clip before you reload.
Add a teammate
Press Share live view, then Invite a teammate, and copy the join command.
Your teammate runs it in their copy of the project, on the same branch. It starts with npx flockshow join.
Their sessions get cursors of their own on your page, and everyone watching sees who is working on which computer.
An invite works for 24 hours, or until the room ends. The project needs at least one git commit, so a teammate’s copy can be matched to yours.
Check your stack first.
| Stack | Status |
|---|---|
| Vite + React, with Claude Code | Works today |
| Next.js | Being built now |
Want to hear when yours is ready? Leave your email on the Contact page and name the stack.
Remove it
- To unlink this computer from your account, run
npx flockshow unlink. - Stop Flockshow with Ctrl+C.
- Delete the two lines from your Vite config.
- Delete the Flockshow hooks from
.claude/settings.local.json, or from.claude/settings.jsonif you used--command. - Delete the
.buildroomsfolder. Ifflockshowis in your package.json, runnpm uninstall flockshow.
If something does not work
A session has no cursor
Restart that Claude Code session, because hooks load when a session starts. If there is still no cursor, your Claude Code may be too old for the hook Flockshow sets up by default. Stop Flockshow, run npx flockshow init --command, start Claude Code again and run npx flockshow once more.
My app shows no bar
Check that both lines are in your Vite config, with flockshow() first in plugins. Then restart npm run dev and reload the page.
Nobody else can open my watch link
Sharing online needs this computer linked to your account. Run npx flockshow link and approve it in your browser.
My teammate’s join command fails
They need their own copy of the same project, on the same branch as yours. The line the command prints says which part does not match.