An open API service indexing awesome lists of open source software.

https://github.com/kenpusney/gotrack

simple-track in Go
https://github.com/kenpusney/gotrack

Last synced: 3 months ago
JSON representation

simple-track in Go

Awesome Lists containing this project

README

          

# KANA

Kana is a golang implementation of https://github.com/kenpusney/simple-analytics .

### Usage:

Build and run the server (see following section), and just include following script in
your website.

```html

```

Replace the host and `id` param with your self id, and then every request will hit on
on this analytics server.

You can retrieve collected analytics data via report.php by using following 3 params:
```
/report.php?limit=100&skip=0
```

For each of these params:
- `limit`: the amounts you want to retrieve, default: 20.
- `skip`: the offsite you want to skip.

### Up and Running

Simply using following script to get an executable
```
export GOPATH=`pwd`
go get github.com/kenpusney/kana
```
the `kana` executable will be in your `./bin` path.

Move the template file `ka.js.tmpl` and config file `conf.json` to same directory,
then the server will be up and running now.