{"id":27261472,"url":"https://github.com/mambucodev/kode.sh","last_synced_at":"2026-04-30T10:03:22.882Z","repository":{"id":267341998,"uuid":"859338128","full_name":"mambucodev/kode.sh","owner":"mambucodev","description":"CLI tool to instantly open project directories in your preferred IDE 💻","archived":false,"fork":false,"pushed_at":"2024-12-09T19:07:11.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-09T20:23:21.595Z","etag":null,"topics":["bash","ide"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mambucodev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"mambuco","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-09-18T13:49:57.000Z","updated_at":"2024-12-09T19:07:15.000Z","dependencies_parsed_at":"2024-12-09T20:23:26.575Z","dependency_job_id":"5da8839f-0fba-4cf7-82fb-1c699d860b6c","html_url":"https://github.com/mambucodev/kode.sh","commit_stats":null,"previous_names":["mambucodev/kode.sh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mambucodev%2Fkode.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mambucodev%2Fkode.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mambucodev%2Fkode.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mambucodev%2Fkode.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mambucodev","download_url":"https://codeload.github.com/mambucodev/kode.sh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248347691,"owners_count":21088719,"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":["bash","ide"],"created_at":"2025-04-11T05:32:49.584Z","updated_at":"2026-04-30T10:03:17.851Z","avatar_url":"https://github.com/mambucodev.png","language":"Shell","funding_links":["https://ko-fi.com/mambuco"],"categories":[],"sub_categories":[],"readme":"\u003e This tool needs a rewrite. Once done, it's probably be published as a package too. But for now, this is just poorly-written code just for fun.\n\n# kode.sh\n\n`kode.sh` is a bash utility that simplifies opening projects with your preferred Integrated Development Environment (IDE). It allows you to quickly navigate to your project directories and launch them with your chosen IDE, all from the command line.\n\n## Features\n\n- Quickly open projects with your preferred IDE\n- Support for multiple IDEs (Zed, VS Code, IntelliJ IDEA)\n- Easily set and manage default project directories\n- Add custom project locations\n- Remembers your IDE preference for each project\n- Simple command-line interface\n\n## Installation\n\n1. Clone this repository:\n   ```\n   git clone https://github.com/mambucodev/kode-script.git\n   ```\n\n2. Add the following line to your `.bashrc` or `.zshrc`:\n   ```\n   source /path/to/kodesh/kode.sh\n   ```\n\n3. Reload your shell configuration:\n   ```\n   source ~/.bashrc  # or source ~/.zshrc if you're using Zsh\n   ```\n\n## Usage\n\n```\nkode [OPTIONS] [PROJECT] [IDE]\n```\n\n### Options:\n- `--help`: Show the help message\n- `--set-default-dir DIR`: Set the default projects directory\n- `--add-project DIR`: Add a project directory manually\n- `cat`: Display the contents of the config file\n- `ls`: List projects in the default directory and manual projects\n\n### Arguments:\n- `PROJECT`: Name of the project directory\n- `IDE`: (Optional) IDE to use (z: Zed, vs: VS Code, id: IntelliJ IDEA)\n\n### Examples:\n```\nkode myproject vs     # Open 'myproject' with VS Code and set it as the preferred IDE\nkode myproject        # Open 'myproject' with the last used IDE\nkode --set-default-dir ~/work\nkode --add-project ~/documents/project\n```\n\n## Configuration\n\nThe script uses two JSON configuration files stored in `~/.config/kodesh/` (or `$XDG_CONFIG_HOME/kodesh/` if set):\n\n1. `config.json`: Stores the default project directory, manually added projects, and IDE paths.\n2. `ide_preferences.json`: Stores the preferred IDE for each project.\n\nYou can edit these files manually, but it's recommended to use the script's commands for making changes.\n\n## Dependencies\n\n- `jq`: For JSON parsing (must be installed separately)\n- Bash 4.0 or later\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you encounter any problems or have any questions, please open an issue on the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmambucodev%2Fkode.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmambucodev%2Fkode.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmambucodev%2Fkode.sh/lists"}