Skip to content

Repository files navigation

wordtoken.com

The website and TypeScript engine for wordtoken — mine what your users actually want.

Layout

  • packages/wordtoken — the TypeScript engine: a module-for-module port of the Python reference implementation, parity-locked via golden fixtures vendored from the Python repo (pnpm sync-fixtures re-vendors; the parity suite fails on any divergence). Publishable to npm as wordtoken.
  • apps/web — the Next.js site: landing page with a pre-computed sample report, and a fully client-side playground (corpus / taxonomy YAML / live report) running the engine in a web worker. No analytics, no third-party requests; strict same-origin CSP; works offline via a hand-rolled service worker.

Develop

pnpm install
pnpm --filter wordtoken build   # engine dist (needed once for prebuild)
pnpm --filter wordtoken test    # unit + parity suites
pnpm --filter web dev           # site at localhost:3000

Verify the privacy claim

pnpm --filter web build && pnpm --filter web e2e runs a Playwright suite that asserts zero non-origin requests during analysis and that the playground works offline. Or check by hand: DevTools → Network, or unplug the Wi-Fi.

License

MIT.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages