Skip to content

selfspy

Desktop daemon that logs your computer activity into an encrypted local database

Copyleft (OSI) · GPL-3.0

Listed by , founder & editor

11

Health

Dormant

Overview

Stars

2,501

Last commit

11 years ago

Feb 2016

Repository age

14 years

since Mar 2012

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

Python

Selfspy is a background daemon for Linux and X11, macOS, and Windows. It continuously records what you do on your computer and stores it in an encrypted database. You can then pull statistics and reminders from that data. It was inspired by the Quantified Self movement and Stephen Wolfram's personal logging.

It is written in Python and was tested with Python 2.7. You run it with the selfspy command, and a selfstats command reads the data back. Command-line options set a config file, data directory, and password. Installation is manual: clone the repository, run setup.py, or use the Makefile or an AUR package on Arch Linux. Linux needs python-xlib and Tkinter, and macOS needs accessibility access enabled.

All data stays on your machine, unlike hosted time trackers. The project has not had a commit since 2016, and it relies on Python 2.7 libraries.

Who it's for

Quantified Self hobbyists

It records keystroke and activity data locally for your own analysis.

Skip if: you need a maintained tool that runs on current Python.

Privacy-minded people who want local-only tracking

Data goes to an encrypted database on your own computer.

Skip if: you want team reports or project and client billing.

The problem it solves

Cloud time trackers send your activity to someone else's server. Selfspy lets you log your own computer use locally and look at it later.

Strengths

  • Runs on Linux/X11, macOS, and Windows
  • Stores data in an encrypted database
  • GPL-3.0 licensed, with a command-line stats tool
  • Activity data stays on your own machine

Trade-offs

  • Dormant since 2016 with no recent contributors
  • Tested only with Python 2.7
  • Manual install with tricky dependencies such as python-xlib and pyHook
  • No project tracking, invoicing, or team features

Self-host selfspy

Self-hostable
No (desktop or local app)

Quick start

python setup.py install

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is open source under GPL-3.0.

Which platforms does it support?

Unix with X11, macOS, and Windows.

Is my data encrypted?

Yes. Selfspy stores activity in an encrypted database protected by a password.

Does it work with Python 3?

It was only tested with Python 2.7.

Similar tools in Time tracking software

TimeTagger

Time tracking software

Self-hosted web time tracker for freelancers, built around an interactive timeline

1.8k 173 8 days ago Active GPL-3.0

Ziit

Time tracking software

Self-hosted coding time tracker with a WakaTime-style dashboard for VS Code and JetBrains

261 13 today Active AGPL-3.0

Hamster

Time tracking software

Desktop time tracker for GNOME users who log their own daily activities

1.1k 261 8 months ago Dormant GPL-3.0

Simple Time Tracker

Time tracking software

Android time tracker with timers, goals and Pomodoro, plus a Wear OS app

1.3k 149 2 days ago Active GPL-3.0

Furtherance

Time tracking software

395 31 2 months ago Slowing GPL-3.0

Time Cop

Time tracking software

890 172 3 months ago Dormant Apache-2.0