#stagit 8 hashtags

Well, this was long overdue. A while ago already, I implemented "active menu entry marking" (the active menu item is highlighted) in my tweaks and scripts around #stagit via #javascript. This was the only JS in stagit-scripts.

Obviously, because it's all static files, this was not really necessary. So finally the active-entry marking is pre-processed now upon re-generating the #HTML files with fairly simple regex: https://src.jayvii.de/pub/stagit-scripts/commit/3a0908d57956db2c0ba114b6b9ea523aced694c0.html

Tinkering with #stagit, I am learning an awful lot about githooks that I never properly used before. This is really great!

More from my #stagit hacking (https://src.jayvii.de): Implemented a proper summary page for each repository as well as a nicer list for the "exports", i.e. archives produced by post-hooks. I am pretty happy with the results for now, I think.

Image description 1: Screenshot of the summary page of the "stagit-jayvii.de" repository showing an activity bar, short description and guidance on how to clone the repository.
Image description 2: Screenshot of the new exports page of the "stagit-jayvii.de" repository, showing a list of artifact files that have been automatically produced upon pushing to the repository. There are four files, two of which are archives. One is a full copy of source from the "main" branch, the other is a deploy-ready archive of stagit-jayvii.de. The remaining files are SHA256-sums of the archives.

My extension & adaptation quest of #stagit goes on next week! I implemented basic functionality that automate mosts common tasks a while back already. Implemented dynamic #CSS themes earlier this year and a more modern look in the past week (as well as a summary page for every repository). Next week, I want to bring the menu bar to a more modern design:

https://src.jayvii.de

Did some more #CSS hacking on my #stagit server: src.jayvii.de #git #selfhosting

The table-layout scheme used by stagit is simplistic and gives a great quick overview over repos, commits, etc. But it just doesn't work well on mobile devices and looks awfully outdated.

So I reform the tables to a more modern GitLab-inspired look just with a few lines of CSS.

Here are a few before and after screenshots:

Image description 1: Screenshots of the repository index page in mobile mode. On the left side is the old version with "normal" table. Each repository is listed as a single row of a table. The text overflows to the right, so the description is only partially visible and repository-owner and date of last commit are not visible at all. On the right side is the new version, which looks a lot more modern by giving each field full-width, meaning that each "row" of the table is not below each other rather than next to each other. Separating lines between each repository as well as repository names styled as headlines make differentiation easy and give it a more modern look.
Image description 2: Two screenshots of the commit log of the "stagit-jayvii.de" repository, which is similarly layed out as on the first image of this post. On the left side is the old version, whereas commit messages are only partially visible due to overflowing text and comitting user as well as number of modified files and lines are not visible at all. On the right side is the new vertically aligned version, which makes browsing the commits of a repository on mobile devices a lot easier.

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

Image description 1: A Screenshot of my stagit index page that shows names, descriptions and the timestamp of the last commit for various git-repositories. On the top of it is a very simple box-graph that shows coding-activity on monthly level by color coding.
Image description 2: The same content as in the first image, but the site uses a darker theme now. The boxes are reversed in colour and clearly visible, just like before.
Image description 3: A Screenshot just of the Activity graph itself. The mouse hovers over one of the more colourful boxes of the graph. Next to it appears a little tooltip popup that read: "Apr, 2024: 89 commits".

Dabbling with (deploying) #stagit again and reading more into #git hooks is a fun ride! I am quite happy already with https://src.jayvii.de, expanding stagit with a few custom scripts and organising automatic packaging and deployment via hooks

I spent the day fiddling with #stagit and (re-) building my #selfhosted, tiny #git server using  my custom adjustment framework. #OpenSource #FreeSoftware