Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terenceponce/site_analytics
https://github.com/terenceponce/site_analytics
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/terenceponce/site_analytics
- Owner: terenceponce
- Created: 2021-10-27T13:13:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T16:15:17.000Z (about 3 years ago)
- Last Synced: 2023-03-28T23:38:57.859Z (almost 2 years ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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