dotr-dear 1.5.0

A dotfiles manager as dear as a daughter.
Documentation

DotR

Codecov Deps.rs Crate Dependencies (latest) GitHub License


GitHub Release GitHub Downloads (all assets, all releases) Crates.io Total Downloads

A dotfiles manager that is as dear as a daughter.

๐Ÿ“– Read the full documentation โ†’

โœจ Features

  • ๐Ÿ“ฆ Package management โ€” import, deploy, and update files or whole directories, individually or by profile
  • ๐ŸŽญ Profiles โ€” different packages, variables, and destinations per machine (work, home, server, ...)
  • ๐Ÿ”ง Variables โ€” environment, config, package, profile, and prompt-sourced, with nested TOML structures
  • ๐Ÿ“ Templating โ€” full Tera support, detected automatically, no config needed
  • โšก Pre/post actions โ€” run shell commands around deployment, with variable interpolation
  • ๐Ÿ’ฌ Interactive prompts โ€” ask once for secrets, remember the answer outside version control
  • ๐Ÿ”— Symlink support โ€” deploy as symlinks for live-editing workflows
  • ๐Ÿงน Clean mode โ€” deployed directories stay in sync, stray files get removed automatically
  • ๐Ÿ” Diff & dry run โ€” preview every change before it happens

Full details for all of the above are in the documentation.

๐Ÿ“ฆ Installation

# Homebrew (macOS and Linux)
brew tap uroybd/tap
brew install dotr

# Cargo
cargo install dotr-dear

# From source
cargo install --git https://github.com/uroybd/DotR

Pre-built binaries for macOS and Linux (glibc and musl, x86_64 and aarch64) are on the releases page. See the installation guide for details.

๐Ÿš€ Quick Start

dotr init                        # initialize a repository
dotr import ~/.bashrc            # bring an existing dotfile under management
dotr deploy                      # deploy on a (new) machine
dotr diff                        # preview changes before deploying
dotr update                      # pull local edits back into the repository

See the Quick Start guide for a complete walkthrough, and the CLI reference for every command and flag.

๐Ÿค Contributing

Issues and pull requests are welcome.

๐Ÿ“ License

MIT