{"id":50490222,"url":"https://github.com/mohammedamarnah/nathm","last_synced_at":"2026-06-02T02:04:09.254Z","repository":{"id":356397143,"uuid":"1232341942","full_name":"mohammedamarnah/nathm","owner":"mohammedamarnah","description":"nathm (Arabic نَظْم — to organize) - a TUI for organization and management of local git branches","archived":false,"fork":false,"pushed_at":"2026-05-07T21:32:06.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T23:26:33.371Z","etag":null,"topics":["branch","cli","git"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mohammedamarnah.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-07T20:47:00.000Z","updated_at":"2026-05-07T21:32:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mohammedamarnah/nathm","commit_stats":null,"previous_names":["mohammedamarnah/nathm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mohammedamarnah/nathm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammedamarnah%2Fnathm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammedamarnah%2Fnathm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammedamarnah%2Fnathm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammedamarnah%2Fnathm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammedamarnah","download_url":"https://codeload.github.com/mohammedamarnah/nathm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammedamarnah%2Fnathm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33802171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["branch","cli","git"],"created_at":"2026-06-02T02:04:07.664Z","updated_at":"2026-06-02T02:04:09.249Z","avatar_url":"https://github.com/mohammedamarnah.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nathm\n\n`nathm` (Arabic نَظْم — *to organize*) is a TUI for organization and management of git branches.\n\n![demo](docs/demo.gif)\n\n## Install\n\nMake sure that Go is installed and is in the `PATH`:\n```bash\necho 'export PATH=\"$PATH:$(go env GOPATH)/bin\"' \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\n```bash\ngo install github.com/mohammedamarnah/nathm@latest\n```\n\n## Usage\n\n### Interactive\n\nIn any git repo:\n\n```bash\nnathm\n```\n\nKeys:\n\n| Key | Action |\n|---|---|\n| `↑`/`↓` or `j`/`k` | navigate |\n| `space` | toggle selection |\n| `a` | select all visible |\n| `A` | clear selection |\n| `d` | safe delete |\n| `D` | force delete |\n| `r` | rename |\n| `c` | checkout |\n| `/` | filter |\n| `s` | cycle sort |\n| `p` | toggle stale-only |\n| `?` | help overlay |\n| `q` | quit |\n\n### Subcommands\n\n```bash\nnathm prune           # confirm-before-delete cleanup of stale branches\nnathm prune --yes     # skip confirmation\nnathm rename old new  # rename a local branch\nnathm list            # TSV output (name, status, age_seconds, ahead, behind)\nnathm list --stale    # only stale branches\nnathm version\n```\n\n## Configuration\n\n`${XDG_CONFIG_HOME:-$HOME/.config}/nathm/config.toml`. Auto-created on first run. Fields:\n\n- `protected_patterns` — globs for branches that can never be deleted/renamed.\n- `base_branches` — preference order for base branch detection.\n- `default_sort` — `stale-first` | `name` | `age`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedamarnah%2Fnathm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammedamarnah%2Fnathm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedamarnah%2Fnathm/lists"}