Skip to content

Commit 914e199

Browse files
committed
Initial Commit
0 parents  commit 914e199

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1695
-0
lines changed

.gitignore

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
2+
# Created by https://www.gitignore.io/api/windows,osx,linux,python,jekyll,sass
3+
4+
### Windows ###
5+
# Windows image file caches
6+
Thumbs.db
7+
ehthumbs.db
8+
9+
# Folder config file
10+
Desktop.ini
11+
12+
# Recycle Bin used on file shares
13+
$RECYCLE.BIN/
14+
15+
# Windows Installer files
16+
*.cab
17+
*.msi
18+
*.msm
19+
*.msp
20+
21+
# Windows shortcuts
22+
*.lnk
23+
24+
25+
### OSX ###
26+
.DS_Store
27+
.AppleDouble
28+
.LSOverride
29+
30+
# Icon must end with two \r
31+
Icon
32+
33+
# Thumbnails
34+
._*
35+
36+
# Files that might appear in the root of a volume
37+
.DocumentRevisions-V100
38+
.fseventsd
39+
.Spotlight-V100
40+
.TemporaryItems
41+
.Trashes
42+
.VolumeIcon.icns
43+
44+
# Directories potentially created on remote AFP share
45+
.AppleDB
46+
.AppleDesktop
47+
Network Trash Folder
48+
Temporary Items
49+
.apdisk
50+
51+
52+
### Linux ###
53+
*~
54+
55+
# KDE directory preferences
56+
.directory
57+
58+
# Linux trash folder which might appear on any partition or disk
59+
.Trash-*
60+
61+
62+
### Python ###
63+
# Byte-compiled / optimized / DLL files
64+
__pycache__/
65+
*.py[cod]
66+
*$py.class
67+
68+
# C extensions
69+
*.so
70+
71+
# Distribution / packaging
72+
.Python
73+
env/
74+
build/
75+
develop-eggs/
76+
dist/
77+
downloads/
78+
eggs/
79+
.eggs/
80+
lib/
81+
lib64/
82+
parts/
83+
sdist/
84+
var/
85+
*.egg-info/
86+
.installed.cfg
87+
*.egg
88+
89+
# PyInstaller
90+
# Usually these files are written by a python script from a template
91+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
92+
*.manifest
93+
*.spec
94+
95+
# Installer logs
96+
pip-log.txt
97+
pip-delete-this-directory.txt
98+
99+
# Unit test / coverage reports
100+
htmlcov/
101+
.tox/
102+
.coverage
103+
.coverage.*
104+
.cache
105+
nosetests.xml
106+
coverage.xml
107+
*,cover
108+
.hypothesis/
109+
110+
# Translations
111+
*.mo
112+
*.pot
113+
114+
# Django stuff:
115+
*.log
116+
117+
# Sphinx documentation
118+
docs/_build/
119+
120+
# PyBuilder
121+
target/
122+
123+
124+
### Jekyll ###
125+
_site/
126+
.sass-cache/
127+
.jekyll-metadata
128+
129+
130+
### Sass ###
131+
.sass-cache/
132+
*.css.map
133+

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stats.ircdocs.horse

README.rst

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
IRC Statistics
2+
==============
3+
These are a bunch of IRC statistics.
4+
5+
This site is in a very early state and will change as the grabber and the display of the stats is improved.

_config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Files/Folders to exclude from the final output
2+
exclude:
3+
- config.rb
4+
- .sass-cache
5+
6+
permalink: none
7+
8+
highlighter: pygments
9+
markdown: rdiscount

