39 releases (22 breaking)

0.22.1 Sep 2, 2024
0.22.0 Jul 18, 2024
0.21.0 Apr 18, 2024
0.19.0 Mar 7, 2024
0.2.1 Jan 16, 2020

#340 in Filesystem

Download history 63/week @ 2024-08-23 247/week @ 2024-08-30 164/week @ 2024-09-06 204/week @ 2024-09-13 134/week @ 2024-09-20 96/week @ 2024-09-27 114/week @ 2024-10-04 93/week @ 2024-10-11 54/week @ 2024-10-18 36/week @ 2024-10-25 58/week @ 2024-11-01 64/week @ 2024-11-08 137/week @ 2024-11-15 78/week @ 2024-11-22 74/week @ 2024-11-29 170/week @ 2024-12-06

472 downloads per month
Used in 7 crates (5 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

~12MB
~271K SLoC