Skip to content

Invis1ble-2/screenforge

 
 

Repository files navigation

ScreenForge

ScreenForge is an open-source Windows screen time dashboard built with Electron + React + TypeScript. It shows usage by app/category, daily/weekly/monthly averages, notification counts, and productivity insights with modern theming.

ScreenForge - Know your screen, Locally. Track smarter. Control better. | Product Hunt

Demo Video

Demo Video

Check out demo on YouTube: https://youtu.be/8N5Uhrui0fw?si=OSA-CyGoBVvZXoOT

Features

  • Multi-theme UI (light, dark, tokyo, skin)
  • Daily usage and category charts
  • App usage table and notification summary
  • Suggestions panel and focus insights
  • Electron preload bridge (mock data today; ready for real Windows telemetry)

Tech stack

  • Electron (main + preload)
  • React + TypeScript (renderer)
  • Vite (dev/build)
  • Chart.js (visualizations)

Requirements

  • Windows 10/11 (data collection uses Windows APIs)
  • Node.js (LTS recommended)

Installation

npm install

Development

Run the app in dev mode (Vite + Electron):

npm run dev

Lint:

npm run lint

Build

Build the renderer + Electron bundles:

npm run build

Run the built Electron main process (after build):

npm run electron:start

Packaging

Build a Windows installer (NSIS):

npm run dist

Build a portable Windows binary:

npm run dist:portable

Windows data collection

The app captures the active foreground app every 5 seconds using Windows APIs and aggregates usage locally for the current session. Notification counts are pulled from the Windows Notifications Platform event log and summarized per app.

If notification counts remain at 0, ensure the Windows Notifications Platform/Operational log is enabled in Event Viewer.

Contributing

Contributions are welcome. If you’d like to add features, fix bugs, or improve docs, please see CONTRIBUTING.md.

License

ScreenForge is licensed under the MIT License. See LICENSE.md.

About

screen time dashboard for windows

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 61.7%
  • JavaScript 25.1%
  • CSS 13.1%
  • HTML 0.1%