{"id":20272429,"url":"https://github.com/cybertk/ckdots","last_synced_at":"2025-04-11T04:42:19.016Z","repository":{"id":1195466,"uuid":"1101500","full_name":"cybertk/ckdots","owner":"cybertk","description":"Manage dotfiles across all your devices, even in Docker","archived":false,"fork":false,"pushed_at":"2022-04-24T14:16:30.000Z","size":441,"stargazers_count":3,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T04:42:13.604Z","etag":null,"topics":["dotfiles"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybertk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-22T05:24:52.000Z","updated_at":"2022-02-14T03:39:11.000Z","dependencies_parsed_at":"2022-08-16T12:31:14.090Z","dependency_job_id":null,"html_url":"https://github.com/cybertk/ckdots","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybertk%2Fckdots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybertk%2Fckdots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybertk%2Fckdots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybertk%2Fckdots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybertk","download_url":"https://codeload.github.com/cybertk/ckdots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345281,"owners_count":21088242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dotfiles"],"created_at":"2024-11-14T12:43:16.742Z","updated_at":"2025-04-11T04:42:18.986Z","avatar_url":"https://github.com/cybertk.png","language":"Shell","readme":"# ckdots\n\n\u003e Manage your dotfiles across all your devices\n\n[![CI Status](http://img.shields.io/travis/cybertk/ck-dots.svg?style=flat)](https://travis-ci.org/cybertk/ckdots)\n\n**ckdots** manages your dotfiles by moving them to a designated **config directory**, then you can simply share this directory across all your devices with your familiar tools, such as OneDrive, Busybox, iCloud Drive, or a git repo.\n\n## Install\n\nTo install the **ckdots** and save all your dotfiles at */Dropbox/cli.config/*:\n\n```shell\ngit clone https://github.com/cybertk/ckdots.git\nCKDOTS_CONFIG=/Dropbox/cli.config/ ./ckdots/bin/ckdots init\n```\n\nThen you can sync the **config directory** */Dropbox/cli.config/* on all your devices, and install **ckdots** on them.\n\n## Getting started\n\n### Move the dotfile to your shared config directory\n\n**ckdots** moves the dotfiles to a designated **config directory**(defaults at *~/.ckdots*) and creates a softlink at\nthe original place. To save a dotfile, for example, *.gemrc*:\n\n```shell\nckdots add .gemrc\n```\n\n### Show current status of all your dotfiles\n\n```shell\n$ ckdots status\nTracked dots:\n\tun-checkout: .cocos/\n\t.docker/\n\tun-checkout: .fastlane/\n\tun-checkout: .gdbinit\n\tun-checkout: .gemrc\n\t.gitconfig\n\t.gnupg/\n\tun-checkout: .greenkeeperrc\n\tun-checkout: .hyper.js\n\t.kube/\n\nUntracked dots:\n  (use \"ckdots add \u003cfile\u003e...\" to include in what will be managed)\n\n\t.Trash/\n\t.anyconnect\n\t.bash_sessions/\n```\n\n## Command-line Usages\n\n- init, install ckdots on a new machine\n- add, save specified dotfile\n- checkout, restore previously saved dotfile\n- ls, list all saved dotfile\n- status, show the current status of dotfiles\n- help, print this help\n\n## Use in Docker\n\nCreate a dedicated home volume\n\n```bash\ndocker volume create home\n```\n\nThen install the **ckdots** into home volume with\n\n```\nexport GITHUB_UESRNAME=xxx\nexport GITHUB_TOKEN=xxx\nexport CKCONFIG_REPO=$GITHUB_UESRNAME/ckdots-config\ndocker run -it --rm -vhome:/root quanlong/ckdots $GITHUB_USERNAME $GITHUB_TOKEN $CKCONFIG_REPO [dots]\n```\n\ni.e. install *.vim* and *.vimrc/* with\n\n```bash\ndocker run -it --rm -vhome:/root quanlong/ckdots cybertk $GITHUB_TOKEN cybertk/ckdots-config .vim/ .vimrc\n```\n\nThen enjoy with your dots environment by attaching the home volume\n\n```\ndocker run -it --rm -vckdots:/root ubuntu:14.04 /bin/bash --login\n```\n\n## License\n\n**ckdots** is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybertk%2Fckdots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybertk%2Fckdots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybertk%2Fckdots/lists"}