How cuber7649/shakespeare-repriser works
Text Repriser Collection is a client-side set of six literary-style English rewriting pages plus an all-styles dashboard. Users enter text in a style page or dashboard and receive rewritten output; documented companion features include settings, seeded reproducibility, sharing, comparison, quote cards, saved quotes, and offline installation. The tree supplied here contains only tools and the service worker, not the HTML pages or their runtime scripts, so core UI and feature nodes use only paths supported by the README/tree; their internal calls cannot be verified. The browser cache relationship is documented, while other feature wiring is not inferred.
Main entry points: index.html All-style dashboard · sw.js Offline cache · surprise.js Surprise Me · compare.js Output comparison
Components 15
Rewrite experience
- All-style dashboard
index.html - Six style pages
- Text rewriting
- Transform settings
- Seeded variation
- Style navigation
- Surprise Me
tools/surprise.js
Quote features
- Output comparison
tools/compare.js - Shareable links
tools/sharelink.js - Quote card export
tools/quotecard.js - Saved quotes
tools/savedquotes.js
Offline app
- Installable app
- Offline cache
sw.js
Other components
- Text author
- Browser storage
Connections 14
- Text author → All-style dashboard: enters text
README.md - Text author → Six style pages: enters text
README.md - All-style dashboard → Text rewriting: rewrites six styles
README.md - Six style pages → Text rewriting: rewrites selected style
README.md - Transform settings → Text rewriting: configures transforms
README.md - Seeded variation → Text rewriting: pins choices
README.md - Surprise Me → Text rewriting: runs sample
README.md - Text rewriting → Output comparison: supplies output
README.md - Text rewriting → Quote card export: supplies output
README.md - Text rewriting → Saved quotes: saves result
README.md - Text rewriting → Shareable links: encodes run
README.md - Text author → Installable app: installs app
README.md - Installable app → Offline cache: registers worker
- Offline cache → Browser storage: caches pages
sw.js