37 releases (21 breaking)

new 0.21.0 Apr 18, 2024
0.19.0 Mar 7, 2024
0.18.0 Dec 4, 2023
0.17.1 Nov 23, 2023
0.2.1 Jan 16, 2020

#248 in Filesystem

Download history 6/week @ 2023-12-31 28/week @ 2024-01-07 7/week @ 2024-01-14 6/week @ 2024-01-21 5/week @ 2024-01-28 8/week @ 2024-02-04 9/week @ 2024-02-11 12/week @ 2024-02-18 270/week @ 2024-02-25 244/week @ 2024-03-03 131/week @ 2024-03-10 145/week @ 2024-03-17 71/week @ 2024-03-24 122/week @ 2024-03-31 88/week @ 2024-04-07

435 downloads per month
Used in 6 crates (4 directly)

GPL-3.0-or-later

155KB
3.5K SLoC

radicle-surf

A code surfing library for Git repositories 🏄‍♀️🏄‍♂️

Welcome to radicle-surf!

radicle-surf is a library to describe a Git repository as a file system. It aims to provide an easy-to-use API to browse a repository via the concept of files and directories for any given revision. It also allows the user to diff any two different revisions.

One of the use cases would be to create a web GUI for interacting with a Git repository (thinking GitHub, GitLab or similar systems).

Contributing

To get started on contributing you can check out our developing guide, and also our LICENSE file.

The Community

Join our community disccussions at radicle.community!


lib.rs:

radicle-surf is a library to help users explore a Git repository with ease. It supports browsing a repository via the concept of files and directories, or via blobs and trees in a git fashion. With the additional support of diff::Diff and History, this library can be used to build an intuitive UI for any Git repository.

The main entry point of the library API is Repository.

Let's start surfing!

Serialization with feature serde

Many types in this crate support serialization using Serde through the serde feature flag for this crate.

Dependencies

~15MB
~323K SLoC