{"id":20677808,"url":"https://github.com/clivern/anubis","last_synced_at":"2025-04-19T21:06:01.294Z","repository":{"id":45455867,"uuid":"166604181","full_name":"Clivern/Anubis","owner":"Clivern","description":"🔥 My Personal dotfiles.","archived":false,"fork":false,"pushed_at":"2024-10-18T19:54:33.000Z","size":74111,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-19T14:55:57.545Z","etag":null,"topics":["clivern","dotfiles","neovim","opswork"],"latest_commit_sha":null,"homepage":"https://clivern.com/","language":"Jinja","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/Clivern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"custom":"clivern.com/sponsor/"}},"created_at":"2019-01-19T23:26:33.000Z","updated_at":"2024-10-18T19:54:11.000Z","dependencies_parsed_at":"2023-02-16T21:15:56.974Z","dependency_job_id":"b6ed178c-2156-48bb-9295-003ef7310f5d","html_url":"https://github.com/Clivern/Anubis","commit_stats":null,"previous_names":["clivern/anubis"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FAnubis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FAnubis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FAnubis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2FAnubis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clivern","download_url":"https://codeload.github.com/Clivern/Anubis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224969892,"owners_count":17400294,"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":["clivern","dotfiles","neovim","opswork"],"created_at":"2024-11-16T21:17:10.266Z","updated_at":"2025-04-19T21:06:01.285Z","avatar_url":"https://github.com/Clivern.png","language":"Jinja","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/clivern/anubis/main/static/logo.png\" width=\"20%\" /\u003e\n    \u003ch3 align=\"center\"\u003eAnubis\u003c/h3\u003e\n    \u003cp align=\"center\"\u003eMy Personal dotfiles\u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://github.com/Clivern/Anubis/actions/workflows/ci.yml\"\u003e\n           \u003cimg src=\"https://github.com/Clivern/Anubis/actions/workflows/ci.yml/badge.svg?branch=main\"/\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://clivern.betteruptime.com/\"\u003e\n           \u003cimg src=\"https://uptime.betterstack.com/status-badges/v2/monitor/1evgt.svg\"/\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://pypi.org/project/opswork/\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/Built_with-OpsWork-blue\"/\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://radar.thoughtworks.com/?documentId=https%3A%2F%2Fraw.githubusercontent.com%2FClivern%2FAnubis%2Fmain%2Ftradar.json\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/Technology-Radar-green.svg\"\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://github.com/Clivern/Anubis/releases\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/Version-5.5.0-1abc9c.svg\"\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://github.com/Clivern/Anubis/blob/master/LICENSE\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/LICENSE-MIT-blue.svg\"\u003e\n        \u003c/a\u003e\n    \u003c/p\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\n### Usage\n\n1. Clone the repository.\n\n```zsh\n# Create space directory\n$ mkdir -p ~/space\n\n$ git clone git@github.com:clivern/anubis.git ~/space/anubis\n```\n\n2. Install the following manually\n\n- [Homebrew](https://brew.sh/)\n- [Google Chrome](https://www.google.com/intl/en_uk/chrome/)\n- [Iterm2](https://iterm2.com/)\n- [omz](https://ohmyz.sh/)\n- [Sublime](https://www.sublimetext.com/)\n- [Fonts for Terminal \u0026 Neovim](./fonts/)\n\n\n3. Install [opswork](https://pypi.org/project/opswork/) and `pip` globally.\n\n```zsh\n$ brew install yq\n$ brew install python@3.11\n\n$ pip install -r requirements.freeze.txt\n$ alias op=opswork\n```\n\n4. Init the configs\n\n```zsh\n$ op config init\n$ op config dump\n```\n\n5. Add local as a host.\n\n```zsh\n$ make hosts\n```\n\n6. Add dotfiles recipes.\n\n```zsh\n$ make recipes\n```\n\n7. Run recipes one by one or the needed ones. for example to run `clivern/ping` towards host with name `localhost`.\n\n```zsh\n$ op recipe run clivern/linux/ping -h localhost -v key=value\n\n# To get the must have list\n$ op recipe list -t must_have -o json | jq .\n```\n\n8. To install dotfiles.\n\n```zsh\n$ make run\n```\n\n9. To run command either locally or remotely.\n\n```zsh\n# Add a Remote Linux Host\n$ op host add clivern -i ~x.x.x.x~ -p 22 -u ~user~ -s /Users/root/.ssh/id_rsa.pem\n\n# Check Uptime\n$ op recipe run clivern/linux/cmd -h clivern -v cmd=\"uptime\"\n\n# Ping Remote Host\n$ op recipe run clivern/linux/ping -h clivern\n\n# Update\n$ op recipe run clivern/linux/update -h clivern\n\n# Upgrade\n$ op recipe run clivern/linux/upgrade -h clivern\n\n# Force Reboot\n$ op recipe run clivern/linux/cmd -h clivern -v cmd=\"reboot\"\n\n# SSH to any Host\n$ op host ssh clivern\n```\n\n10. Store the secrets in `OpsWork` vault.\n\n```zsh\n$ op secret add clivern/ai/google_palm_api_key \"~~\" -t ai\n$ op secret add clivern/ai/openai_api_key \"~~\" -t ai\n```\n\n11. Secret can be loaded as environmental variable by adding it to `configs/secrets.j2` like the following.\n\n```zsh\n$ export OPENAI_API_KEY=\"$(op secret get clivern/ai/openai_api_key -o json | jq -r '.[0].value')\"\n```\n\n12. To load secrets from terminal.\n\n```zsh\n$ source ~/.secrets\n```\n\n13. To list all recipes\n\n```\n$ op recipe list -o json | jq -r '.[].name'\n```\n\n\n### Ngrok Usage\n\nTo install `ngrok`\n\n```zsh\n$ op recipe run clivern/anubis/ngrok -h localhost\n```\n\nTo add `ngrok` secrets like the `key` and `domain`\n\n```zsh\n# Define ngrok key and domain\n$ op secret add clivern/ngrok_domain \"x.x.x.ngrok-free.app\" -t ngrok\n$ op secret add clivern/ngrok_key \"xxxxxxxxx\" -t ngrok\n\n$ source ~/.secrets\n```\n\nTo configure `ngrok` auth token\n\n```zsh\n$ ngrok config add-authtoken $NGROK_KEY\n```\n\nTo proxy to local port `8000`\n\n```zsh\n$ ngrok http --domain=$NGROK_DOMAIN 8000\n```\n\n\n### LSP Servers\n\nAdd recipes\n\n```zsh\n$ make recipes\n```\n\nInstall LSP servers\n\n```\n$ opswork recipe run clivern/anubis/lsp -h localhost\n```\n\n\n### Technology Radar\n\nMy Technology Radar is stored in `tradar.json`\n\n```json\n[\n  {\n    \"name\": \"..\",\n    \"ring\": \"adopt or trial or assess or hold\",\n    \"quadrant\": \"tools or techniques or platforms or languages-and-frameworks\",\n    \"isNew\": \"FALSE or TRUE\",\n    \"description\": \"..\"\n  }\n]\n```\n\n### Sublime Text Theme\n\nLocate the Sublime Text packages directory by navigating to `Preferences → Browse Packages`.\n\nCreate a folder named daylerees-themes within this directory.\n\nEither:\n\n- Copy the contents of the Dayle Rees repository into this folder, or\n- Clone the repository directly using Git:\n\n```zsh\n$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes\n```\n\n- Select the theme via Preferences → Color Scheme → daylerees-themes.\n\n\n### License\n\n© 2010, Clivern. Released under [MIT License](https://opensource.org/licenses/mit-license.php).\n\n**Anubis** is authored and maintained by [@clivern](http://github.com/clivern).\n","funding_links":["clivern.com/sponsor/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fanubis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclivern%2Fanubis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fanubis/lists"}