lastseen-go

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2018 License: MIT Imports: 15 Imported by: 0

README

About lastseen-go

Build Status

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
  1. run lastseen-go -config
  2. 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...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL