Skip to content

alxkolm/go-selftop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This tool listen for user activity throughout xrecord-echo and store user activity to database.

It records keys, clicks, mouse move, windows titles and processes. Than this data will be visualized by php-selftop.

Install

Prerequisites

Clone and run:

go get github.com/gdamore/mangos github.com/mitchellh/go-homedir github.com/mattn/go-sqlite3
go build -o selftop

Using docker image to compile

docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1 /bin/bash -c "go get -d -v; go build -v -o selftop"

Run

Just run executable:

./selftop

But I recommend use supervisor like runit to manage process (run on system startup and restart on crash).

Setup systemd

cp selftop.service ~/.config/systemd/user
systemctl --user enable selftop.service
systemctl --user start selftop.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages