{ "@context":"https://www.w3.org/ns/activitystreams", "type":"Collection", "id":"https://social.jayvii.de/objects/QBDVhhhtGXk/thread", "items":[ { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-06-06T20:24:36.339Z", "attributedTo":"https://social.jayvii.de/actors/jayvii", "replies":"https://social.jayvii.de/objects/QBDVhhhtGXk/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://social.jayvii.de/actors/jayvii/followers"], "content":"
Wrote a simple #bash script that generates a #GitHub-style activity graph for my #stagit server under https://src.jayvii.de
I think it worked out quite nicely. Works quite well both in bright and dark themes :)
In case you want to try it or have suggestions how to improve it, please let me know: https://src.jayvii.de/pub/git_activity
Oh, before I forget: It even works quite nicely on mobile, as the boxes are actually just a Unicode glyph of a black box \"U+25A0\". So normal text-wrapping works just fine.
Also added some tiny seperator between the individual years with a simple CSS fuzzy match:
/* Add year separators between points */\r\nspan[id*=\"-12\"].activitypoint:after {\r\n content:\"\\007C\";\r\n}
The result is minor, but I think it still helps!