|
1 | | -# Teleprompter |
| 1 | +# PrompterLive |
| 2 | + |
| 3 | +`PrompterLive` is a browser-first teleprompter and rehearsal tool for authors, speakers, streamers, editors, and production teams. |
| 4 | + |
| 5 | +It is not a server product and not a desktop wrapper. The current runtime shape is a **standalone Blazor WebAssembly app** that boots directly in the browser, stores working state on the client, uses browser camera and microphone APIs, and can publish its WebAssembly build to GitHub Pages. |
| 6 | + |
| 7 | +## Production URL |
| 8 | + |
| 9 | +- GitHub Pages target: [https://managedcode.github.io/PrompterLive/](https://managedcode.github.io/PrompterLive/) |
| 10 | +- Publish workflow: [`.github/workflows/deploy-github-pages.yml`](.github/workflows/deploy-github-pages.yml) |
| 11 | + |
| 12 | +`PrompterLive` is published as a repository Pages site. After the publish workflow runs, the WebAssembly artifact is served as a static site with no separate backend. |
| 13 | + |
| 14 | +## What It Is |
| 15 | + |
| 16 | +`PrompterLive` combines several workflows into a single product: |
| 17 | + |
| 18 | +- `Library` for script and folder management |
| 19 | +- `Editor` for TPS authoring and speech-structure editing |
| 20 | +- `Learn` for RSVP rehearsal mode |
| 21 | +- `Teleprompter` for the classic reading surface |
| 22 | +- `Go Live` for browser-side live output, preview, and routing |
| 23 | +- `Settings` for camera, microphone, theme, and runtime preferences |
| 24 | + |
| 25 | +Architecture map: [docs/Architecture.md](docs/Architecture.md) |
| 26 | + |
| 27 | +## Key Properties |
| 28 | + |
| 29 | +- standalone Blazor WebAssembly runtime with no server backend |
| 30 | +- UI ported from [`new-design/`](new-design/) as the design source of truth |
| 31 | +- TPS-focused editor for prompt-ready scripts |
| 32 | +- RSVP/Learn mode with ORP-style word rendering |
| 33 | +- browser-side media scene, device setup, and live preview |
| 34 | +- Go Live runtime with LiveKit and VDO.Ninja outputs |
| 35 | +- browser-local document and settings storage |
| 36 | +- browser-realistic acceptance tests through Playwright |
| 37 | + |
| 38 | +## RSVP Inspiration |
| 39 | + |
| 40 | +`PrompterLive` does not visually copy `Squirt`, but the `Learn` mode is directly inspired by the RSVP logic and pacing approach behind Squirt-style readers. |
| 41 | + |
| 42 | +In practice that means: |
| 43 | + |
| 44 | +- ORP-style focus on a key letter inside each word |
| 45 | +- word timing that reacts to word length and punctuation |
| 46 | +- natural pauses after commas, periods, and stronger phrase boundaries |
| 47 | +- a custom UI and layout adapted to `PrompterLive`, not a raw Squirt clone |
| 48 | + |
| 49 | +Canonical inspiration: [cameron/squirt](https://github.com/cameron/squirt) |
| 50 | + |
| 51 | +## Technical Model |
| 52 | + |
| 53 | +- host: [`src/PrompterLive.App`](src/PrompterLive.App) |
| 54 | +- routed UI, CSS, browser interop: [`src/PrompterLive.Shared`](src/PrompterLive.Shared) |
| 55 | +- reusable domain logic: [`src/PrompterLive.Core`](src/PrompterLive.Core) |
| 56 | +- automated tests: [`tests/`](tests/) |
| 57 | +- visual reference: [`new-design/`](new-design/) |
| 58 | + |
| 59 | +Further reading: |
| 60 | + |
| 61 | +- architecture: [docs/Architecture.md](docs/Architecture.md) |
| 62 | +- settings media feedback: [docs/Features/SettingsMediaFeedback.md](docs/Features/SettingsMediaFeedback.md) |
| 63 | +- go live runtime: [docs/Features/GoLiveRuntime.md](docs/Features/GoLiveRuntime.md) |
| 64 | +- vendored streaming SDK policy: [docs/Features/VendoredStreamingSdkReleases.md](docs/Features/VendoredStreamingSdkReleases.md) |
| 65 | +- versioning and Pages publish: [docs/Features/AppVersioningAndGitHubPages.md](docs/Features/AppVersioningAndGitHubPages.md) |
| 66 | + |
| 67 | +## App Version |
| 68 | + |
| 69 | +The app version is shown in `Settings > About`. |
| 70 | + |
| 71 | +Current scheme: |
| 72 | + |
| 73 | +- local builds: `0.1.0` |
| 74 | +- CI builds: `0.1.<github.run_number>` |
| 75 | + |
| 76 | +Version source of truth: |
| 77 | + |
| 78 | +- [`Directory.Build.props`](Directory.Build.props) |
| 79 | +- [`src/PrompterLive.App/Program.cs`](src/PrompterLive.App/Program.cs) |
| 80 | + |
| 81 | +Versioning and Pages workflow details: [docs/Features/AppVersioningAndGitHubPages.md](docs/Features/AppVersioningAndGitHubPages.md) |
| 82 | + |
| 83 | +## Local Run |
| 84 | + |
| 85 | +Requirements: |
| 86 | + |
| 87 | +- [.NET 10 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) |
| 88 | + |
| 89 | +Run: |
| 90 | + |
| 91 | +```bash |
| 92 | +cd src/PrompterLive.App |
| 93 | +dotnet run |
| 94 | +``` |
| 95 | + |
| 96 | +Useful commands: |
| 97 | + |
| 98 | +```bash |
| 99 | +dotnet build /Users/ksemenenko/Developer/PrompterLive/PrompterLive.slnx -warnaserror |
| 100 | +dotnet test /Users/ksemenenko/Developer/PrompterLive/PrompterLive.slnx |
| 101 | +dotnet format /Users/ksemenenko/Developer/PrompterLive/PrompterLive.slnx |
| 102 | +dotnet test /Users/ksemenenko/Developer/PrompterLive/PrompterLive.slnx --collect:"XPlat Code Coverage" |
| 103 | +``` |
| 104 | + |
| 105 | +## Deploy |
| 106 | + |
| 107 | +Publish runs through the GitHub Actions workflow: |
| 108 | + |
| 109 | +- [`.github/workflows/deploy-github-pages.yml`](.github/workflows/deploy-github-pages.yml) |
| 110 | + |
| 111 | +What it does: |
| 112 | + |
| 113 | +- builds `src/PrompterLive.App` |
| 114 | +- injects the CI build number into the app version |
| 115 | +- takes the published `wwwroot` |
| 116 | +- rewrites `base href` for the repository Pages path |
| 117 | +- adds `404.html` for client-side routing |
| 118 | +- deploys the artifact to GitHub Pages |
| 119 | + |
| 120 | +Official platform reference: [GitHub Pages](https://docs.github.com/en/pages) |
| 121 | + |
| 122 | +## Stack |
| 123 | + |
| 124 | +- [.NET 10](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) |
| 125 | +- [Blazor](https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor) |
| 126 | +- Razor Class Library |
| 127 | +- [xUnit](https://xunit.net/) |
| 128 | +- [bUnit](https://bunit.dev/) |
| 129 | +- [Playwright](https://playwright.dev/) |
| 130 | + |
| 131 | +## Browser Media And Streaming Stack |
| 132 | + |
| 133 | +`PrompterLive` is a browser-first media app, so it relies on standard Web APIs and a thin interop layer: |
| 134 | + |
| 135 | +- [WebRTC API](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) |
| 136 | +- [`getUserMedia()`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) |
| 137 | +- [MediaRecorder](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder) |
| 138 | +- [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) |
| 139 | + |
| 140 | +Integrated streaming and media projects: |
| 141 | + |
| 142 | +- [LiveKit](https://livekit.com/) |
| 143 | + docs: [Connecting to LiveKit](https://docs.livekit.io/intro/basics/connect/) |
| 144 | + repo: [livekit/client-sdk-js](https://github.com/livekit/client-sdk-js) |
| 145 | +- [VDO.Ninja](https://vdo.ninja/) |
| 146 | + repo: [steveseguin/vdo.ninja](https://github.com/steveseguin/vdo.ninja) |
| 147 | + |
| 148 | +Pinned vendored SDK policy and version tracking: |
| 149 | + |
| 150 | +- [docs/Features/VendoredStreamingSdkReleases.md](docs/Features/VendoredStreamingSdkReleases.md) |
| 151 | + |
| 152 | +Currently pinned in the repository: |
| 153 | + |
| 154 | +- `livekit/client-sdk-js` `v2.18.0` |
| 155 | +- `steveseguin/vdo.ninja` `v29.0` |
| 156 | + |
| 157 | +## Fonts, Icons, And Visual Sources |
| 158 | + |
| 159 | +- [Inter](https://rsms.me/inter/) |
| 160 | +- [JetBrains Mono](https://www.jetbrains.com/lp/mono/) |
| 161 | +- [Playfair Display](https://fonts.google.com/specimen/Playfair+Display) |
| 162 | +- [Google Fonts](https://fonts.google.com/) |
| 163 | +- [Feather Icons](https://feathericons.com/) |
| 164 | + |
| 165 | +## Credits And Inspirations |
| 166 | + |
| 167 | +These are the external projects, APIs, and references that `PrompterLive` builds on: |
| 168 | + |
| 169 | +### Platform And Runtime |
| 170 | + |
| 171 | +- [.NET 10](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) |
| 172 | +- [Blazor](https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor) |
| 173 | +- [GitHub Pages](https://docs.github.com/en/pages) |
| 174 | + |
| 175 | +### Test Infrastructure |
| 176 | + |
| 177 | +- [xUnit](https://xunit.net/) |
| 178 | +- [bUnit](https://bunit.dev/) |
| 179 | +- [Playwright](https://playwright.dev/) |
| 180 | + |
| 181 | +### Browser Media And Streaming |
| 182 | + |
| 183 | +- [LiveKit](https://livekit.com/) |
| 184 | +- [LiveKit connection docs](https://docs.livekit.io/intro/basics/connect/) |
| 185 | +- [livekit/client-sdk-js](https://github.com/livekit/client-sdk-js) |
| 186 | +- [VDO.Ninja](https://vdo.ninja/) |
| 187 | +- [steveseguin/vdo.ninja](https://github.com/steveseguin/vdo.ninja) |
| 188 | +- [WebRTC API](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) |
| 189 | +- [`getUserMedia()`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) |
| 190 | +- [MediaRecorder](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder) |
| 191 | +- [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) |
| 192 | + |
| 193 | +### RSVP And Speed-Reading Inspiration |
| 194 | + |
| 195 | +- [cameron/squirt](https://github.com/cameron/squirt) |
| 196 | + |
| 197 | +### Typography And Icons |
| 198 | + |
| 199 | +- [Inter](https://rsms.me/inter/) |
| 200 | +- [JetBrains Mono](https://www.jetbrains.com/lp/mono/) |
| 201 | +- [Playfair Display](https://fonts.google.com/specimen/Playfair+Display) |
| 202 | +- [Google Fonts](https://fonts.google.com/) |
| 203 | +- [Feather Icons](https://feathericons.com/) |
| 204 | + |
| 205 | +If we missed someone in the credits, open an issue or PR and add the attribution explicitly instead of leaving the dependency implicit. |
| 206 | + |
| 207 | +## License |
| 208 | + |
| 209 | +This project is licensed under [MIT](LICENSE). |
0 commit comments