Skip to content

Commit 63c2d6c

Browse files
committed
docs: improvements to stats page, added android installs, added badges, centered elements
1 parent b216956 commit 63c2d6c

File tree

2 files changed

+128
-20
lines changed

2 files changed

+128
-20
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ img/stats: stats
5656
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column downloads --per-day --save ../img/stats/downloads.png
5757
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Chrome WAU' --title 'Chrome Weekly Active Users' --save ../img/stats/chrome-wau.png
5858
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Firefox DAU' --resample 7D --title 'Firefox Daily Active Users (7D mean)' --save ../img/stats/firefox-dau-7d.png
59+
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Android installed devices' --title 'Android Installed Devices' --save ../img/stats/android-devices.png

stats.pug

Lines changed: 127 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,137 @@ p Some stats of ActivityWatch downloads, users, and stars.
1111

1212
p All data is collected in the #[a(href="https://github.com/ActivityWatch/stats") stats] repository.
1313

14-
hr
14+
hr.my-5
1515

16-
h3 Downloads
17-
p
18-
| Download statistics for releases, updated every 24h.
19-
div.img-center
20-
img.width-500(src="/img/stats/downloads.png")
16+
div.text-center
17+
h3 Downloads
18+
p
19+
| Download statistics for releases
20+
div.img-center
21+
img.width-500(src="/img/stats/downloads.png")
22+
div.small (Updated every 24 hours)
2123

22-
hr
24+
hr.my-5
2325

24-
h3 Active users
25-
p
26-
| How many people are using the aw-watcher-web extension in Chrome or Firefox. Updated manually on an irregular basis.
27-
div.img-center
28-
img.width-500(src="/img/stats/chrome-wau.png")
29-
img.width-500(src="/img/stats/firefox-dau-7d.png")
26+
div.text-center
27+
h3 Active users
28+
p
29+
| Metrics of how many active users there are
3030

31-
hr
31+
h4.mt-5 Web extensions
32+
p
33+
| How many people are using the aw-watcher-web extension
34+
br
35+
div.img-center
36+
img.width-500(src="/img/stats/chrome-wau.png")
37+
img.width-500(src="/img/stats/firefox-dau-7d.png")
38+
div.small (Updated manually on an irregular basis)
3239

33-
h3 Stargazers over time
34-
a(href="https://starchart.cc/ActivityWatch/activitywatch")
35-
img(title="Stargazers over time" src="https://starchart.cc/ActivityWatch/activitywatch.svg" width="100%")
40+
h4.mt-5 Android app
41+
p
42+
| How many active installations there are of the Android app
43+
div.img-center
44+
img.width-500(src="/img/stats/android-devices.png")
45+
div.small (Updated manually on an irregular basis)
3646

37-
hr
47+
hr.my-5
3848

