{"id":22189806,"url":"https://github.com/snth/dot","last_synced_at":"2026-02-27T00:31:09.885Z","repository":{"id":264145399,"uuid":"892480447","full_name":"snth/dot","owner":"snth","description":"Simple dotfiles manager","archived":false,"fork":false,"pushed_at":"2024-11-22T12:40:28.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T08:57:54.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snth.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-11-22T07:34:19.000Z","updated_at":"2024-12-19T18:42:02.000Z","dependencies_parsed_at":"2024-11-22T09:25:11.991Z","dependency_job_id":"bfdabfd5-83dd-4497-8842-85c83c9250c1","html_url":"https://github.com/snth/dot","commit_stats":null,"previous_names":["snth/dot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/snth/dot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snth%2Fdot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snth%2Fdot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snth%2Fdot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snth%2Fdot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snth","download_url":"https://codeload.github.com/snth/dot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snth%2Fdot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29878956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-12-02T11:32:52.963Z","updated_at":"2026-02-27T00:31:09.851Z","avatar_url":"https://github.com/snth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dot - Simple Git-Based Dotfiles Manager\n\n`dot` is a minimalist dotfiles manager that leverages git for version control while keeping your configuration files in their original locations. It works by maintaining a separate dotfiles repository and automatically syncing tracked files between their original locations and the repository.\n\nThe main philosophy is to delegate as much functionality as possible to git while providing a thin convenience layer for tracking and syncing files.\n\n## Features\n\n- Simple, bash-based implementation\n- Uses git for version control\n- Keeps files in their original locations\n- Automatic syncing of tracked files\n- Supports any git command\n- Verbose output options for debugging\n\n## Quickstart\n\n1. Download `dot.sh` and make it executable:\n```bash\ncurl -o ~/.local/bin/dot https://raw.githubusercontent.com/snth/dot/main/dot.sh\nchmod +x ~/.local/bin/dot\n```\n\n2. Set up your shell environment:\n```bash\n# Add to your .bashrc or .zshrc\neval \"$(dot env)\"\n```\n\n3. Initialize your dotfiles repository:\n```bash\ndot init\n```\n\n## Usage\n\n```bash\ndot [options] [command] [args]\n\nOptions:\n  -v           Enable verbose output\n  -vv          Enable debug output\n\nCommands:\n  init          Initialize new dotfiles repository\n  track [path]  Start tracking file at [path] in dotfiles\n  cd            Open a shell in the dotfiles directory\n  env           Output shell configuration\n  [git-cmd]     Any git command (executed in dotfiles directory)\n```\n\n## Example Session\n\nHere's a typical workflow for managing your dotfiles:\n\n```bash\n# Initialize a new dotfiles repository\ndot init\n\n# Start tracking some config files\ndot track ~/.bashrc\n\n# Check status of your dotfiles\ndot status\n\n# Make some changes to .bashrc\necho -e '# dot for dotfiles management\\neval \"$(dot env)\"' \u003e\u003e ~/.bashrc\n\n# Review and commit changes\ndot diff\ndot commit -am \"Added dot to ~/.bashrc\"\n\n# Push to a remote repository\ndot remote add origin git@github.com:${GITHUB_USER}/dotfiles.git\ndot push -u origin main\n\n# Later, on another machine\ngit clone git@github.com:${GITHUB_USER}/dotfiles.git ~/.config/dotfiles\n# Copy files to their correct locations\ndot checkout main\n```\n\n## How It Works\n\n1. When you run `dot track \u003cfile\u003e`, the file is copied to your dotfiles repository (default: `~/.config/dotfiles`) while maintaining its relative path structure from your home directory.\n\n2. When you run `dot cd`, the script:\n   - Syncs any changes from your home directory to the repository\n   - Opens a shell in the repository directory\n   - When you exit, syncs any changes back to your home directory\n\n3. All other commands are passed directly to git, with paths automatically translated relative to your home directory.\n\n## Environment Variables\n\n- `DOT_DIR`: Override the default dotfiles location (`~/.config/dotfiles`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnth%2Fdot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnth%2Fdot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnth%2Fdot/lists"}