Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/terenceponce/site_analytics


https://github.com/terenceponce/site_analytics

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Site Analytics

[![gh-actions](https://github.com/terenceponce/site_analytics/workflows/Continuous%20Integration/badge.svg)](https://github.com/terenceponce/site_analytics/actions?workflow=Continuous+Integration)
[![Coverage Status](https://coveralls.io/repos/github/terenceponce/site_analytics/badge.svg?branch=master)](https://coveralls.io/github/terenceponce/site_analytics?branch=master)

This tool processes data from a log file and shows information about a site's analytics.

## How to use

Get the code first:

```
git clone [email protected]:terenceponce/site_analytics.git
cd site_analytics
bundle install
```

Afterwards, just run the executable inside the `bin/` directory and select the file to process like so:

```
bin/analytics webserver.log
```

## Features/Things To Do

- [x] Basic Parsing and Presentation
- [x] Using a database to collect the parsed data
- [x] Sort pages according to number of views
- [x] Show number of unique visits
- [ ] Show better error messages
- [ ] Add more tests for other failure scenarios