Archive git repositories via `git clone`
Describe the feature you'd like
It would be really cool if Hoarder could download a copy of a git repository as a way of archiving the code and its history.
Describe the benefits this would bring to existing Hoarder users
This would make it easy to store source code archives as part of a personal archive.
Can the goal of this request already be achieved via other means?
As far as I'm aware, this is not possible through other means (within Hoarder, that is).
It might be possible to archive a specific version of a repository by saving a direct link to a tarball (or similar) of a release that sites like github have, but that won't get anything like the commit history of the repository.
Have you searched for an existing open/closed issue?
- [x] I have searched for existing issues and none cover my fundamental request
libgit2 seems like a decent pick, which also has WASM binaries for JS (https://github.com/petersalomonsen/wasm-git). However I'm not exactly sure if the repos active or not
I have a first draft implementation on my branch (https://github.com/maya-doshi/karakeep/tree/feature/git-archive) which works mostly well enough for me. although, it uses the system git (like yt-dlp is used)
@haappi does it have a change of getting merged, ill polish it up if so