{"id":13895007,"url":"https://github.com/tsub/s3-edit","last_synced_at":"2026-01-26T13:30:42.976Z","repository":{"id":57528387,"uuid":"101184158","full_name":"tsub/s3-edit","owner":"tsub","description":"Edit directly a file on Amazon S3 in CLI","archived":false,"fork":false,"pushed_at":"2022-08-19T07:26:49.000Z","size":74,"stargazers_count":81,"open_issues_count":2,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-25T00:33:06.169Z","etag":null,"topics":["aws","aws-s3","cli","go","golang","s3"],"latest_commit_sha":null,"homepage":"","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/tsub.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}},"created_at":"2017-08-23T13:37:46.000Z","updated_at":"2024-08-15T12:46:48.000Z","dependencies_parsed_at":"2022-08-30T11:50:45.941Z","dependency_job_id":null,"html_url":"https://github.com/tsub/s3-edit","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/tsub/s3-edit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsub%2Fs3-edit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsub%2Fs3-edit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsub%2Fs3-edit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsub%2Fs3-edit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsub","download_url":"https://codeload.github.com/tsub/s3-edit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsub%2Fs3-edit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28779339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T11:46:04.308Z","status":"ssl_error","status_checked_at":"2026-01-26T11:46:02.664Z","response_time":59,"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-s3","cli","go","golang","s3"],"created_at":"2024-08-06T18:01:55.573Z","updated_at":"2026-01-26T13:30:42.932Z","avatar_url":"https://github.com/tsub.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# s3-edit\n\nEdit directly a file on Amazon S3 in CLI.\n\n[![GitHub release](https://img.shields.io/github/release/tsub/s3-edit.svg?style=flat-square)](https://github.com/tsub/s3-edit/releases)\n[![CircleCI branch](https://img.shields.io/circleci/project/github/tsub/s3-edit/master.svg?style=flat-square)](https://circleci.com/gh/tsub/s3-edit/tree/master)\n[![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](https://godoc.org/github.com/tsub/s3-edit)\n[![MIT license](https://img.shields.io/github/license/tsub/s3-edit.svg?style=flat-square)](https://github.com/tsub/s3-edit/blob/master/LICENSE)\n\n## Installation\n\n### Use go get\n\n```\n$ go get -u github.com/tsub/s3-edit\n```\n\n### Install with Homebrew\n\nFor macOS and Linux\n\n```\n$ brew install tsub/s3-edit/s3-edit\n```\n\n### Get binary from GitHub releases\n\nDownload latest binary from https://github.com/tsub/s3-edit/releases\n\n## Requirements\n\n* AWS credentials\n* Upload files to S3 in advance\n\nFor examples, use aws-cli\n\n```\n$ aws configure --profile myaccount\n$ export AWS_PROFILE=myaccount\n```\n\nOther methods,\n\n```\n$ export AWS_ACCESS_KEY_ID=xxxx\n$ export AWS_SECRET_ACCESS_KEY=xxxx\n$ export AWS_REGION=ap-northeast-1\n```\n\n## Usage\n\nUpload the file to S3 in advance.\n\n```\n$ echo \"This is a test file.\" \u003e myfile.txt\n$ aws s3 cp test.txt s3://mybucket/myfile.txt\n```\n\nTo directly edit a file on S3, use `edit` subcommand.\n\n```\n$ s3-edit edit s3://mybucket/myfile.txt\n```\n\nThen, open a file with the default editor specified by `$EDITOR`.\n\n[![https://gyazo.com/96c9225da700f91e7b44c04f439fdd23](https://i.gyazo.com/96c9225da700f91e7b44c04f439fdd23.png)](https://gyazo.com/96c9225da700f91e7b44c04f439fdd23)\n\nWhen you close the editor after edit, a file is automatically re-uploaded to S3.\n\n```\n$ aws s3 cp s3://mybucket/myfile.txt -\nThis is a test file.\nEdited with s3-edit.\n```\n\n## Development\n\n### Requirements\n\n* Golang \u003e= 1.17\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsub%2Fs3-edit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsub%2Fs3-edit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsub%2Fs3-edit/lists"}