<commit_before># Speedtests
Keep track of your internet speed over time.

![alt tag](preview.png)

## Requirements
Webserver with PHP 5+

## Usage
### Visualize log data of speed tests
- Clone repository to webserver
- Open web app in browser (e.g. http://example.com/speedtests)
- To remove the example entries delete or empty file "log.csv"

### Log speed tests (automatically)
Create a cron job which logs internet speed records to "log.csv" in this repository (gets created automatically, if it does not exist already) in the following format:

`<YYYY-MM-DD HH:MM:SS>,<Ping_in_ms>,<Download_Speed_in_Mbit/s>,<Upload_Speed_in_Mbit/s>`

e.g. `2015-01-15 05:40:32,39.991,65.34,6.61`

## TODO
- Show chart's y-axis values in intervals of 5 (0, 5, 10, 15, ...)

## External resources
- [morris.js](http://morrisjs.github.io/morris.js) ([Github](https://github.com/morrisjs/morris.js))
- [Raphaël](http://raphaeljs.com)
- [jQuery](http://jquery.com/) ([Github](https://github.com/jquery/jquery))
- [Add To Homescreen](http://cubiq.org/add-to-home-screen) ([Github](https://github.com/cubiq/add-to-homescreen))

## License
The MIT License (MIT)<commit_msg>Actually add reference to speedtest-cli tool<commit_after># Speedtests
Keep track of your internet speed over time.

![alt tag](preview.png)

## Requirements
Webserver with PHP 5+

## Usage
### Visualize log data of speed tests
- Clone repository to webserver
- Open web app in browser (e.g. http://example.com/speedtests)
- To remove the example entries delete or empty file "log.csv"

### Log speed tests (automatically)
Create a cron job which logs internet speed records to "log.csv" in this repository (gets created automatically, if it does not exist already) in the following format:

`<YYYY-MM-DD HH:MM:SS>,<Ping_in_ms>,<Download_Speed_in_Mbit/s>,<Upload_Speed_in_Mbit/s>`

e.g. `2015-01-15 05:40:32,39.991,65.34,6.61`

#### speedtest-cli (+ run-and-log.sh)
[This tool](https://github.com/dag0310/speedtest-cli) will do the logging for you in the format mentioned above. The README of it explains how to set up the cron job.

## TODO
- Show chart's y-axis values in intervals of 5 (0, 5, 10, 15, ...)

## External resources
- [morris.js](http://morrisjs.github.io/morris.js) ([Github](https://github.com/morrisjs/morris.js))
- [Raphaël](http://raphaeljs.com)
- [jQuery](http://jquery.com/) ([Github](https://github.com/jquery/jquery))
- [Add To Homescreen](http://cubiq.org/add-to-home-screen) ([Github](https://github.com/cubiq/add-to-homescreen))

## License
The MIT License (MIT)
{'fraction_non_alphanumeric': 0.15375540699960677, 'fraction_numerical': 0.028313016122689737, 'mean_word_length': 4.518438177874186, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028740', 'n_tokens_mistral': 937, 'n_tokens_neox': 865, 'n_words': 251}