Commit Graph

15 Commits

Author SHA1 Message Date
Valentin Brandl
558137e2ee Allow customization of the badge label 2023-01-16 09:54:04 +01:00
Valentin Brandl
dbbbdad3fa
Allow providing a branch name in generator 2022-08-18 14:07:07 +02:00
Valentin Brandl
44d47b1d5f Implement badges for sourcehut 2021-09-03 11:44:22 +02:00
Valentin Brandl
62c80a81de Change link to gpg key 2021-06-10 12:10:00 +02:00
Valentin Brandl
14cd21dc1c Make paths consistent
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-24 19:13:08 +01:00
Valentin Brandl
8e78d13443 Make full base URL configurable 2020-11-24 19:06:42 +01:00
Valentin Brandl
c9a54eda49 Allow requesting badges for branches != master
This changed the cache structure to allow caching data for multiple
branches. The service still assumes a default branch named `master` but
using the `branch` get parameter, the default branch can be changed.

The 404 page for the missing `master` branch was changed to explain the
new parameter.
2020-07-20 20:14:22 +02:00
Valentin Brandl
c5bbd14a05
Update documentation for the JSON endpoint 2019-07-07 13:36:14 +02:00
Valentin Brandl
21243e6cfb
Document JSON endpoint on index page 2019-06-16 15:00:46 +02:00
Valentin Brandl
60dc242e5a
Add repo count to templates 2019-06-12 21:50:45 +02:00
Valentin Brandl
d6835b96de
Refactor into smaller modules 2019-05-14 01:11:39 +02:00
Valentin Brandl
eb0ee4b31d
Add generator and result page 2019-05-04 15:38:00 +02:00
Valentin Brandl
1f807a14fb
Use version info struct 2019-04-30 14:20:11 +02:00
Valentin Brandl
8d7f696dea
Make domain name configurable
The domain name can be set using the `--domain` or `-d` flags. It
defaults to `hitsofocode.com`.

Also the CLI options are now parsed inside a lazy_static context to be
available for the templates.
2019-04-23 22:50:51 +02:00
Valentin Brandl
3990ea0a12
Add templates 2019-04-23 18:19:54 +02:00