GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sagyam/DeepWork: Focus sessions for Linux that throttle distractions at the network layer

BranchesTags
Open more actions menu

Latest commit

 

History

186 Commits
186 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
crates
crates
 
 
dist
dist
 
 
docs
docs
 
 
ui
ui
 
 
.gitignore
.gitignore
 
 
CLAUDE.md
CLAUDE.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

DeepWork logo

DeepWork

Focus builds a city. Giving in tears it down.

How it works · Tour · Quick start · Docs

A focus app for Linux that is hard to get around.
Distracting sites slow to a crawl at the network layer, routines start sessions on their own, and every early quit costs you a building.

Rust Tauri Three.js Linux Hyprland License: MIT

ci release tests enforcement status

Set a timer, watch a hamlet grow into a metropolis, see a tower fall when you quit, then the stats and site lists

How it works

🐢 Throttle, don't kill Distracting sites buffer and load slowly; docs, mail and work sites run at full speed.
🛡️ Root daemon deepworkd enforces with nftables, tc/netem, its own DNS and SNI checks. Closing the app changes nothing.
⏰ Routines Focus slots start on their own. A few skips a week, no more.
🏙️ A city that remembers Finished sessions raise buildings. Surrendering, tampering or bypassing cracks or levels them.
🚪 A way out, never a lockout Surrender takes 10 minutes, sessions cap at 6 hours, and TTY root always works.
What it holds up against
You try DeepWork
Close the app or kill the daemon Rules stay in place; the daemon restarts
Reboot or suspend Session resumes; time only counts while awake
dig @8.8.8.8, DoH, QUIC Redirected, dropped, or forced back to TCP
sudo nft flush ruleset Repaired within a second, and it costs you
sudo / pkexec mid-session Denied until the session ends
Loosen the config Waits 24 hours; tightening is instant

Full threat model: docs/ARCHITECTURE.md.

Tour

A focus session in progress Surrendering: the building under construction is about to collapse
In session. Each one raises a building. Surrender. Ten minutes to change your mind.
A metropolis after 260 focused hours Close-up of damaged buildings and rubble
260 hours in. A metropolis. What giving in costs. Cracks and rubble.
Stats: focused time per day, completed and surrendered sessions Site lists, with a loosening change waiting 24 hours
Stats. Every session, kept or quit. Site lists. Loosening them waits a day.

Quick start

curl -fsSL https://deepwork.sagyamthapa.com.np/get.sh | sh
deepwork start 50m

The script picks the right package for your distribution from the latest release and starts the daemon. Rather do it by hand? Download the .deb, .rpm or Arch package from there, or build from source (Development).

Requires
OS Linux with systemd: Debian 12+, Ubuntu 22.04+, Fedora, openSUSE, Arch (x86_64, aarch64)
Kernel nftables, tc/netem
DNS systemd-resolved (works with DNS-over-TLS) or plain /etc/resolv.conf

Docs

  • Architecture: how enforcement works, threat model, safety rails
  • The game: coins, needs, blueprints, what giving in costs
  • The app: the window and the 3D city
  • Development: building without root, mock UI, CLI, releases
  • Roadmap: what's next
  • Design language: fonts, colours and components shared with the site, light and dark
  • Contributing · Security · Code of conduct
MIT · Created in T3 Code

About

Focus sessions for Linux that throttle distractions at the network layer

deepwork.sagyamthapa.com.np/

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.