{"id":21204963,"url":"https://github.com/hpedrorodrigues/sphynx","last_synced_at":"2026-04-14T02:04:36.017Z","repository":{"id":40252244,"uuid":"318273161","full_name":"hpedrorodrigues/sphynx","owner":"hpedrorodrigues","description":"There is no place like ~/","archived":false,"fork":false,"pushed_at":"2024-11-13T01:11:25.000Z","size":13246,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-13T02:20:08.745Z","etag":null,"topics":["ansible","cli","dotfiles","linux-setup","macos","macos-setup","ubuntu","workspace"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpedrorodrigues.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-03T17:41:51.000Z","updated_at":"2024-11-13T01:11:28.000Z","dependencies_parsed_at":"2024-02-12T02:23:52.694Z","dependency_job_id":"b5239477-4ea4-41f3-92bf-7d3b6edfd3a6","html_url":"https://github.com/hpedrorodrigues/sphynx","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpedrorodrigues%2Fsphynx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpedrorodrigues%2Fsphynx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpedrorodrigues%2Fsphynx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpedrorodrigues%2Fsphynx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpedrorodrigues","download_url":"https://codeload.github.com/hpedrorodrigues/sphynx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225629900,"owners_count":17499289,"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":["ansible","cli","dotfiles","linux-setup","macos","macos-setup","ubuntu","workspace"],"created_at":"2024-11-20T20:42:17.817Z","updated_at":"2025-10-15T22:55:28.203Z","avatar_url":"https://github.com/hpedrorodrigues.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Checks][checks-badge]][checks-workflow]\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Logo\" src=\"./assets/sphynx-landscape.png\" width=\"80%\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#cli\"\u003eCLI\u003c/a\u003e •\n  \u003ca href=\"#dotfiles\"\u003eDotfiles\u003c/a\u003e •\n  \u003ca href=\"#external-tools\"\u003eExternal Tools\u003c/a\u003e •\n  \u003ca href=\"#workspace-configuration\"\u003eWorkspace Configuration\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\nThis is a personal project containing everything I use on a daily basis and how\nI set up my machine. It has aliases, functions, CLI, workspace configuration,\napplications' settings, docker images, and more.\n\n### CLI\n\n\u003cimg align=\"right\" alt=\"Demo\" src=\"./assets/sphynx-demo.gif\" width=\"60%\"\u003e\n\nThis is the core of Sphynx. The [command-line interface][cli-folder] is used to\nautomate boring/repetitive tasks and helps me manage the other parts of this\nproject.\n\ne.g.\n```bash\n$ sx docker logs\n$ sx android device --connect\n$ sx system clear-trash\n```\n\nMost commands use the [fuzzy finder][fzf] to provide a better experience with an\ninteractive menu + fuzzy searching.\n\nIf you want to give the CLI a try, you can use [Homebrew][homebrew] or\n[Linuxbrew][linuxbrew] to install it.\n\n```bash\nbrew install hpedrorodrigues/tools/sphynx\n```\n\n### Dotfiles\n\nAll dotfiles are inside the [dotfiles][dotfiles-folder] module. It has common\naliases, functions, and configuration files that I use daily.\n\n#### Shell startup performance\n\n**zsh**\n```\n♪ sx shell benchmark zsh\nProductName:            macOS\nProductVersion:         14.0\n\n\u003e Hyperfine\n\nBenchmark 1: zsh -i -c exit\n  Time (mean ± σ):      57.2 ms ±   0.5 ms    [User: 31.2 ms, System: 22.2 ms]\n  Range (min … max):    56.0 ms …  58.5 ms    50 runs\n\n\u003e Bench\n\nbenchmarking zsh -i -c exit\ntime                 57.97 ms   (57.61 ms .. 58.59 ms)\n                     1.000 R²   (0.999 R² .. 1.000 R²)\nmean                 57.96 ms   (57.78 ms .. 58.31 ms)\nstd dev              430.2 μs   (251.9 μs .. 635.6 μs)\n\n\u003e Time\n\n/usr/bin/time zsh -i -c exit (5x)\n        0.06 real         0.03 user         0.02 sys\n        0.06 real         0.03 user         0.02 sys\n        0.05 real         0.03 user         0.02 sys\n        0.05 real         0.03 user         0.02 sys\n        0.05 real         0.03 user         0.02 sys\n```\n\n**bash**\n```\n♪ sx shell benchmark bash\nProductName:            macOS\nProductVersion:         14.0\n\n\u003e Hyperfine\n\nBenchmark 1: bash -i -c exit\n  Time (mean ± σ):      40.5 ms ±   1.1 ms    [User: 19.1 ms, System: 20.1 ms]\n  Range (min … max):    39.2 ms …  45.2 ms    69 runs\n\n\u003e Bench\n\nbenchmarking bash -i -c exit\ntime                 41.15 ms   (40.94 ms .. 41.48 ms)\n                     1.000 R²   (1.000 R² .. 1.000 R²)\nmean                 41.00 ms   (40.95 ms .. 41.18 ms)\nstd dev              155.3 μs   (46.41 μs .. 291.6 μs)\n\n\u003e Time\n\n/usr/bin/time bash -i -c exit (5x)\n        0.04 real         0.01 user         0.01 sys\n        0.04 real         0.01 user         0.02 sys\n        0.03 real         0.01 user         0.01 sys\n        0.03 real         0.01 user         0.01 sys\n        0.04 real         0.01 user         0.02 sys\n```\n\n### External tools\n\n[External tools][external-tools] are tools that you don't want to install\non your machine but you'd like to use them.\n\nThey are basically shell functions calling Docker behind the scenes, but\nnot all functions use the dockerfiles available in this project (e.g. Kafka).\n\n### Workspace configuration\n\nI use [Ansible][ansible-website] to configure my machine. It automates tedious\ntasks [installing packages and applications][playbooks-folder] that I use almost\ndaily.\n\n\n\n[cli-folder]: ./modules/cli\n[fzf]: https://github.com/junegunn/fzf\n[homebrew]: https://brew.sh\n[linuxbrew]: https://docs.brew.sh/Homebrew-on-Linux\n\n[dotfiles-folder]: ./modules/dotfiles\n\n[external-tools]: ./modules/dotfiles/common/scripts/external_tools.sh\n\n[ansible-website]: https://www.ansible.com\n[playbooks-folder]: ./modules/playbooks\n\n[checks-badge]: https://github.com/hpedrorodrigues/sphynx/actions/workflows/checks.yml/badge.svg\n[checks-workflow]: https://github.com/hpedrorodrigues/sphynx/actions/workflows/checks.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpedrorodrigues%2Fsphynx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpedrorodrigues%2Fsphynx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpedrorodrigues%2Fsphynx/lists"}