Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sleepyland

CI MIT License

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.

Contribute

Code, accessibility improvements, research corrections, source additions, reproducible analyses, and carefully scoped article proposals are welcome.

Sleepyland is educational software and publishing, not medical advice. Contributions must not diagnose, prescribe, provide individualized treatment, or promise health outcomes.

Development

Use Bun 1.3.14 and Node 24.

bun install --frozen-lockfile
bun run dev

Run the complete gate before submitting a change:

bun run check

The gate validates tests, types, lint, and the production build. Focused tests can be run directly with bun test <path> while editing.

Structure

  • 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.md explains how research claims and sources are reviewed.

Privacy

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.

License

Sleepyland is available under the MIT License. Third-party research, quotations, names, and linked materials remain subject to their respective rights and terms.

About

Open-source sleep research and a private-by-design browser sound machine.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages