A fast, fully client‑side web app that generates realistic placeholder text in multiple styles (Academese, Corporate Speak, Fedspeak, Gibberish, Lorem Ipsum, Officialese, Pseudoscience, Psychobabble, Shakespeare, Technobabble).
Built with React + TypeScript + Vite and Material UI. No servers, no external APIs — everything runs in the browser.
- Multiple “languages”/styles of placeholder text
- Adjustable parameters: sentence length, complexity, and number of paragraphs
- Copy‑to‑clipboard
- Light/Dark mode (follows system preference; toggle in the UI)
- Preferences persisted locally via
localStorage - SPA routing with 404 fallback for GitHub Pages
For detailed scope and requirements, see .docs/PRD.md.
- React 19 + TypeScript
- Vite 7
- Material UI 7
- Vitest + React Testing Library (for unit/UI testing)
Prerequisites:
- Node.js 18+ recommended
- pnpm (preferred) or npm
Install dependencies:
pnpm install
# or
npm installRun the dev server:
pnpm dev
# or
npm run devBuild for production:
pnpm build
# or
npm run buildPreview the production build locally:
pnpm preview
# or
npm run previewpnpm dev— start Vite dev serverpnpm build— type‑check and buildpnpm preview— serve the production build locallypnpm lint— run ESLint
This project is set up for GitHub Pages deployment.
- The Vite base path is configured in
vite.config.ts:base: mode === 'production' ? '/lorum.ipsum/' : '/'
- A
404.htmlis included for SPA routing on GitHub Pages. - A workflow (see
.github/workflows/deploy-pages.yml) can build and publish on push tomain.
Forking or renaming the repo?
- Update the
baseinvite.config.tsto match your repo name, e.g.'/your-repo/'. - Or set a custom domain and use
'/'as the production base.
src/— application sourcecomponents/— shared UI components (e.g.,AppLayout.tsxwith MUI layout and theme toggle)
public/— static assets copied as‑isindex.html— app entry HTML404.html— GitHub Pages SPA fallback.docs/PRD.md— product requirements
- Uses MUI components for baseline accessibility
- Color scheme toggle with clear labels
- Keyboard‑navigable controls
- Implement Markov‑chain text generation engine per
.docs/PRD.md - Add corpora for each style and tune generation parameters
- Provide copy buttons and parameter presets per style
- Add unit tests for generators and UI controls
Issues and PRs are welcome. Please keep changes small and focused. Before submitting:
pnpm lintand fix warnings where possible- Add or update tests when changing core logic
MIT (unless otherwise specified).
