vbrandl / hoc

Generate Hits-of-Code badges for GitHub repositories

Home Page:https://hitsofcode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for projects hosted on sourcehut (sr.ht)

tsdh opened this issue · comments

Some testing suggests that hitsofcode.com supports projects hosted on github, gitlab, and bitbucket but not my project's which are on sourcehut. At least, when specifying a repository path such as https://hitsofcode.com/sourcehut/~tsdh/swayr or https://hitsofcode.com/srht/~tsdh/swayr, I get 404 page not foun.

The actual repository is https://git.sr.ht/~tsdh/swayr.

Sorry for the late reply. I just added Sourcehut as a supported service in https://github.com/vbrandl/hoc/releases/tag/v0.18.0

The overview page for your sourcehut repo is here: https://hitsofcode.com/sourcehut/~tsdh/swayr/view?branch=main

And here is the badge:

Hits-of-Code

Thanks a lot!