{"id":31767893,"url":"https://github.com/webdevtodayjason/compute-connect","last_synced_at":"2025-10-10T01:48:48.429Z","repository":{"id":261093254,"uuid":"883245436","full_name":"webdevtodayjason/compute-connect","owner":"webdevtodayjason","description":"A streamlined Bash script for managing Google Cloud Platform (GCP) SSH connections, allowing users to easily set projects, list active instances, and connect with minimal effort.","archived":false,"fork":false,"pushed_at":"2024-11-04T16:22:25.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T01:30:31.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webdevtodayjason.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":"2024-11-04T16:17:16.000Z","updated_at":"2024-11-04T16:22:29.000Z","dependencies_parsed_at":"2024-11-04T17:30:41.539Z","dependency_job_id":"238ce402-e6b7-4107-83ee-d763c2232545","html_url":"https://github.com/webdevtodayjason/compute-connect","commit_stats":null,"previous_names":["webdevtodayjason/compute-connect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webdevtodayjason/compute-connect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fcompute-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fcompute-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fcompute-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fcompute-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevtodayjason","download_url":"https://codeload.github.com/webdevtodayjason/compute-connect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevtodayjason%2Fcompute-connect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002400,"owners_count":26083375,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2025-10-10T01:48:37.290Z","updated_at":"2025-10-10T01:48:48.421Z","avatar_url":"https://github.com/webdevtodayjason.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project: Compute Connect\n\n## Overview\n`compute-connect` is a streamlined Bash script (`start.sh`) designed to simplify the process of managing SSH connections to Google Cloud Platform (GCP) compute instances. The script allows users to easily select a project, list active compute instances, and connect to a desired instance with minimal effort.\n\n## Features\n- Lists available GCP projects from a configuration file (`projects.config`).\n- Enables selection of a project to set as the active project.\n- Displays all active compute instances with numbering for easy selection.\n- Facilitates SSH connections to the selected compute instance.\n\n## Prerequisites\n- [Google Cloud SDK](https://cloud.google.com/sdk/docs/install) installed and configured on your local machine.\n- Access to a GCP project with compute instances.\n- A `projects.config` file containing a list of project IDs.\n\n## Installation\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/webdevtodayjason/compute-connect.git\n   cd compute-connect\n   ```\n2. Ensure `start.sh` has executable permissions:\n   ```bash\n   chmod +x start.sh\n   ```\n3. Create a `projects.config` file in the same directory and add your project IDs, one per line:\n   ```\n   another-project-id\n   another-project-id2\n   another-project-id65\n   another-project-id23\n   ```\n\n## Usage\nRun the script using:\n```bash\n./start.sh\n```\n\n### Steps in the Script\n1. **Project Selection**: The script reads the `projects.config` file and displays a numbered list of projects.\n2. **Instance Listing**: Lists all active instances in the selected project, with numbering for easy reference.\n3. **SSH Connection**: Prompts the user to select an instance by number and connects via SSH.\n\n## Notes\n- Ensure you have the necessary permissions to access the specified GCP projects and instances.\n- Update the `projects.config` file as needed to add or remove project IDs.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## Contributing\nPull requests are welcome. For significant changes, please open an issue first to discuss what you would like to change.\n\n## Author\nCreated by [Jason](https://github.com/webdevtodayjason).\n\n## Acknowledgements\n- Google Cloud Platform documentation\n- [Bash Scripting Guide](https://www.gnu.org/software/bash/manual/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevtodayjason%2Fcompute-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevtodayjason%2Fcompute-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevtodayjason%2Fcompute-connect/lists"}