A free, browser based tool for keeping your display awake. Keep Screen On uses the Screen Wake Lock API to request that a supported browser keep the screen on while you work, present, read, or monitor a dashboard.
Try it: keepscreenon.dev | No Sleep Page
No app install, extension, or simulated mouse movement is needed. Open the page, choose how long to stay awake, and turn on the wake lock. The browser releases it when it can no longer keep the page active, such as when the tab closes or the timer ends.
- One click to request or release a screen wake lock.
- Preset durations and a custom countdown, or choose no limit.
- Clear active, paused, and unavailable states.
- Light and dark themes, plus a dimmed ambient display.
- Informational guides and an interactive wake lock control embedded in articles.
- Localized homepages in English, German, Chinese, Japanese, Spanish, Portuguese, French, Italian, and Korean.
- Server rendered pages, metadata, structured data, sitemap, and crawler guidance.
Wake Lock support depends on the browser, device, and page visibility. The browser may release the lock when the page is backgrounded or the device enters a state where the lock cannot be maintained. Keep the page open and visible for the most reliable behavior.
The app requests a screen wake lock from the browser after the user turns it on. It does not change operating system power settings or generate mouse and keyboard activity. A countdown can automatically release the lock when it expires.
- Next.js App Router
- React and TypeScript
- Tailwind CSS
- Vercel Analytics and Speed Insights
- Node.js (LTS recommended)
- npm
git clone <repository-url>
cd neversleep
npm install
npm run devOpen http://localhost:3000.
| Command | Purpose |
|---|---|
npm run dev |
Start the local development server |
npm run build |
Create a production build |
npm run start |
Serve the production build locally |
npm run lint |
Run ESLint |
npm run submit:indexnow |
Submit sitemap URLs through the configured IndexNow script |
src/
app/ Routes, page metadata, sitemap, and robots rules
components/ Wake lock controls and shared interface components
data/ Blog content and localized homepage copy
hooks/ Wake lock state and timer behavior
public/ Static assets and LLM-readable site guides
scripts/ Search indexing utilities
- Blog articles are maintained in
src/data/blogPosts.ts; the blog listing and sitemap use this content. - The sitemap and crawler rules are generated from
src/app/sitemap.tsandsrc/app/robots.ts. - Site guides for AI tools are maintained in
public/llms.txtandpublic/llms-full.txt. PROJECT.mdcontains internal planning and SEO notes; it is not required to run the app.
No license is currently specified. Contact the repository owner before redistributing or reusing this project.