Sleepyland is an open-source, evidence-led publication about sleep, sound, and practical insomnia decisions. It includes a private-by-design browser sound machine at sleepy.land/noise.
The sound machine synthesizes brown, pink, and white noise, procedural ocean surf, slow spatial movement, and interactive spectrum pulses locally with the Web Audio API. It uses no recorded audio, product account, microphone input, or server-side sound generation.
The publication covers sleep sounds, circadian light, insomnia techniques, supplements, medications, and common wellness claims. Articles lead with a direct answer, link material claims to sources, and keep direct evidence separate from mechanism, inference, and crowdsourced experience.
Code, accessibility improvements, research corrections, source additions, reproducible analyses, and carefully scoped article proposals are welcome.
- Read CONTRIBUTING.md before opening a pull request.
- Use the research correction template for an unsupported, outdated, or mischaracterized claim.
- Use the bug report template for a reproducible product problem.
- Report vulnerabilities privately according to SECURITY.md.
Sleepyland is educational software and publishing, not medical advice. Contributions must not diagnose, prescribe, provide individualized treatment, or promise health outcomes.
Use Bun 1.3.14 and Node 24.
bun install --frozen-lockfile
bun run devRun the complete gate before submitting a change:
bun run checkThe gate validates tests, types, lint, and the production build. Focused tests can be run directly with bun test <path> while editing.
app/contains the Next.js routes, Web Audio engine, spectrogram, research registry, metadata, and tests.lib/contains product-owned UI and browser-storage helpers.styles/contains the sound-machine and publication visual systems.public/contains the public IndexNow proof and silent product demo.docs/editorial-method.mdexplains how research claims and sources are reviewed.
Sound generation and settings remain on the device. The canonical production site uses bounded, cookieless PostHog analytics without session replay or person profiles. See the live privacy page for the exact network and retention boundaries.
Sleepyland is available under the MIT License. Third-party research, quotations, names, and linked materials remain subject to their respective rights and terms.