qmetrics.net

Dura

Background Git watcher for automatic work snapshots

Dura is a background service that snapshots uncommitted changes in watched Git repos on separate branches without touching HEAD or the index.

Overview

Dura runs as a background process that monitors Git repositories you register with dura watch. When you edit files—without committing or staging—it periodically records snapshots on special dura branches tied to your real commits, leaving HEAD, the current branch, and staged files unchanged.

If you lose work, you can inspect dura branches with git log or tig, pick a snapshot hash, and check out or restore files from that point. Recovery branches follow a dura/<commit> naming pattern derived from your latest commit. The watcher loops on an interval on the order of a few seconds between checks.

Start the service with dura serve, register repos one at a time from inside each repository, and stop it with dura kill. Installation paths include cargo install, platform packages, macOS launchctl setup, Windows builds, Arch Linux, and Nix flakes. Commits use libgit2 under the hood.

Key features

  • Background serve process
  • Per-repo watch registration
  • Snapshots without affecting HEAD
  • dura/* tracking branches
  • Time-based recovery checkpoints
  • libgit2-based commits
  • cargo and package installs
  • Nix flake development shell

Use cases

  • Recovering uncommitted Git work
  • Continuous repo-wide edit history
  • Safety net while experimenting
  • Rolling back hours of local changes

Tags

Similar software

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Rclone

Command-line sync tool for cloud storage

Rclone copies and syncs files between local disks and many cloud backends. It mirrors familiar Unix-style file operations for remote storage.

★ 61.3k⟳ todayMIT
Backup & RecoveryDesktop/CLI app

Gitea

Self-hosted Git forge with CI/CD and packages

Gitea is an all-in-one software development service you can run on your own infrastructure. It combines Git hosting with issues, reviews, project boards, package registries, and Gitea Actions CI/CD.

★ 59.3k⟳ todayMIT
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

Gogs

Self-hosted Git service with web collaboration tools

Gogs hosts Git repositories over SSH and HTTP(S) and adds issues, pull requests, wikis, and organization features through a browser UI.

★ 48k⟳ 2 days agoMIT

GitHub CLI

Official GitHub terminal client

GitHub CLI brings issues, pull requests, and other GitHub workflows to the terminal beside git. It works with GitHub.com, Enterprise Cloud, and supported Enterprise Server deployments.

★ 47.3k⟳ yesterdayMIT

Harness

End-to-end developer platform with SCM, CI/CD, and registries

Harness Open Source combines code hosting, automated DevOps pipelines, hosted development environments called Gitspaces, and artifact registries in one platform.

★ 39k⟳ yesterdayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub