{"id":28394802,"url":"https://github.com/alexandretrotel/mntn","last_synced_at":"2026-06-27T00:01:11.986Z","repository":{"id":294933822,"uuid":"988542739","full_name":"alexandretrotel/mntn","owner":"alexandretrotel","description":"A command-line tool to manage your dotfiles.","archived":false,"fork":false,"pushed_at":"2026-05-31T10:21:05.000Z","size":11795,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-31T11:23:22.937Z","etag":null,"topics":["backup","cli","dotfiles","linux","macos","windows"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/mntn","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexandretrotel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-22T17:46:23.000Z","updated_at":"2026-05-31T10:14:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac3c496e-20c9-477b-97cd-31d6fa628540","html_url":"https://github.com/alexandretrotel/mntn","commit_stats":null,"previous_names":["alexandretrotel/mntn","atrtde/mntn"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/alexandretrotel/mntn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandretrotel%2Fmntn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandretrotel%2Fmntn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandretrotel%2Fmntn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandretrotel%2Fmntn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandretrotel","download_url":"https://codeload.github.com/alexandretrotel/mntn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandretrotel%2Fmntn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34835785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","cli","dotfiles","linux","macos","windows"],"created_at":"2025-05-31T19:00:27.159Z","updated_at":"2026-06-27T00:01:11.982Z","avatar_url":"https://github.com/alexandretrotel.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# mntn\n\nmntn is built to keep your dotfiles organized, safe, and consistent across machines using profiles.\n\nA profile is a named set of configuration choices that represents a context, like work, personal, or minimal. With profiles, you can keep multiple setups and switch between them so the right settings are active for the situation.\n\nAt a high level, mntn helps you manage these configurations, keep them in sync, and recover them when needed.\n\n![Demo Video](./assets/mntn.gif)\n\n## Quick Start\n\n```bash\nmntn backup\nmntn restore\nmntn doctor\n```\n\nSwitch profiles:\n\n```bash\nmntn profile create work --description \"Work setup\"\nmntn use work\n```\n\n## Core Commands\n\n- `backup` - copy tracked configs into `~/.mntn/backup/`\n- `restore` - restore configs from backup\n- `doctor` - check registry files and config drift; `doctor fix` reformats valid JSON configs with serde_json's pretty printer (it cannot repair true syntax errors, only normalize formatting)\n- `secret` - store (`secret set`) or remove (`secret delete`) the encryption passphrase in the OS keychain so `backup` / `restore` / `doctor` can reuse it without prompting\n- `profile` - list/create/delete profiles\n- `use` - switch active profile\n- `git` - run any git command inside `~/.mntn`\n- `sync` - run `git add .`, commit with default message `chore: sync mntn (YYYY-MM-DD HH:MM:SS UTC)` (use `--message` to override), then `git push` inside `~/.mntn`\n\nEncrypted configs: run `mntn secret set` after you know your passphrase to persist it. Use `--ask-password` on `backup`, `restore`, or `doctor` if you want to type it for that run only.\n\n## Directory Layout\n\n```text\n~/.mntn/\n├── backup/\n│   ├── common/\n│   │   └── encrypted/          # optional: encrypted bundle + legacy per-file .age\n│   └── profiles/\n│       └── \u003cname\u003e/\n│           └── encrypted/\n├── profiles.json\n├── .active-profile\n├── config.registry.json\n├── package.registry.json\n└── encrypted.registry.json\n```\n\nRegistry notes:\n- `config.registry.json` tracks regular dotfiles and their targets.\n- `package.registry.json` tracks package managers and how to export package lists.\n- `encrypted.registry.json` tracks sensitive files that are stored encrypted.\n\n## License\n\nGNU General Public License v3.0 or later (GPL-3.0-or-later), published by the Free Software Foundation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandretrotel%2Fmntn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandretrotel%2Fmntn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandretrotel%2Fmntn/lists"}