ZegnatI actually couldn’t figure out how to make the information available in a logical way, which is why I don’t have it on my h-card even though I have some other really fringe stuff
[shurcool]to be clear, I like github as a product, it's great. I use it. but I think hosting git repos on one one's site (if done well) can be _even cooler_ and I'm curious how many have tried to do that
Zegnatvivus, what difference are you seeing between hCard and h-card? I don’t know of many. I would stick to h-card, and if there are hCard properties that you need, port them over.
[shurcool]I wouldn't completely say I'm doing it already, but I'm starting to/working on it pretty actively right now. it feels super cool. but I have lots to do before the user experience is not compromised compared to a repo being on github.
vivus[shurcool]: there was a project (p2p based) where git repos were hosted in this shared-p2p-hosting structure. I forgot its name. I think #scuttlebutt
[shurcool]I already have an indieweb-compatible issue tracker that's good enough to cover most use cases. what I need to build next is a code review tool (ala Gerrit or GitHub's pull requests) so it's possible to contribute. first step, only I will be able to git push, but obviously I want to eventually make it as open as on github. then I can start to put more repos on my own site rather than on github.
[shurcool]that's a reasonable suggestion, but I don't want to use an off-the-shelf git host, I want to build my own and do some custom things with it (after the basic functionality is there).
[shurcool]if anyone's curious, this is the repo. it's a Go package with a vanity import path, on my personal site. the git repo has the same https:// clone url.
Zegnatvivus: I am not sure what resources you mean. h-card is just a way of adding semantics to HTML and making it easier to parse for information. If you already have HTML pages for people, and you are adding h-card, and then parse that on a different end, you are making full use of what is there in microformats. If you are missing a property, introduce
[shurcool]it's a really small package I pretty much specifically created to start testing this. all of my real code is still on github (as can be seen at https://dmitri.shuralyov.com/packages)
vivusoh. missed that part. well I don't want to make this seem rude, but have you heard of NIH? Unless your goal is to learn, this may be a waste of your valuable time to do
ZegnatBeing able to just clone that URL is awesome [shurcool]! The URL identifies the package well, as it can display documentation and stuff, on your own site, but also function as the repo identifier. Not sure I have seen that done before.
[shurcool]my next step is to add support for git pushing, and parse the events so they'll appear on the activity stream at https://dmitri.shuralyov.com/ (e.g., when I push new commits to it, create/delete branch, etc.)
[shurcool]thanks. it's a fun challenge. but it's also not as hard as I initially thought it'd be. I'm using the `git` binaries and just shelling out to them to implement the (pretty simple) git transport protocol. it was 85~ loc just for git fetch support. git push is another 75 + some code to do auth
[shurcool]nim seems quite cool (although it's not very clear to me who's sponsoring it, working on it, using it in production). If I weren't already very satisfied with Go, I'd be considering it closely ?
LoqiJust generated this week's newsletter! You still have a few minutes to make changes, and I'll re-generate it 10 minutes before it gets sent out at 3pm Pacific time. https://indieweb.org/this-week/2017-09-15.html