{"id":49181376,"url":"https://github.com/nlamirault/g1c","last_synced_at":"2026-04-23T01:31:14.805Z","repository":{"id":297475838,"uuid":"996906116","full_name":"nlamirault/g1c","owner":"nlamirault","description":"A terminal-based UI application for managing Google Cloud instances, inspired by k9s for Kubernetes and e1s for ECS","archived":false,"fork":false,"pushed_at":"2025-12-19T19:15:51.000Z","size":397,"stargazers_count":29,"open_issues_count":9,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-20T05:28:17.338Z","etag":null,"topics":["google-cloud","ratatui","rust","tui"],"latest_commit_sha":null,"homepage":"https://github.com/nlamirault/g1c","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nlamirault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","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":"DCO","cla":null}},"created_at":"2025-06-05T16:37:47.000Z","updated_at":"2025-12-17T19:19:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"580c44f8-b2b5-4880-87c4-aaa06500a46c","html_url":"https://github.com/nlamirault/g1c","commit_stats":null,"previous_names":["nlamirault/g1c"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/nlamirault/g1c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fg1c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fg1c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fg1c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fg1c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlamirault","download_url":"https://codeload.github.com/nlamirault/g1c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fg1c/sbom","scorecard":{"id":1237444,"data":{"date":"2025-09-11T04:53:16Z","repo":{"name":"github.com/nlamirault/g1c","commit":"bc5285048158422d45bc9d008deb548068b68f63"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":6.9,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 18 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1","Info: detected update tool: RenovateBot: .github/renovate.json5:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   8 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:  13 out of  13 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/ossf.yml:24","Info: jobLevel 'actions' permission set to 'read': .github/workflows/ossf.yml:23","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/release.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yml:107","Info: jobLevel permissions set to 'read-all': .github/workflows/release.yml:118","Info: topLevel 'contents' permission set to 'read': .github/workflows/build.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:13","Info: topLevel permissions set to 'read-all': .github/workflows/ossf.yml:15","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:12"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Signed-Releases","score":10,"reason":"2 out of the last 2 releases have a total of 2 signed artifacts.","details":["Info: provenance for release artifact: multiple.intoto.jsonl: https://github.com/nlamirault/g1c/releases/tag/v0.2.0","Info: provenance for release artifact: multiple.intoto.jsonl: https://github.com/nlamirault/g1c/releases/tag/v0.1.17"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2024-0436","Warn: Project is vulnerable to: RUSTSEC-2025-0047 / GHSA-qx2v-8332-m4fv","Warn: Project is vulnerable to: RUSTSEC-2025-0055 / GHSA-xwfj-jgwm-7wp5"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Contributors","score":3,"reason":"project has 1 contributing companies or organizations -- score normalized to 3","details":["Info: found contributions from: swan"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"18 out of 18 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-09-11T08:03:46.410Z","repository_id":297475838,"created_at":"2025-09-11T08:03:46.410Z","updated_at":"2025-09-11T08:03:46.410Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32162601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["google-cloud","ratatui","rust","tui"],"created_at":"2026-04-23T01:31:13.574Z","updated_at":"2026-04-23T01:31:14.690Z","avatar_url":"https://github.com/nlamirault.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# g1c - Google Cloud Instances Terminal UI Manager\n\n[![GitHub Release](https://img.shields.io/github/release/nlamirault/g1c.svg?logo=github)](https://github.com/nlamirault/g1c/releases)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/nlamirault/g1c/blob/main/LICENSE)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/nlamirault/g1c/badge)](https://scorecard.dev/viewer/?uri=github.com/nlamirault/g1c)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10711/badge)](https://bestpractices.coreinfrastructure.org/projects/10711)\n\nA terminal user interface for monitoring and managing Google Cloud Instances, inspired by\n[k9s](https://github.com/derailed/k9s) for Kubernetes, [e1s](https://github.com/keidarcy/e1s) for AWS EC2.\n\n![g1c Screenshot](assets/main-view.png)\n\n## Features\n\n- 🖥️ Real-time monitoring of Google Cloud VM instances\n- 🔍 Filter and search instances by various attributes\n- ⚡ Perform common operations (start, stop, restart, etc.)\n- 🔄 Auto-refresh with configurable intervals\n- 🌍 Support for multiple projects and regions\n- 🔐 Authentication using Google Cloud credentials\n- 🎨 Customizable UI with different color themes\n\n## Prerequisites\n\n- Rust and Cargo installed (version 1.75.0 or higher recommended)\n- Google Cloud SDK (gcloud CLI) installed and configured\n- Active Google Cloud account with appropriate permissions\n- A Google Cloud project with Compute Engine API enabled\n\n## Installation\n\n### From Source\n\n```bash\n# Clone the repository\ngit clone https://github.com/nlamirault/g1c.git\ncd g1c\n\n# Build and install\nmake install\n```\n\n### Using Cargo\n\n```bash\ncargo install g1c\n```\n\n## Usage\n\n```bash\n# View instances from default configured project\ng1c\n\n# View instances from a specific project\ng1c --project my-project-id\n\n# View instances from a specific region\ng1c --region us-central1   # or -g us-central1\n\n# View instances with refresh interval of 5 seconds\ng1c --refresh 5   # or -r 5\n```\n\n## Keyboard Shortcuts\n\n| Key                | Action                    |\n| ------------------ | ------------------------- |\n| `q`, `Ctrl+c`      | Quit                      |\n| `?`                | Show help                 |\n| `↑`, `↓`, `j`, `k` | Navigate up/down          |\n| `Enter`            | Show instance details     |\n| `f`                | Filter instances          |\n| `r`                | Refresh data              |\n| `s`                | Start instance            |\n| `S`                | Stop instance             |\n| `R`                | Restart instance          |\n| `d`                | Delete instance           |\n| `/`                | Search                    |\n| `ESC`              | Close popup/cancel action |\n\n## Configuration\n\ng1c will look for configuration in the following locations:\n\n1. Command line arguments\n2. Environment variables\n3. Configuration file at `~/.config/g1c/config.toml`\n\nExample configuration file:\n\n```toml\ndefault_project = \"my-project-id\"\ndefault_region = \"us-central1\"\nrefresh_interval = 3 # seconds\ntheme = \"dark\"\n```\n\n## Authentication\n\ng1c uses the standard Google Cloud authentication methods through the gcloud CLI. Make sure you have:\n\n1. Google Cloud SDK installed and configured\n2. Authenticated with `gcloud auth login`\n3. Set a default project with `gcloud config set project PROJECT_ID` or use the `--project` flag\n\nYou can check your authentication status with:\n\n```bash\nmake check-env\n```\n\n## SLSA\n\nAll _artifacts_ provided by this repository meet [SLSA L3](https://slsa.dev/spec/v1.0/levels#build-l3)\n\n### Verify SLSA provenance\n\nUsing the [Github CLI]():\n\n```shell\n$ gh attestation verify --owner nlamirault e2c_darwin_arm64_v0.1.2\ngh attestation verify --owner nlamirault g1c_0.1.16_darwin_arm64.sbom.json\nLoaded digest sha256:b8a7adf91b122b488118d50cddfb808cd161ba04f989de5a5f434f5fe85773d3 for file://g1c_0.1.16_darwin_arm64.sbom.json\nLoaded 1 attestation from GitHub API\n✓ Verification succeeded!\n\nsha256:b8a7adf91b122b488118d50cddfb808cd161ba04f989de5a5f434f5fe85773d3 was attested by:\nREPO            PREDICATE_TYPE                  WORKFLOW\nnlamirault/g1c  https://slsa.dev/provenance/v1  .github/workflows/release.yml@refs/tags/v0.1.16\n```\n\n## SBOM\n\nYou could use [trivy](https://trivy.dev) to read SBOM file:\n\n```shell\n$ trivy sbom\n2025-06-09T16:57:57+02:00       INFO     [vuln] Vulnerability scanning is enabled\n2025-06-09T16:57:57+02:00       INFO     Detected SBOM format    format=\"spdx-json\"\n2025-06-09T16:57:57+02:00       INFO     Number of language-specific files       num=0\n```\n\nor with [grype](https://github.com/anchore/grype):\n\n```shell\n$ cat ./g1c_0.1.16_darwin_arm64.sbom.json | grype\nNo vulnerabilities found\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nApache Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlamirault%2Fg1c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlamirault%2Fg1c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlamirault%2Fg1c/lists"}