Hysen Labs
Open-source project
tkellogg/dura avatar
tkellogg

dura

GitHub describes it as You shouldn't ever lose your work if you're using Git. The repository metadata lists Rust as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

4,430 stars69 forksRustNOASSERTION
01
DEEP OPEN-SOURCE ANALYSIS

tkellogg/dura: Dura

GitHub describes it as You shouldn't ever lose your work if you're using Git. The repository metadata lists Rust as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as You shouldn't ever lose your work if you're using Git. The repository metadata lists Rust as its primary language. The metadata lists the NOASSERTION license. The README describes the project this way: Dura is a background process that watches your Git repositories and commits your uncommitted changes without impacting HEAD, the current branch, or the Git index (staged files). If you ever get into an "oh snap!" situation where you think you just lost days of work, checkout a dura branch and recover.

03
DEEP OPEN-SOURCE ANALYSIS

Dura

The README section "Dura" states: Without dura , you use Ctrl-Z in your editor to get back to a good state. That's so 2021. Computers crash and Ctrl-Z only works on files independently. Dura snapshots changes across the entire repository as-you-go, so you can revert to "4 hours ago" instead of "hit Ctrl-Z like 40 times or whatever". Finally, some sanity.

04
DEEP OPEN-SOURCE ANALYSIS

How to use

The README section "How to use" states: The serve can happen in any directory. The & is Unix shell syntax to run the process in the background, meaning that you can start dura and then keep using the same terminal window while dura keeps running. You could also run dura serve in a window that you keep open.

05
DEEP OPEN-SOURCE ANALYSIS

How to use

The README section "How to use" states: If you have thoughts on how to do this better, share them here. Until that's sorted, you can run something like find ~ -type d -name .git -prune | xargs -I= sh -c "cd =/..; dura watch" to get started on your existing repos.

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes