Projects Blog Tools Music Contact
← All Posts
Remote Work October 27, 2026

Forgot to Stop Hubstaff? See What It Captures Locally

By: Evgeny Padezhnov

Illustration for: Forgot to Stop Hubstaff? See What It Captures Locally

A timer that keeps running after work ends records more than hours.

Hubstaff is built for remote teams. Managers can turn on screenshots, app and URL tracking, and activity levels. All of it runs only while the timer is on. So the timer is the whole privacy boundary. Forget to stop it, and lunch, a personal email, or a banking tab can land in the employer's Activity view.

This post covers the problem behind a small, free, open-source companion app. It notices when Hubstaff runs while nobody works, and it keeps a local record of what the screen showed. The sections below cover what Hubstaff actually captures, where that data goes, how the watcher works, and where the approach falls short.

What Hubstaff Captures While the Timer Runs

Hubstaff's own documentation is fairly explicit. The data falls into three groups.

Screenshots

According to Hubstaff's privacy-first monitoring page, managers can enable screenshots "to capture what their team is working on while the timer is running." The same page states Hubstaff never records video or webcam footage.

Screenshots show up in the Activity section of the Hubstaff app, tied to the tracked time. How Hubstaff Tracking Works says the app sends alerts as screenshots are captured. A glance at the tray icon is not enough, though. Those alerts come after the capture.

Apps and URLs

Hubstaff can collect the applications and URLs used during a session. That is optional per organization. A personal site visited with the timer on becomes part of the work record.

Keyboard and mouse activity

Hubstaff measures keyboard and mouse activity and shows it as an overall activity percentage. According to the time and activity tracking page, it "does not capture keystrokes or private content." It only checks whether input happens at all.

In plain terms: Hubstaff knows that someone typed. It does not know what they typed. Screenshots can still show the result on screen.

The same page notes that low activity can be normal. Research-heavy roles average lower rates. Writing-heavy roles score higher. A forgotten timer during a meeting at another desk will show near-zero activity. That looks bad on a report even when nothing wrong happened.

Where the Data Goes and Who Sees It

Knowing what is captured is half the picture. The other half is storage and access.

Key point: once a screenshot uploads, the employer controls it. Hubstaff's encryption protects it from outsiders. It does not protect it from the manager.

The deletion trap

Users can delete their own screenshots. Hubstaff's tracking page states the catch clearly: deleting a screenshot also deletes the tracked time for it.

Common mistake: deleting a private screenshot after the fact and losing billable minutes along with it. For hourly contractors, that is real money. Prevention costs less than cleanup.

Hubstaff also mentions a blur option for screenshots. It is an organization setting, so the user has to ask a manager. Blur reduces the damage. It does not stop the capture.

How the Local Watcher Works

The goal is narrow. Detect the "timer on, human gone" state early. Keep a private, local trace of what the screen looked like at that moment. Nothing leaves the machine.

The core loop has three checks:

  1. Is a Hubstaff process running?
  2. How long has the machine been idle?
  3. If both conditions hold past a threshold, notify and log.

Linux version

On Linux with X11, xprintidle returns idle time in milliseconds. notify-send raises a desktop notification.

#!/usr/bin/env bash
# hubstaff-watch.sh: warn when Hubstaff runs while the user is idle
IDLE_LIMIT_MS=$((10 * 60 * 1000))   # 10 minutes
LOG_DIR="$HOME/.local/share/hubstaff-watch"
mkdir -p "$LOG_DIR"

while true; do
  if pgrep -fi hubstaff >/dev/null; then
    idle=$(xprintidle)
    if [ "$idle" -gt "$IDLE_LIMIT_MS" ]; then
      ts=$(date -Iseconds)
      notify-send -u critical "Hubstaff still running" \
        "Idle for $((idle / 60000)) min"
      echo "{\"ts\":\"$ts\",\"idle_ms\":$idle}" >> "$LOG_DIR/events.jsonl"
    fi
  fi
  sleep 60
done

The log is plain JSON Lines. Developers can grep it, load it into a spreadsheet, or diff it against the Hubstaff timesheet at week's end.

macOS version

macOS exposes idle time through ioreg. The value is in nanoseconds.

