About lastseen-go

A client written in go for lastseen.me.
Currently it only runs on the architectures below
You'll need an account to run this, so register - be sure to note the email/password used
Installation
Binaries
linux 386 /
amd64 /
arm /
arm64
Download the proper one for your system and put it somewhere in your PATH
Via Go
$ go get github.com/jessedp/lastseen-go
$ cd to source
$ make install
Usage
Usage of ./lastseen-go:
-config
setup the client for use
-daemon string
send signal to the daemon to:
start — run/watch in background (runs update on startup)
quit — graceful shutdown
stop — fast shutdown
reload — reloading the configuration file
-debug
turn on debugging
-run
run the client once
Make it easy on your self and place the binary in your PATH, otherwise
be sure to use the full path to it.
Configuring
- run
lastseen-go -config
- run
lastseen-go -run to make sure it works
Set it and leave it
Add <path_to_bin>/lastseen-go -daemon start to something that runs
at start-up (e.g. your .bashrc)
- each time it runs it immediately updates the site
- if you have DBus, every time the screen is unlocked, it will
update the site
needless to this to say, running this via a cron job defeats the purpose
Todos
- get it to compile without dbus
- see about consistent logging format in the daemon
- swap out
flag package for something else (docopt, go-flags?)
Thanks to...