_data/clientcaps.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"PrettyTime":"Tuesday, 01-Mar-16 18:37:58 EST","Timestamp":"2016-03-01T18:37:58-05:00","Connections":327,"SupportedCaps":219,"SortedCapabilities":["echo-message","identify-msg","uhnames","inspircd.org/replay-message","chghost","invite-notify","cap-notify","extended-join","sasl","tls","away-notify","account-notify","userhost-in-names","multi-prefix"],"Capabilities":{"account-notify":{"Count":169,"Supported":77.1689497716895,"Values":{},"NoValue":{"Count":169,"Supported":100},"AllInts":false,"ValuesHidden":false},"away-notify":{"Count":167,"Supported":76.25570776255708,"Values":{},"NoValue":{"Count":167,"Supported":100},"AllInts":false,"ValuesHidden":false},"cap-notify":{"Count":10,"Supported":4.5662100456621,"Values":{},"NoValue":{"Count":10,"Supported":100},"AllInts":false,"ValuesHidden":false},"chghost":{"Count":4,"Supported":1.82648401826484,"Values":{},"NoValue":{"Count":4,"Supported":100},"AllInts":false,"ValuesHidden":false},"echo-message":{"Count":1,"Supported":0.45662100456621,"Values":{},"NoValue":{"Count":1,"Supported":100},"AllInts":false,"ValuesHidden":false},"extended-join":{"Count":59,"Supported":26.94063926940639,"Values":{},"NoValue":{"Count":59,"Supported":100},"AllInts":false,"ValuesHidden":false},"identify-msg":{"Count":1,"Supported":0.45662100456621,"Values":{},"NoValue":{"Count":1,"Supported":100},"AllInts":false,"ValuesHidden":false},"inspircd.org/replay-message":{"Count":3,"Supported":1.36986301369863,"Values":{},"NoValue":{"Count":3,"Supported":100},"AllInts":false,"ValuesHidden":false},"invite-notify":{"Count":7,"Supported":3.1963470319634704,"Values":{},"NoValue":{"Count":7,"Supported":100},"AllInts":false,"ValuesHidden":false},"multi-prefix":{"Count":212,"Supported":96.80365296803653,"Values":{},"NoValue":{"Count":212,"Supported":100},"AllInts":false,"ValuesHidden":false},"sasl":{"Count":77,"Supported":35.15981735159817,"Values":{},"NoValue":{"Count":77,"Supported":100},"AllInts":false,"ValuesHidden":false},"tls":{"Count":158,"Supported":72.14611872146118,"Values":{},"NoValue":{"Count":158,"Supported":100},"AllInts":false,"ValuesHidden":false},"uhnames":{"Count":1,"Supported":0.45662100456621,"Values":{},"NoValue":{"Count":1,"Supported":100},"AllInts":false,"ValuesHidden":false},"userhost-in-names":{"Count":171,"Supported":78.08219178082192,"Values":{},"NoValue":{"Count":171,"Supported":100},"AllInts":false,"ValuesHidden":false}}}

_data/isupport.yaml

+2
Large diffs are not rendered by default.

_data/ssltls.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"PrettyTime":"Tuesday, 01-Mar-16 18:37:58 EST","Timestamp":"2016-03-01T18:37:58-05:00","Connections":226,"Verified":101,"PortColors":{"16666":"#61a9f2","6000":"#f2e061","6667":"#73f261","6668":"#aaf261","6669":"#f28661","6670":"#61e1f2","6697":"#f2a861","7001":"#7261f2","9999":"#61f2a9"},"Ports":{"16666":1,"6000":1,"6667":1,"6668":1,"6669":1,"6670":6,"6697":208,"7001":1,"9999":6},"PortCheckOrder":[6697,9999,6670]}

_includes/supportclass.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
support-{% if percentage > 85 %}high{% elsif percentage > 70 %}medium-high{% elsif percentage > 35 %}medium{% elsif percentage > 20 %}medium-low{% else %}low{% endif %}

_layouts/default.html

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
3+
<head>
4+
<title>{{ page.title }}</title>
5+
6+
<!-- Homepage CSS -->
7+
<!-- <link href="/css/fonts.css" rel="stylesheet" type="text/css" /> -->
8+
<link href="/css/font-awesome.min.css" media="screen, projection" rel="stylesheet" type="text/css" />
9+
<link href="/css/pure-min.css" media="screen, projection" rel="stylesheet" type="text/css" />
10+
<link href="/css/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
11+
<!-- <link href="/css/print.css" media="print" rel="stylesheet" type="text/css" /> -->
12+
13+
<script src="/js/jquery-2.2.1.min.js" type="text/javascript"></script>
14+
<script src="/js/chart.min.js" type="text/javascript"></script>
15+
16+
<meta charset='utf-8'>
17+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
18+
19+
<!-- http://realfavicongenerator.net \o/ -->
20+
<link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png">
21+
<link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-touch-icon-60x60.png">
22+
<link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-touch-icon-72x72.png">
23+
<link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-touch-icon-76x76.png">
24+
<link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-touch-icon-114x114.png">
25+
<link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-touch-icon-120x120.png">
26+
<link rel="apple-touch-icon" sizes="144x144" href="/favicons/apple-touch-icon-144x144.png">
27+
<link rel="apple-touch-icon" sizes="152x152" href="/favicons/apple-touch-icon-152x152.png">
28+
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon-180x180.png">
29+
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
30+
<link rel="icon" type="image/png" href="/favicons/android-chrome-192x192.png" sizes="192x192">
31+
<link rel="icon" type="image/png" href="/favicons/favicon-96x96.png" sizes="96x96">
32+
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
33+
<link rel="manifest" href="/favicons/manifest.json">
34+
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#5bbad5">
35+
<link rel="shortcut icon" href="/favicons/favicon.ico">
36+
<meta name="apple-mobile-web-app-title" content="stats.ircdocs.horse">
37+
<meta name="application-name" content="stats.ircdocs.horse">
38+
<meta name="msapplication-TileColor" content="#da532c">
39+
<meta name="msapplication-TileImage" content="/favicons/mstile-144x144.png">
40+
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
41+
<meta name="theme-color" content="#444455">
42+
</head>
43+
<body>
44+
<div id="wrapper">
45+
<div id="nav"><div>
46+
<nav>
47+
<a href="/" class="wordmark" title="stats.ircdocs.horse">stats</a>
48+
<a href="/ssl-tls" title="SSL/TLS Details"><i class="fa fa-key"></i> ssl/tls</a>
49+
<a href="/isupport" title="RPL_ISUPPORT Tokens"><i class="fa fa-bars"></i> <code>rpl_isupport</code></a>
50+
<a href="/client-caps" title="Client Capabilities"><i class="fa fa-toggle-on"></i> capabilities</a>
51+
</nav>
52+
</div></div>
53+
<div id="content">
54+
{{ content }}
55+
</div>
56+
</div>
57+
<div id="footer">
58+
<a href="/">stats.ircdocs.horse</a> &middot; <a href="https://github.com/DanielOaks/irc-stats">repo</a>
59+
<br/>
60+
<a href="http://danieloaks.net">Made by Daniel Oaks</a>
61+
</div>
62+
</body>
63+
</html>

