{"id":15587578,"url":"https://github.com/icyleaf/dotfiles","last_synced_at":"2025-04-15T16:57:38.618Z","repository":{"id":54481062,"uuid":"93738538","full_name":"icyleaf/dotfiles","owner":"icyleaf","description":"icyleaf's dotfiles apply for macOS (includes macos tricks)","archived":false,"fork":false,"pushed_at":"2024-10-26T12:48:53.000Z","size":573,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-26T18:49:41.732Z","etag":null,"topics":["dotfiles","macos-tricks"],"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/icyleaf.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-08T10:46:36.000Z","updated_at":"2024-10-26T12:48:57.000Z","dependencies_parsed_at":"2023-01-21T08:00:36.036Z","dependency_job_id":"dacf01a5-a251-4451-b252-ffa3a5cb8823","html_url":"https://github.com/icyleaf/dotfiles","commit_stats":{"total_commits":233,"total_committers":1,"mean_commits":233.0,"dds":0.0,"last_synced_commit":"8494c9305c1f6092449f386596c545d7881d23a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyleaf%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icyleaf","download_url":"https://codeload.github.com/icyleaf/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229293467,"owners_count":18050547,"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","macos-tricks"],"created_at":"2024-10-02T22:02:17.764Z","updated_at":"2024-12-12T14:08:53.852Z","avatar_url":"https://github.com/icyleaf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icyleaf's dotfiles\n\n这里是个人整理的 dotfiles，但这个和大家看到的不太一样，这个配置文件数据更像是带安装和定制配置的。\n\n大家可以按照需要选择性安装（目前还只能在配置文件修改）。\n\n## 安装\n\n脚本有依赖无法独立运行，建议先把仓库 clone 后独立运行自己所需的配置\n\n```bash\n$ git clone http://gitlab.dev/icyleaf/dotfiles.git ~/.dotfiles\n$ cd ~/.dotfiles\n$ ./bin/bootstrap -h\n$ ./bin/bootstrap\n\n# macOS 快速配置\n$ ./bin/macos\n```\n\n## 安全数据\n\n配置必然后包含私密数据，仓库新增 sops + age 加密核心数据，目前加密的规则可见 [.sops.yaml](.sops.yaml) 文件。\n\n### zsh 密钥\n\n因 sops 目前未支持配置文件自动识别 dotenv 类型，需要手动指定：\n\n```bash\n# 解密\n$ sops -d --output-type dotenv zsh/local.enc.zsh zsh/local.zsh\n\n# 加密\n$ sops -d --input-type dotenv zsh/local.zsh zsh/local.enc.zsh\n```\n\n## 实现原理\n\n除了 `bin` 目录执行专项的快速配置脚本外，其他目录都是可独立运行的配置项。独立的配置都会包含一个 `install.sh` 来进行安装配置操作，且涉及配置的文件绝大多数都会以软连接的方式进行配置，修改哪一项都**只会**更新当前仓库的文件数据，如有需要可以备份并提交到 git 仓库。\n\n## 疑惑解答\n\n直接问作者本人吧！\n\n更多牛人配置\n------------\n\nhttps://dotfiles.github.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyleaf%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficyleaf%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyleaf%2Fdotfiles/lists"}