idle_s=$(ioreg -c IOHIDSystem | awk '/HIDIdleTime/ {print int($NF/1000000000); exit}')
if pgrep -fi hubstaff >/dev/null && [ "$idle_s" -gt 600 ]; then
  osascript -e 'display notification "Idle with timer on" with title "Hubstaff"'
fi

Run it from launchd every minute, or wrap it in the same while loop.

Seeing what the screen showed

The title promise is "see what it captures." A local watcher cannot read Hubstaff's uploaded screenshots. Those sit in the employer's S3 storage. But it can record what the screen showed at the same moment.

On macOS, screencapture -x takes a silent screenshot. On GNOME, gnome-screenshot -f does the same. The watcher saves one frame per alert into the local log folder:

screencapture -x "$LOG_DIR/$(date +%Y%m%d-%H%M%S).png"

After that, the user can open the folder and see the risk directly. A personal chat window, a bank tab, a medical portal. If it appears in the local frame, it may appear in Hubstaff's capture too.

Common mistake: keeping those local screenshots forever. They hold the same sensitive content Hubstaff might have caught. A cleanup line fixes that:

find "$LOG_DIR" -name '*.png' -mtime +7 -delete

Seven days is enough to cross-check a weekly timesheet.

What Does Not Work (Yet)

Honest limits matter more than features here.

In practice, the false alerts are the main annoyance. A noisy watcher gets muted, and a muted watcher protects nothing. Tuning the threshold to the actual work pattern matters more than any extra feature.

Why Not Just Switch Tools?

Sometimes the employer picks the tool. Then a watcher is the only lever. When the choice is free, open-source time trackers avoid the problem from the start.

The Super Productivity roundup of open-source trackers lists several options:

None of these take screenshots by default. That is the core difference from monitoring tools. A broader look at that trade-off sits in this comparison of remote work tools and tools that track you.

Self-hosting has its own cost. Chronoid's review notes that Kimai is still "a real server application," with upgrades, backups, email setup, and user management. For a solo contractor, a local tool like Timewarrior often makes more sense.

The Same Pattern Elsewhere

The watcher follows a general pattern. Find a meter that runs in the background. Add a small local check. Alert before the cost lands.

The same idea works for AI coding tools that bill by usage. A 30-line mod that tracks and caps Claude Code cost applies the same logic to tokens instead of screenshots. A forgotten meter is a forgotten meter, whatever it measures.

If it works, it is correct. A 20-line script that fires reliably beats a polished app that nobody keeps running.

Frequently Asked Questions

How does local-first activity tracking differ from cloud-based employee monitoring?

Local-first tools keep records on the user's own device by default, and syncing is opt-in. Cloud monitoring such as Hubstaff uploads screenshots and activity data to remote storage. There the employer, as data controller, decides access and retention.

Can deleting a Hubstaff screenshot fix a forgotten timer?

Partly. Hubstaff lets users delete their own screenshots, but the tracked time for that screenshot goes too. Preventing the capture is cheaper than removing it.

Does Hubstaff record what is typed?

According to Hubstaff, no. It records whether keyboard and mouse input occurs and shows an activity percentage. Screenshots can still show typed text on screen.

What to Try Right Now

Try it: install xprintidle (Linux) or use the ioreg one-liner (macOS). Save the loop above as hubstaff-watch.sh and run it with a 10-minute threshold for one workweek. On Friday, compare events.jsonl with the Hubstaff timesheet. Every matching entry is a capture window that was open with nobody at the desk.

Information is accurate as of the publication date. Terms, prices, and regulations may change — verify with relevant professionals.

✦ Squeeze AI
  1. In Hubstaff, the timer itself is the only privacy boundary: while it runs, screenshots, app/URL use, and activity data are captured, so forgetting to stop it after work ends can record personal activity such as lunch, personal email, or banking in the employer's Activity view.
  2. Hubstaff collects three categories of data during a session: periodic screenshots, optional app and URL usage, and keyboard/mouse activity reported only as an overall input percentage rather than actual keystroke content.
  3. Activity percentage readings can be misleading on their own: research-heavy roles naturally average lower input rates than writing-heavy roles, and a timer left running during an away-from-desk meeting produces near-zero activity that appears as a problem on reports despite no actual issue.
  4. Captured data, including screenshots, is transmitted over TLS 1.2+ and stored in Amazon S3 without public access, reachable only through short-lived signed URLs, and is visible to the tracked individual, their managers, and organization owners.

Powered by B1KEY