client-caps/index.html

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
layout: default
3+
title: Client Capabilities Statistics
4+
---
5+
6+
<h1 id="logo">
7+
Client Capabilities
8+
<subtitle>
9+
stats.ircdocs.horse
10+
</subtitle>
11+
</h1>
12+
13+
<hr/>
14+
15+
<p>
16+
This is a set of statistics retrieved from various IRC networks. How many networks were queried is shown. These stats <strong>do not</strong> represent every IRC network out there, just the ones we've been able to scan.
17+
</p>
18+
<p>
19+
This site is a <strong>WORK IN PROGRESS</strong> and will be updated as the statistics collection and display is improved. These statistics <strong>should not</strong> be used in anything other than curiosity's sake at this point.
20+
</p>
21+
<p>
22+
Last Updated: {{ site.data.clientcaps.PrettyTime }}
23+
</p>
24+
<p>
25+
Networks: {{ site.data.clientcaps.Connections }}
26+
</p>
27+
28+
<hr/>
29+
30+
<h2>Capability Negotiation Support</h2>
31+
32+
<p>
33+
This counts the number of networks that supported client capability negotiation.
34+
</p>
35+
36+
<canvas id="supportedChart" style="display: block; max-width: 25rem; margin: 0 auto" width="200" height="200"></canvas>
37+
<script>
38+
var ctx = $("#supportedChart");
39+
var portPieChart = new Chart(ctx[0],{
40+
type:'doughnut',
41+
options: {
42+
cutoutPercentage: 40,
43+
},
44+
data: {
45+
labels: ["Suppored", "Not Supported"],
46+
datasets: [{
47+
data: [{{ site.data.clientcaps.SupportedCaps }}, {{ site.data.clientcaps.Connections }} - {{ site.data.clientcaps.SupportedCaps }}],
48+
backgroundColor: ["#4e5", "#e55"],
49+
}],
50+
},
51+
});
52+
</script>
53+
54+
<hr />
55+
56+
<h2>Advertised Capabilities</h2>
57+
58+
<table class="advertised">
59+
<thead>
60+
<tr>
61+
<td>Name</td>
62+
<td>Networks</td>
63+
<td>Supported</td>
64+
</tr>
65+
</thead>
66+
<tbody>
67+
{% for capname in site.data.clientcaps.SortedCapabilities reversed %}
68+
<tr>
69+
<td><a href="#cap-{{ capname | slugify }}">{{ capname }}</a></td>
70+
<td>{{ site.data.clientcaps.Capabilities[capname].Count }}</td>
71+
<td class="{% assign percentage = site.data.clientcaps.Capabilities[capname].Supported %}{% include supportclass.html %}">{{ percentage | round: 1 }}%</td>
72+
</tr>
73+
{% endfor %}
74+
</tbody>
75+
</table>
76+
77+
<h2>Capability Values</h2>
78+
79+
<div class="tokenlist">
80+
{% for cap in site.data.clientcaps.Capabilities %}
81+
{% assign capname = cap[0] %}
82+
<div id="cap-{{ capname | slugify }}" class="token">
83+
<h3>
84+
{{ capname }}
85+
<div class="support {% assign percentage = site.data.clientcaps.Capabilities[capname].Supported %}{% include supportclass.html %}">{{ percentage | round: 1 }}%</div>
86+
</h3>
87+
{% if cap[1].Values.size > 0 %}
88+
<table class="advertised">
89+
<thead>
90+
<tr>
91+
<td>Value</td>
92+
<td>Networks</td>
93+
<td>Supported</td>
94+
</tr>
95+
</thead>
96+
<tbody>
97+
</tbody>
98+
</table>
99+
{% else %}
100+
No Values Advertised
101+
{% endif %}
102+
</div>
103+
{% endfor %}
104+
</div>

css/font-awesome.min.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/pure-min.css

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)