{"id":23174129,"url":"https://github.com/dhth/ecsv","last_synced_at":"2025-07-08T02:35:39.894Z","repository":{"id":227746415,"uuid":"772304279","full_name":"dhth/ecsv","owner":"dhth","description":"Quickly check the versions of your systems running in ECS tasks across various environments","archived":false,"fork":false,"pushed_at":"2025-06-01T21:08:36.000Z","size":763,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T08:04:36.899Z","etag":null,"topics":["aws","bubbletea","ecs"],"latest_commit_sha":null,"homepage":"https://tools.dhruvs.space/ecsv","language":"Go","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/dhth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2024-03-14T23:34:53.000Z","updated_at":"2025-06-01T21:08:34.000Z","dependencies_parsed_at":"2024-08-19T19:33:59.246Z","dependency_job_id":"0c0ad4ef-b9f3-4ad2-bbc4-c12d3ec4ea73","html_url":"https://github.com/dhth/ecsv","commit_stats":null,"previous_names":["dhth/ecsv"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/dhth/ecsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fecsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fecsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fecsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fecsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhth","download_url":"https://codeload.github.com/dhth/ecsv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fecsv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606868,"owners_count":22883556,"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":["aws","bubbletea","ecs"],"created_at":"2024-12-18T05:19:21.116Z","updated_at":"2025-07-08T02:35:39.886Z","avatar_url":"https://github.com/dhth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecsv\n\n[![Build Workflow Status](https://img.shields.io/github/actions/workflow/status/dhth/ecsv/main.yml?style=flat-square)](https://github.com/dhth/ecsv/actions/workflows/main.yml)\n[![Vulncheck Workflow Status](https://img.shields.io/github/actions/workflow/status/dhth/ecsv/vulncheck.yml?style=flat-square\u0026label=vulncheck)](https://github.com/dhth/ecsv/actions/workflows/vulncheck.yml)\n[![Latest Release](https://img.shields.io/github/release/dhth/ecsv.svg?style=flat-square)](https://github.com/dhth/ecsv/releases/latest)\n[![Commits Since Latest Release](https://img.shields.io/github/commits-since/dhth/ecsv/latest?style=flat-square)](https://github.com/dhth/ecsv/releases)\n\n`ecsv` helps you quickly check the versions of your systems running in ECS tasks\nacross various environments.\n\n![ecsv-terminal](https://github.com/user-attachments/assets/9faec97f-dda7-442c-a890-6059492b848b)\n\n💾 Installation\n---\n\n**homebrew**:\n\n```sh\nbrew install dhth/tap/ecsv\n```\n\n**go**:\n\n```sh\ngo install github.com/dhth/ecsv@latest\n```\n\nOr get the binaries directly from a\n[release](https://github.com/dhth/ecsv/releases). Read more about verifying the\nauthenticity of released artifacts [here](#-verifying-release-artifacts).\n\n⚡️ Usage\n---\n\nCreate a configuration file that looks like the following.\n\n```yaml\nenv-sequence: [\"qa\", \"staging\"]\nsystems:\n- key: service-a\n  envs:\n  - name: qa\n    aws-config-source: profile:::qa\n    aws-region: eu-central-1\n    cluster: 1brd-qa\n    service: service-a-fargate\n    container-name: service-a-qa-Service\n  - name: staging\n    aws-profile: qa\n    aws-config-source: profile:::staging\n    aws-region: eu-central-1\n    cluster: 1brd-staging\n    service: service-a-fargate\n    container-name: service-a-staging-Service\n- key: service-b\n  envs:\n  - name: qa\n    aws-config-source: profile:::qa\n    aws-region: eu-central-1\n    cluster: 1brd-qa\n    service: service-b-fargate\n    container-name: service-b-qa-Service\n  - name: staging\n    aws-config-source: profile:::staging\n    aws-region: eu-central-1\n    cluster: 1brd-staging\n    service: service-b-fargate\n    container-name: service-b-staging-Service\n```\n\n🔠 Output Formats\n---\n\nBesides the default ANSI output, `ecsv` can also output data in plaintext and\nHTML formats.\n\n```bash\necsv -f table\n```\n\n![ecsv-table](https://github.com/user-attachments/assets/9003ab4c-09c0-44f8-b6a6-6933a0088f6a)\n\n```bash\necsv -f html \u003e output.html\n```\n\n![ecsv-html](https://github.com/user-attachments/assets/dbde169a-3253-42cd-b5ff-0f2f99cecf58)\n\nRead more about outputting HTML in the [examples](./examples/html-template)\ndirectory.\n\n🔐 Verifying release artifacts\n---\n\nIn case you get the `ecsv` binary directly from a [release][4], you may want to\nverify its authenticity. Checksums are applied to all released artifacts, and\nthe resulting checksum file is signed using\n[cosign](https://docs.sigstore.dev/cosign/installation/).\n\nSteps to verify (replace `A.B.C` in the commands listed below with the version\nyou want):\n\n1. Download the following files from the release:\n\n    - ecsv_A.B.C_checksums.txt\n    - ecsv_A.B.C_checksums.txt.pem\n    - ecsv_A.B.C_checksums.txt.sig\n\n2. Verify the signature:\n\n   ```shell\n   cosign verify-blob ecsv_A.B.C_checksums.txt \\\n       --certificate ecsv_A.B.C_checksums.txt.pem \\\n       --signature ecsv_A.B.C_checksums.txt.sig \\\n       --certificate-identity-regexp 'https://github\\.com/dhth/ecsv/\\.github/workflows/.+' \\\n       --certificate-oidc-issuer \"https://token.actions.githubusercontent.com\"\n   ```\n\n3. Download the compressed archive you want, and validate its checksum:\n\n   ```shell\n   curl -sSLO https://github.com/dhth/ecsv/releases/download/vA.B.C/ecsv_A.B.C_linux_amd64.tar.gz\n   sha256sum --ignore-missing -c ecsv_A.B.C_checksums.txt\n   ```\n\n3. If checksum validation goes through, uncompress the archive:\n\n   ```shell\n   tar -xzf ecsv_A.B.C_linux_amd64.tar.gz\n   ./ecsv\n   # profit!\n   ```\n\n≈ Related tools\n---\n\n- [ecscope](https://github.com/dhth/ecscope) lets you monitor ECS resources and\n  deployments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fecsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhth%2Fecsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fecsv/lists"}