{"id":49181377,"url":"https://github.com/nlamirault/e2c","last_synced_at":"2026-04-23T01:31:14.812Z","repository":{"id":297233483,"uuid":"996100698","full_name":"nlamirault/e2c","owner":"nlamirault","description":"A terminal-based UI application for managing AWS EC2 instances.","archived":false,"fork":false,"pushed_at":"2026-03-27T07:16:34.000Z","size":824,"stargazers_count":19,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T07:21:59.007Z","etag":null,"topics":["aws","aws-ec2","tui"],"latest_commit_sha":null,"homepage":"https://github.com/nlamirault/e2c","language":"Go","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-04T13:07:00.000Z","updated_at":"2026-03-27T07:15:53.000Z","dependencies_parsed_at":"2025-06-04T20:22:17.856Z","dependency_job_id":"2786506e-d624-4497-9080-cca20d25874f","html_url":"https://github.com/nlamirault/e2c","commit_stats":null,"previous_names":["nlamirault/e2c"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/nlamirault/e2c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fe2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fe2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fe2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fe2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlamirault","download_url":"https://codeload.github.com/nlamirault/e2c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Fe2c/sbom","scorecard":{"id":926111,"data":{"date":"2025-08-26T08:10:27Z","repo":{"name":"github.com/nlamirault/e2c","commit":"683b0bf2da314b0fe39f3a8c39237f21a67e578e"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7,"checks":[{"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","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":"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":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:32","Info: jobLevel 'actions' permission set to 'read': .github/workflows/ossf.yml:23","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ossf.yml:24","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yml:79","Info: jobLevel permissions set to 'read-all': .github/workflows/release.yml:156","Info: topLevel 'contents' permission set to 'read': .github/workflows/build.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","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","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  14 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:  10 out of  10 third-party GitHubAction dependencies pinned","Info:   2 out of   2 containerImage 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":"Maintained","score":0,"reason":"project was created within the last 90 days. Please review its contents carefully","details":["Warn: Repository was created within the last 90 days."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (28) 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":"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/e2c/releases/tag/v0.3.0","Info: provenance for release artifact: multiple.intoto.jsonl: https://github.com/nlamirault/e2c/releases/tag/v0.2.0"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:15"],"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":"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":"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":"14 out of 14 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-08-26T10:12:27.547Z","repository_id":297233483,"created_at":"2025-08-26T10:12:27.547Z","updated_at":"2025-08-26T10:12:27.547Z"},"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":["aws","aws-ec2","tui"],"created_at":"2026-04-23T01:31:13.619Z","updated_at":"2026-04-23T01:31:14.764Z","avatar_url":"https://github.com/nlamirault.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e2c - AWS EC2 Terminal UI Manager\n\n[![GitHub Release](https://img.shields.io/github/release/nlamirault/e2c.svg?logo=github)](https://github.com/nlamirault/e2c/releases)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/nlamirault/e2c/blob/main/LICENSE)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/nlamirault/e2c/badge)](https://scorecard.dev/viewer/?uri=github.com/nlamirault/e2c)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10710/badge)](https://bestpractices.coreinfrastructure.org/projects/10710)\n\n`e2c` is a terminal-based UI application for managing AWS EC2 instances, inspired by [k9s](https://github.com/derailed/k9s) for Kubernetes and [e1s](https://github.com/keidarcy/e1s/) for ECS.\n\n![e2c screenshot](assets/main-view.png)\n\n## Features\n\n- 🖥️ Terminal-based UI for managing EC2 instances\n- 🔄 View instance details, status, and resource utilization\n- ⚡ Start, stop, reboot, and terminate instances\n- 🔍 Filter and search for instances across multiple regions\n- 🌍 Monitor resource metrics\n- 🔐 Support for multiple AWS profiles and regions\n\n## Installation\n\n### Using Go\n\n```bash\ngo install github.com/nlamirault/e2c/cmd/e2c@latest\n```\n\n### Binary Release\n\nDownload the latest binary from the [releases page](https://github.com/nlamirault/e2c/releases).\n\n## Usage\n\n```bash\n# Start e2c with default profile\ne2c\n\n# Start with a specific AWS region\ne2c --region eu-west-1\n\n# Show help\ne2c --help\n```\n\n## Keyboard Shortcuts\n\n| Key   | Action                               |\n| ----- | ------------------------------------ |\n| `?`   | Help                                 |\n| `q`   | Quit                                 |\n| `Esc` | Back/Close Dialog                    |\n| `f`   | Filter instances                     |\n| `r`   | Refresh                              |\n| `s`   | Start selected instance              |\n| `p`   | Stop selected instance               |\n| `b`   | Reboot selected instance             |\n| `t`   | Terminate selected instance          |\n| `c`   | Connect to selected instance via SSH |\n| `l`   | View instance logs                   |\n| `/`   | Search                               |\n\n## Configuration\n\ne2c uses the AWS SDK's default credential chain, supporting:\n\n- Environment variables\n- AWS credentials file\n- IAM roles for EC2/ECS\n\nConfiguration file located at `~/.config/e2c/config.yaml`:\n\n```yaml\naws:\n  default_region: eu-west-1\n  refresh_interval: 30s\n\nui:\n  # Compact mode reduces whitespace in the UI\n  compact: false\n```\n\n### Environment Variables\n\nThe following environment variables can be used to configure e2c:\n\n- `E2C_LOG_LEVEL`: Set the logging level (debug, info, warn, error)\n- `E2C_LOG_FORMAT`: Set the log format (\"json\" or \"text\"). Default is text format with colors\n\nExamples:\n\n```bash\n# Set environment variables before running e2c\nE2C_LOG_FORMAT=json E2C_LOG_LEVEL=debug e2c\n```\n\nNote: Command line flags take precedence over environment variables.\n\n## Requirements\n\n- AWS credentials configured\n- Appropriate IAM permissions to list and manage EC2 instances\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\nLoaded digest sha256:da91348beede82d764792e7166e03e3dfe29eb935b5bcb7c6dca337877fac5c8 for file://e2c_darwin_arm64_v0.1.2\nLoaded 1 attestation from GitHub API\n✓ Verification succeeded!\n\nsha256:da91348beede82d764792e7166e03e3dfe29eb935b5bcb7c6dca337877fac5c8 was attested by:\nREPO            PREDICATE_TYPE                  WORKFLOW\nnlamirault/e2c  https://slsa.dev/provenance/v1  .github/workflows/release.yml@refs/tags/v0.1.2\n```\n\n## SBOM\n\nYou could use [trivy](https://trivy.dev) to read SBOM file:\n\n```shell\n$ trivy sbom ~/Downloads/e2c.exe_0.1.3_windows_arm64.sbom.json\n2025-06-06T17:39:52+02:00       INFO    [vuln] Vulnerability scanning is enabled\n2025-06-06T17:39:52+02:00       INFO    Detected SBOM format    format=\"spdx-json\"\n2025-06-06T17:39:52+02:00       INFO    Number of language-specific files       num=1\n2025-06-06T17:39:52+02:00       INFO    [gobinary] Detecting vulnerabilities...\n2025-06-06T17:39:52+02:00       WARN    Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.55/docs/scanner/vulnerability#severity-selection for details.\n\n (gobinary)\n\nTotal: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)\n\n┌─────────┬────────────────┬──────────┬────────┬───────────────────┬────────────────┬──────────────────────────────────────────────────────────┐\n│ Library │ Vulnerability  │ Severity │ Status │ Installed Version │ Fixed Version  │                          Title                           │\n├─────────┼────────────────┼──────────┼────────┼───────────────────┼────────────────┼──────────────────────────────────────────────────────────┤\n│ stdlib  │ CVE-2025-22871 │ MEDIUM   │ fixed  │ 1.22.12           │ 1.23.8, 1.24.2 │ net/http: Request smuggling due to acceptance of invalid │\n│         │                │          │        │                   │                │ chunked data in net/http...                              │\n│         │                │          │        │                   │                │ https://avd.aquasec.com/nvd/cve-2025-22871               │\n└─────────┴────────────────┴──────────┴────────┴───────────────────┴────────────────┴──────────────────────────────────────────────────────────┘\n```\n\nor with [grype](https://github.com/anchore/grype):\n\n```shell\n$ cat ./e2c.exe_0.1.3_windows_arm64.sbom.json | grype\nNAME    INSTALLED  FIXED-IN        TYPE       VULNERABILITY   SEVERITY\nstdlib  go1.22.12  1.23.8, 1.24.2  go-module  CVE-2025-22871  Critical\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%2Fe2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlamirault%2Fe2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlamirault%2Fe2c/lists"}