# 01 · FlowCast (a Loom replacement)

One click records your screen and face. When you stop, the link is already on your clipboard. The page has
captions, a summary and chapters, and you get a notification when someone presses play.

**For your AI:** walk me through building this one step at a time. Ask about my business and what I record
first. Don't move on until the current step works.

## First, check

- Do you pay for Loom or a tool like it today? How much a year?
- How many videos do you send a week? If it's one a month, keep Loom.

## What you need

- Chrome (the recorder is a Chrome extension you load yourself, not from the store).
- A Cloudflare account: a Worker for the pages, R2 for the video files, D1 for the list of videos.
  The paid Workers plan is $5 a month and covers other small tools too.
- A domain or subdomain for the share links (for example v.yourdomain.com).
- Optional: a Telegram bot for the notifications, a speech-to-text model for the captions.

## Where it runs

The recorder runs in your browser. The share pages run on Cloudflare. Nothing runs on your computer once it's set up.

## The steps

1. **Record locally first.** A Chrome extension that records the screen, the camera and the microphone into
   one video file on your computer. Draw your face into the frame as a circle, so it works whatever you share.
2. **Store it.** Upload the file to R2 while you record, in parts, so a long recording is online seconds after
   you stop. Save the video's name, date and length in D1.
3. **The share page.** One Worker serves `yourdomain.com/<id>`: the video, its title, your note and one button.
   Make it play on a phone, in Safari too.
4. **The link at stop.** When you stop recording, put the share link on the clipboard.
5. **Your library.** A private page behind a password: every video, its views, rename, delete.
6. **Captions, summary, chapters.** After the upload, send the audio to a speech-to-text model, then ask a
   language model for a short summary and chapters.
7. **Notifications.** A Telegram message on the first play, and another when someone has watched most of it.
   Never count your own views.

## Checklist before you rely on it

- [ ] A 20-minute recording uploads and plays on a phone.
- [ ] The video has sound (test it: a silent file is the easiest bug to miss).
- [ ] The library and its API refuse anyone without your password.
- [ ] Share links are long random ids, so nobody can guess the next one.
- [ ] You know what happens if the browser crashes mid-recording.
- [ ] Your own views and robots don't trigger notifications.
