{"id":25533171,"url":"https://github.com/42lm/capsule","last_synced_at":"2026-01-22T20:30:14.534Z","repository":{"id":278223493,"uuid":"934924719","full_name":"42LM/capsule","owner":"42LM","description":"Minimal terminal prompt with git support. Beautiful capsule style prompt that beams you right into cyberspace.","archived":false,"fork":false,"pushed_at":"2025-02-18T17:16:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T17:26:51.545Z","etag":null,"topics":["git","prompt","terminal","zsh","zsh-prompt","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42LM.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":"2025-02-18T16:14:13.000Z","updated_at":"2025-02-18T17:18:29.000Z","dependencies_parsed_at":"2025-02-18T17:37:04.187Z","dependency_job_id":null,"html_url":"https://github.com/42LM/capsule","commit_stats":null,"previous_names":["42lm/capsule"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fcapsule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fcapsule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fcapsule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LM%2Fcapsule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42LM","download_url":"https://codeload.github.com/42LM/capsule/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763648,"owners_count":19692812,"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":["git","prompt","terminal","zsh","zsh-prompt","zshrc"],"created_at":"2025-02-20T02:17:39.625Z","updated_at":"2026-01-22T20:30:14.487Z","avatar_url":"https://github.com/42LM.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capsule\n\u003cimg src=\"https://github.com/user-attachments/assets/632b79e3-bac4-47cd-81a8-63267b6e6c0b\" width=\"65\" /\u003e \u003cimg src=\"https://github.com/user-attachments/assets/e5375434-186b-4d9a-9a1f-4a67a0e225bc\" width=\"500\" /\u003e\n\n_**capsule**_ is a simple _single file_ zsh prompt. Display is divided into capsules (`DIR \u003e GIT \u003e GIT ACTION`).\n\n\u003e [!CAUTION]\n\u003e 🚧 Work in progress 🚧\n\n## Quickstart\nInstall\n```sh\ncurl --create-dirs -o ~/.config/zsh/capsule/cap.zsh \\\nhttps://raw.githubusercontent.com/42LM/capsule/main/cap.zsh\n```\n\nImport (`.zshrc`)\n```zsh\n# only load prompt if the `cap.zsh` file exists\n[ -f \"$HOME/.config/zsh/capsule/cap.zsh\" ] \u0026\u0026 \\\nsource \"$HOME/.config/zsh/capsule/cap.zsh\"\n```\n\nDefault setup:\n```sh\nCAPSULE_PROMPT_PROJECTS_PATH=\"${HOME}/code\"\nCAPSULE_PROMPT_PROJECTS=true\nCAPSULE_PROMPT_TIMER=false\n\nCAPSULE_PROMPT_GIT_AHEAD_BEHIND_FG=\"0\"   # black\nCAPSULE_PROMPT_GIT_ACTION_FG=\"3\"         # yellow\nCAPSULE_PROMPT_GIT_ACTION_BG=\"9\"         # orange\nCAPSULE_PROMPT_GIT_TAG_FG=\"1\"            # red\nCAPSULE_PROMPT_GIT_FG=\"1\"                # red\nCAPSULE_PROMPT_GIT_BG=\"3\"                # yellow\nCAPSULE_PROMPT_GIT_COUNT_ST_STASH_FG=\"3\" # yellow\nCAPSULE_PROMPT_GIT_COUNT_ST_STASH_BG=\"9\" # orange\nCAPSULE_PROMPT_GIT_DIRTY_FG=\"3\"          # yellow\nCAPSULE_PROMPT_GIT_DIRTY_BG=\"1\"          # red\nCAPSULE_PROMPT_DIR_FG=\"0\"                # black\nCAPSULE_PROMPT_DIR_BG=\"4\"                # blue\nCAPSULE_PROMPT_TIMER_FG=\"0\"              # black\nCAPSULE_PROMPT_TIMER_BG=\"6\"              # cyan\nCAPSULE_PROMPT_DELIMTER_FG=\"12\"          # grey\n\nCAPSULE_PROMPT_STAGED_SIGN=\"*\"\nCAPSULE_PROMPT_UNSTAGED_SIGN=\"+\"\nCAPSULE_PROMPT_TIMER_SIGN=\" \"\nCAPSULE_PROMPT_DELIMTER=\"\"\nCAPSULE_PROMPT_SIGN=\"󱞩\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42lm%2Fcapsule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42lm%2Fcapsule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42lm%2Fcapsule/lists"}