benthayer / benthayer/git-gud

Suggestion: Use preexisting Git web viewers to make remotes feel more authentic

Open
#337 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
558
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I am not sure where to put this post, but I will put it here.

I have been looking for a long time for git web viewers that could integrate easily with Git Gud to best emulate the "GitHub" experience, while still being fully local. This would mean that it would have to be callable programmatically, and it shouldn't serve to be a full GitHub replacement (i.e. Pagure, Gogs, Gitea were off the table, since they need a full database on the backend). It would also ideally be in Python, since Python calls Python best, I think.

The best I've found is Klaus: https://github.com/jonashaag/klaus
The interface is different from GitHub, but it close enough that I think that people could still benefit from practicing with it. I've tried to call it programmatically in my own personal experiments but there's something weird about the entrypoint that doesn't let me call it (I think it doesn't use `__main__.py` for its entrypoint, which messes up [`runpy`](https://docs.python.org/3/library/runpy.html), which is how I was calling it).

The license also seems very similar to MIT, with an exception for the logo. So there should not be any trouble in integrating it into this project if we have to roll our own distribution out.

Thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.