{"id":47201960,"url":"https://github.com/syedazeez337/kuberift","last_synced_at":"2026-03-13T13:34:24.437Z","repository":{"id":340077355,"uuid":"1163863415","full_name":"syedazeez337/kuberift","owner":"syedazeez337","description":"Fuzzy-first interactive Kubernetes resource navigator built on skim","archived":false,"fork":false,"pushed_at":"2026-03-01T08:23:01.000Z","size":29277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-01T10:51:07.063Z","etag":null,"topics":["cli","devops","fuzzy-search","k8s","kubectl","kubernetes","rust","tui"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/syedazeez337.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-22T09:15:52.000Z","updated_at":"2026-03-01T08:23:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/syedazeez337/kuberift","commit_stats":null,"previous_names":["syedazeez337/kubefuzz","syedazeez337/kuberift"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/syedazeez337/kuberift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syedazeez337%2Fkuberift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syedazeez337%2Fkuberift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syedazeez337%2Fkuberift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syedazeez337%2Fkuberift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syedazeez337","download_url":"https://codeload.github.com/syedazeez337/kuberift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syedazeez337%2Fkuberift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30467803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","devops","fuzzy-search","k8s","kubectl","kubernetes","rust","tui"],"created_at":"2026-03-13T13:34:23.660Z","updated_at":"2026-03-13T13:34:24.421Z","avatar_url":"https://github.com/syedazeez337.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kf — KubeRift\n\n\u003e A fuzzy-first interactive Kubernetes resource navigator\n\n`kf` lets you fuzzy-search every resource across every namespace in your cluster from a single terminal window. Select one or many, then describe, exec, tail logs, delete, port-forward, restart, or dump YAML — all without typing a single `kubectl` command.\n\n![demo](https://raw.githubusercontent.com/syedazeez337/kuberift/master/docs/media/demo.gif)\n\n---\n\n## Features\n\n- **Fuzzy search everything** — pods, deployments, services, secrets, configmaps, nodes, namespaces, PVCs, jobs, cronjobs, statefulsets, daemonsets, ingresses — all at once\n- **Live preview pane** — inline `describe`, YAML manifest, or pod logs, cycled with `ctrl-p`\n- **Live watch** — resources appear and update in real time as the cluster changes; deleted resources show `[DELETED]`\n- **Unhealthy-first ordering** — `CrashLoopBackOff`, `Error`, `ImagePullBackOff` pods surface to the top automatically\n- **Color-coded status** — red for critical, yellow for warning, green for healthy, dimmed for deleted\n- **Multi-select bulk actions** — `tab` to select multiple resources, then describe/delete/restart them all at once\n- **Multi-cluster support** — watch all kubeconfig contexts simultaneously with `--all-contexts`, or switch contexts interactively with `ctrl-x`\n- **Context persistence** — last-used context is remembered across sessions\n- **Demo mode** — works without a cluster; shows sample data so you can explore the UI\n\n---\n\n## Documentation\n\nA full user manual — installation, every keybinding, all actions, architecture, multi-cluster workflows, and the story of how skim shaped the design — is available as a compiled PDF:\n\n**[📄 docs/manual/kuberift-manual.pdf](docs/manual/kuberift-manual.pdf)**\n\n---\n\n## Requirements\n\n- Rust toolchain (`cargo`) — to build from source\n- `kubectl` in `$PATH` — used for all actions (describe, logs, exec, delete, etc.)\n- A valid kubeconfig (`~/.kube/config` or `$KUBECONFIG`) — optional; demo mode activates automatically if absent\n\n---\n\n## Installation\n\n```bash\ngit clone https://github.com/syedazeez337/kuberift.git\ncd kuberift\ncargo build --release\n# Binary is at target/release/kf\n# Optionally move it somewhere on your PATH:\nsudo mv target/release/kf /usr/local/bin/kf\n```\n\n\u003e **Note:** The skim dependency is pulled automatically from a patched git fork during `cargo build`. No separate clone is required.\n\n---\n\n## Usage\n\n```\nkf [RESOURCE] [OPTIONS]\n```\n\n### Show all resources (default)\n\n```bash\nkf\n```\n\nOpens the TUI with every resource type streaming from the current kubeconfig context.\n\n### Filter to a specific resource type\n\n```bash\nkf pods        # or: pod, po\nkf deploy      # or: deployment, deployments\nkf svc         # or: service, services\nkf sts         # or: statefulset, statefulsets\nkf ds          # or: daemonset, daemonsets\nkf cm          # or: configmap, configmaps\nkf secret      # or: secrets\nkf ing         # or: ingress, ingresses\nkf node        # or: nodes, no\nkf ns          # or: namespace, namespaces\nkf pvc         # or: persistentvolumeclaim\nkf job         # or: jobs\nkf cj          # or: cronjob, cronjobs\n```\n\n### Use a specific context\n\n```bash\nkf --context my-prod-cluster\n```\n\nOverrides both the kubeconfig current context and the last-saved context.\n\n### Watch all contexts simultaneously\n\n```bash\nkf --all-contexts\n```\n\nStreams resources from every context in your kubeconfig in parallel. Each item is prefixed with its cluster name (color-coded per cluster).\n\n---\n\n## Keybindings\n\n### Navigation\n\n| Key | Action |\n|-----|--------|\n| Type anything | Fuzzy filter the list in real time |\n| `↑` / `↓` | Move cursor |\n| `tab` | Toggle selection on current item (multi-select) |\n| `esc` | Quit |\n\n### Actions (on selected item(s))\n\n| Key | Action | Multi-select |\n|-----|--------|:---:|\n| `enter` | `kubectl describe` | ✓ |\n| `ctrl-l` | Stream pod logs (`--tail=200`) | ✓ |\n| `ctrl-e` | `kubectl exec -it` into shell | — |\n| `ctrl-d` | Delete with `y/N` confirmation | ✓ |\n| `ctrl-f` | Port-forward (prompts for local/remote port) | — |\n| `ctrl-r` | `kubectl rollout restart` (deploy/sts/ds) | ✓ |\n| `ctrl-y` | Print YAML to stdout | ✓ |\n\n### Preview \u0026 context\n\n| Key | Action |\n|-----|--------|\n| `ctrl-p` | Cycle preview mode: **describe → yaml → logs** |\n| `ctrl-x` | Open context picker — switch cluster without restarting |\n\n---\n\n## Preview Modes\n\nThe right-hand preview pane updates as you move the cursor. Press `ctrl-p` to cycle through three modes:\n\n| Mode | Content |\n|------|---------|\n| `describe` | `kubectl describe \u003cresource\u003e` output |\n| `yaml` | `kubectl get \u003cresource\u003e -o yaml` |\n| `logs` | Last 100 lines of pod logs (pods only) |\n\n---\n\n## Multi-cluster Mode\n\n```bash\nkf --all-contexts\n```\n\nAll contexts from your kubeconfig are loaded in parallel. Items are prefixed with the cluster name:\n\n```\npod   prod-cluster/default/api-server-7d9f     Running   2d\npod   staging/default/api-server-5c2a          Pending   5m\n```\n\nEach cluster gets a distinct color so items are immediately identifiable.\n\n### Switching contexts interactively\n\nPress `ctrl-x` while `kf` is running to open a secondary fuzzy picker showing all your kubeconfig contexts. Selecting a context restarts the resource stream from that cluster. The selected context is saved to `~/.config/kuberift/last_context` and restored on the next launch.\n\n---\n\n## Status Colors\n\n| Color | Meaning | Example statuses |\n|-------|---------|-----------------|\n| Red | Critical — needs attention | `CrashLoopBackOff`, `Error`, `ImagePullBackOff`, `OOMKilled`, `Failed`, `Evicted` |\n| Yellow | Warning — transitional | `Pending`, `Terminating`, `Init:0/1`, `ContainerCreating` |\n| Green | Healthy | `Running`, `Succeeded`, `Active`, `Bound`, `ClusterIP` |\n| Gray | Gone | `[DELETED]`, `Unknown` |\n\nUnhealthy resources (red) automatically sort to the top of the list so critical issues are visible immediately without scrolling.\n\n---\n\n## Demo Mode\n\nIf `kubectl` cannot connect to a cluster (no kubeconfig, invalid context, or network error), `kf` falls back to demo mode and displays 11 sample resources so you can explore the interface:\n\n```bash\nKUBECONFIG=/nonexistent kf\n# [kuberift] No cluster (...). Showing demo data.\n```\n\n---\n\n## Additional Options\n\n```bash\nkf -n production          # restrict to the 'production' namespace\nkf --read-only            # disable delete, exec, port-forward, rollout-restart\nkf --kubeconfig ~/alt.yaml --context staging  # use an alternate kubeconfig\n```\n\n---\n\n## Config \u0026 State\n\n| File | Purpose |\n|------|---------|\n| `~/.config/kuberift/last_context` | Last-used context, restored on next launch |\n| `$XDG_RUNTIME_DIR/\u003cpid\u003e/preview-mode` | Preview mode state (0=describe, 1=yaml, 2=logs) |\n| `$XDG_RUNTIME_DIR/\u003cpid\u003e/preview-toggle` | Shell script installed at startup for ctrl-p |\n\n---\n\n## License\n\nMIT — same as [skim](https://github.com/skim-rs/skim), the underlying fuzzy engine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyedazeez337%2Fkuberift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyedazeez337%2Fkuberift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyedazeez337%2Fkuberift/lists"}