{"id":17962711,"url":"https://github.com/fgribreau/kubectx","last_synced_at":"2025-03-25T04:32:20.434Z","repository":{"id":47044349,"uuid":"98562060","full_name":"FGRibreau/kubectx","owner":"FGRibreau","description":"Fastest switch between #Kubernetes contexts 🏎 ","archived":false,"fork":false,"pushed_at":"2024-09-06T10:27:48.000Z","size":1201,"stargazers_count":10,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-08T09:54:40.231Z","etag":null,"topics":["cli","kubectl","kubernetes"],"latest_commit_sha":null,"homepage":"https://twitter.com/FGRibreau","language":"JavaScript","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/FGRibreau.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}},"created_at":"2017-07-27T17:08:59.000Z","updated_at":"2024-04-11T18:01:17.000Z","dependencies_parsed_at":"2022-08-28T10:01:16.408Z","dependency_job_id":null,"html_url":"https://github.com/FGRibreau/kubectx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGRibreau%2Fkubectx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGRibreau%2Fkubectx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGRibreau%2Fkubectx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FGRibreau%2Fkubectx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FGRibreau","download_url":"https://codeload.github.com/FGRibreau/kubectx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222035692,"owners_count":16919925,"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":["cli","kubectl","kubernetes"],"created_at":"2024-10-29T11:20:22.300Z","updated_at":"2024-10-29T11:20:22.967Z","avatar_url":"https://github.com/FGRibreau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectx\n\n:star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star:\n\n**Checkout [kubectx-rs](https://github.com/FGRibreau/kubectx-rs) the rust equivalent ([smaller and faster](https://twitter.com/FGRibreau/status/890998705100292096)) with [pre-compiled binairies](https://github.com/FGRibreau/kubectx-rs)**.\n\n:star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star::star:\n\nFastest switch between Kubernetes contexts 🏎.\n\n![kubectx](/docs/kubectx.gif)\n\n### Setup\n\n```bash\nnpm i kubectx -g\n```\n\n### Usage\n\n```sh\n➜  / kubectx\n? Select kubectl context (Use arrow keys)\n  image-charts-production\n❯ killbug-development\n  minikube\n  ouest-france-development\n```\n\n#### Next steps\n\nI wish I could find an [inquirer](https://github.com/SBoudrias/Inquirer.js)-like library in Rust and rewrite this little tool in Rust instead.\n\n- [x] rewrite in Rust\n- [ ] support namespace switch as well (kubens)\n\n#### Related work\n\nkubectx is completly inspired by [kubectx](https://github.com/ahmetb/kubectx) from Ahmet Alp Balkan. I personally prefer the interactive way that's why this project exist :).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgribreau%2Fkubectx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgribreau%2Fkubectx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgribreau%2Fkubectx/lists"}