A privacy-first, static headline generator with curated prompts, optional on-device tiny-model generation, and built-in share/export tools.
No build system. No backend. Open index.html and you are running.
- Static-first: works from local files or any static host.
- Generator hybrid: curated headline catalog + optional tiny local LLM mock.
- Share-ready UX: clipboard copy, social links, and mock front-page export.
- State-aware: navigation/session context is persisted with
localStorageand URL params.
- Clone the repository.
- Open
index.htmlin a modern browser. - Use Shuffle to generate and cycle headlines.
- Runtime: any modern browser (no build pipeline required).
- Optional smoke tests: Node.js + npm (Playwright is a dev dependency installed via
npm install).
If tooling blocks file:// URLs, run:
python -m http.server 8001 --directory .Then open http://127.0.0.1:8001/.
index.html— main generator experience.about.html— product overview and feature summary.examples.html— sample headlines and tone reference.
- Click Shuffle to cycle featured headlines.
- Use Previous to move backward through your local session history.
- Use copy/share controls to publish a headline quickly.
- Use export controls to create a mock front-page image.
A lightweight browser-side tool interface is exposed at window.Neckass.agent after app initialization, so browser automation and agentic LLM runtimes can call headline actions without clicking UI controls directly.
Available tools:
get_stateshufflepreviousgenerateset_filtersclear_filtersselect_headlinelist_headlines
Example:
const state = await window.Neckass.agent.call('get_state');
const next = await window.Neckass.agent.call('shuffle');An optional Playwright smoke suite validates key flows (shuffle, URL restore, share links, export controls) without changing the no-build runtime model.
npm install
npm run test:smokeSPECIFICATIONS.md— canonical UI/UX + accessibility requirements.
CONTRIBUTING.md— contribution workflow, quality bar, PR checklist.DEVELOPMENT.md— architecture map, local validation, change strategy.CHANGELOG.md— notable project changes (Keep a Changelog style).
CODE_OF_CONDUCT.md— collaboration expectations and enforcement.SECURITY.md— vulnerability reporting and response process.LICENSE— project license.
AGENTS.md— repository-specific instructions for coding agents.
TECH_STACK_CAPABILITIES_2026.md— optional modernization opportunities.
PRs are welcome. Start with CONTRIBUTING.md, then use DEVELOPMENT.md while implementing.