[GH-ISSUE #1186] Archive git repositories via git clone #776

Open
opened 2026-03-02 11:52:39 +03:00 by kerem · 2 comments
Owner

Originally created by @PowerUser64 on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1186

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?

  • I have searched for existing issues and none cover my fundamental request
Originally created by @PowerUser64 on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1186 ### 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
Author
Owner

@haappi commented on GitHub (Apr 26, 2025):

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

<!-- gh-comment-id:2832146955 --> @haappi commented on GitHub (Apr 26, 2025): 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
Author
Owner

@maya-doshi commented on GitHub (Nov 3, 2025):

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

<!-- gh-comment-id:3482718634 --> @maya-doshi commented on GitHub (Nov 3, 2025): 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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#776
No description provided.