39-
p
40-
small Want more statistics? Check out the #[a(href="/contributors/") contributor stats].
49+
div.text-center
50+
h3 Stargazers
51+
p
52+
| How many people have starred the ActivityWatch repository on GitHub
53+
div.img-center
54+
a(href="https://starchart.cc/ActivityWatch/activitywatch")
55+
img.width-700(title="Stargazers over time" src="https://starchart.cc/ActivityWatch/activitywatch.svg")
56+
div.small
57+
| Provided by starchart.cc
58+
59+
hr.my-5
60+
61+
h3.text-center Ratings
62+
div.row.text-center
63+
div.col-12.img-center.mb-4.mt-2
64+
h6 Product Hunt
65+
a(href="https://www.producthunt.com/products/activitywatch/reviews?utm_source=badge-product_rating&utm_medium=badge&utm_souce=badge-activitywatch" target="_blank")
66+
img(src="https://api.producthunt.com/widgets/embed-image/v1/product_rating.svg?product_id=112754&theme=neutral" alt="ActivityWatch - Open-source time tracker | Product Hunt")
67+
68+
div.col-sm-4
69+
h6 Arch Linux (AUR)
70+
p
71+
a(href="https://aur.archlinux.org/packages/activitywatch-bin/")
72+
img(src="https://img.shields.io/aur/votes/activitywatch-bin?logo=arch-linux")
73+
74+
div.col-sm-4
75+
h6 aw-watcher-web
76+
p
77+
a(href="https://chromewebstore.google.com/detail/activitywatch-web-watcher/nglaklhklhcoonedhgnpgddginnjdadi")
78+
img(alt="Chrome Web Store" src="https://img.shields.io/chrome-web-store/rating/nglaklhklhcoonedhgnpgddginnjdadi?logo=googlechrome")
79+
br
80+
a(href="https://addons.mozilla.org/en-US/firefox/addon/aw-watcher-web/")
81+
img(src="https://img.shields.io/amo/rating/aw-watcher-web?logo=firefox")
82+
83+
div.col-sm-4
84+
h6 aw-watcher-vscode
85+
p.my-0
86+
div.small Visual Studio Marketplace
87+
a(href="https://marketplace.visualstudio.com/items?itemName=activitywatch.aw-watcher-vscode")
88+
img(alt="Visual Studio Marketplace Rating (Stars)" src="https://img.shields.io/visual-studio-marketplace/stars/activitywatch.aw-watcher-vscode?logo=visual-studio-code")
89+
p.my-0
90+
div.small Open-VSX
91+
a(href="https://open-vsx.org/extension/ActivityWatch/aw-watcher-vscode")
92+
img(src="https://img.shields.io/open-vsx/rating/ActivityWatch/aw-watcher-vscode?logo=visual-studio-code")
93+
//br
94+
//a(href="https://open-vsx.org/extension/ActivityWatch/aw-watcher-vscode")
95+
img(src="https://img.shields.io/open-vsx/dt/ActivityWatch/aw-watcher-vscode?logo=visual-studio-code")
96+
97+
hr.my-5
98+
99+
h3.text-center Donations
100+
div.row.text-center
101+
div.col-sm-4
102+
h6 OpenCollective
103+
p
104+
//div
105+
a(href="https://opencollective.com/activitywatch")
106+
img(src="https://opencollective.com/activitywatch/tiers/backer.svg?avatarHeight=36")
107+
a(href="https://opencollective.com/activitywatch")
108+
img(src="https://img.shields.io/opencollective/all/activitywatch?logo=opencollective")
109+
110+
div.col-sm-4
111+
h6 GitHub Sponsors
112+
p
113+
a(href="https://github.com/sponsors/activitywatch")
114+
img(src="https://img.shields.io/github/sponsors/activitywatch?logo=github")
115+
116+
div.col-sm-4
117+
h6 Liberapay
118+
p
119+
a(href="https://liberapay.com/ActivityWatch/")
120+
img(src="https://img.shields.io/liberapay/receives/ActivityWatch.svg?logo=liberapay")
121+
122+
hr.my-5
123+
124+
h3.text-center Social
125+
div.row.text-center
126+
div.col-sm-4
127+
h6 Discord
128+
p
129+
a(href="https://discord.gg/vDskV9q")
130+
img(alt="Discord" src="https://img.shields.io/discord/755040852727955476?logo=discord")
131+
132+
div.col-sm-4
133+
h6 GitHub stars #[span.small (all repos)]
134+
p
135+
img(src="https://img.shields.io/github/stars/ActivityWatch?logo=github")
136+
137+
div.col-sm-4
138+
h6 Reddit
139+
p
140+
a(href="https://www.reddit.com/r/activitywatch/")
141+
img(src="https://img.shields.io/reddit/subreddit-subscribers/activitywatch?color=green&logo=reddit")
142+
143+
hr.my-5
144+
145+
div.text-center
146+
p
147+
small Want more statistics? Check out the #[a(href="/contributors/") contributor stats].

0 commit comments

Comments
 (0)