macOS
brew install duralocal Homebrew formula metadata
sudo port install duraMacPorts ports tree · devel/dura/Portfile · 来源: api.github.com
安装
brew install duralocal Homebrew formula metadata
sudo port install duraMacPorts ports tree · devel/dura/Portfile · 来源: api.github.com
nix profile install nixpkgs#duranixpkgs package indexes · pkgs/by-name/du/dura/package.nix · 来源: api.github.com
概览
Backs up your work automatically via Git commits
历史
Dura is a Rust developer tool that watches Git repositories and makes background snapshot commits without moving HEAD, changing the current branch, or touching the index. It belongs to the small family of tools that treat Git as a local safety net rather than only as a collaboration system.
The GitHub repository was created at the end of 2021, and the README says people had been using it since January 1, 2022. The project reached crates.io in January 2022 as `dura`, described there as backing up work automatically via Git commits.
Dura's design centers on per-commit `dura/` branches. It snapshots dirty working trees in the background so a developer can recover from editor mistakes, crashes, or bad resets by checking Git history rather than relying on per-file undo.
The official README documents installation through Cargo, Homebrew on macOS, Arch via `dura-git`, and Nix/NixOS. That spread is typical of a developer utility that is useful to package-manager-heavy users even when it is not a language runtime or framework dependency.
By June 2026, the GitHub API reported several thousand stars, while crates.io remained a smaller distribution channel. That pattern fits a tool discovered and evaluated mostly as a workflow idea, with package managers used once a developer decides to keep it running.
Typical use is `dura serve` in the background, then `dura watch` inside each Git repository to snapshot. Recovery is performed through normal Git inspection and checkout/reset operations against the generated `dura/<commit>` branches.
Dura is interesting to package nerds because it packages a personal disaster-recovery habit as a daemonized CLI: automatic local commits without changing the developer's visible branch state. It also sits near tools like `git stash`, editor local history, and filesystem backup, but uses Git's object model as the storage layer.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dura | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tkellogg/dura
安装元数据
| 软件包键 | brew:dura |
|---|---|
| 版本 | 0.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dura |
| 主页 | https://github.com/tkellogg/dura |
| 仓库 | https://github.com/tkellogg/dura |
| 上游文档 | https://github.com/tkellogg/dura#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/tkellogg/dura/archive/refs/tags/v0.2.0.tar.gz |
| 依赖 | openssl@3 |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dura |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dura
nix profile install nixpkgs#duradura
sudo port install dura来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.