All Projects → tsub → s3-edit

tsub / s3-edit

Licence: MIT license
Edit directly a file on Amazon S3 in CLI

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to s3-edit

Mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage.
Stars: ✭ 1,962 (+2743.48%)
Mutual labels:  aws-s3, s3
Rust S3
Rust library for interfacing with AWS S3 and other API compatible services
Stars: ✭ 177 (+156.52%)
Mutual labels:  aws-s3, s3
0x4447 product s3 email
📫 A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+4110.14%)
Mutual labels:  aws-s3, s3
Nestjs Multer Extended
💪 Extended MulterModule for NestJS with flexible S3 upload and helpful features
Stars: ✭ 99 (+43.48%)
Mutual labels:  aws-s3, s3
s3cli
Command line tool for S3
Stars: ✭ 21 (-69.57%)
Mutual labels:  aws-s3, s3
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (+62.32%)
Mutual labels:  aws-s3, s3
Are We Consistent Yet
Compare eventual consistency of object stores
Stars: ✭ 157 (+127.54%)
Mutual labels:  aws-s3, s3
S3proxy
Access other storage backends via the S3 API
Stars: ✭ 952 (+1279.71%)
Mutual labels:  aws-s3, s3
s3-fuzzer
🔐 A concurrent, command-line AWS S3 Fuzzer. Written in Go.
Stars: ✭ 43 (-37.68%)
Mutual labels:  aws-s3, s3
lamba-thumbnailer
AWS S3 Video Thumbnailer with Lambda
Stars: ✭ 21 (-69.57%)
Mutual labels:  aws-s3, s3
Radosgw Admin4j
A Ceph Object Storage Admin SDK / Client Library for Java ✨🍰✨
Stars: ✭ 50 (-27.54%)
Mutual labels:  aws-s3, s3
simple-flask-s3-uploader
Simple and easy to use Flask app to upload files to Amazon S3. Based on Python, Flask, and using Boto3. Securely storing your AWS credentials as environment variables. Quick AWS S3 Flask uploader example.
Stars: ✭ 24 (-65.22%)
Mutual labels:  aws-s3, s3
Minio Hs
MinIO Client SDK for Haskell
Stars: ✭ 39 (-43.48%)
Mutual labels:  aws-s3, s3
Terraform Aws S3 Bucket
Terraform module which creates S3 bucket resources on AWS
Stars: ✭ 130 (+88.41%)
Mutual labels:  aws-s3, s3
Aws S3 Scala
Scala client for Amazon S3
Stars: ✭ 35 (-49.28%)
Mutual labels:  aws-s3, s3
Kafka Connect Storage Cloud
Kafka Connect suite of connectors for Cloud storage (Amazon S3)
Stars: ✭ 153 (+121.74%)
Mutual labels:  aws-s3, s3
S3 Permission Checker
Check read, write permissions on S3 buckets in your account
Stars: ✭ 18 (-73.91%)
Mutual labels:  aws-s3, s3
Awslib scala
An idiomatic Scala wrapper around the AWS Java SDK
Stars: ✭ 20 (-71.01%)
Mutual labels:  aws-s3, s3
Node S3 Uploader
Flexible and efficient resize, rename, and upload images to Amazon S3 disk storage. Uses the official AWS Node SDK for transfer, and ImageMagick for image processing. Support for multiple image versions targets.
Stars: ✭ 237 (+243.48%)
Mutual labels:  aws-s3, s3
django-s3file
A lightweight file upload input for Django and Amazon S3
Stars: ✭ 66 (-4.35%)
Mutual labels:  aws-s3, s3

s3-edit

Edit directly a file on Amazon S3 in CLI.

GitHub release CircleCI branch Go Documentation MIT license

Installation

Use go get

$ go get -u github.com/tsub/s3-edit

Install with Homebrew

For macOS and Linux

$ brew install tsub/s3-edit/s3-edit

Get binary from GitHub releases

Download latest binary from https://github.com/tsub/s3-edit/releases

Requirements

  • AWS credentials
  • Upload files to S3 in advance

For examples, use aws-cli

$ aws configure --profile myaccount
$ export AWS_PROFILE=myaccount

Other methods,

$ export AWS_ACCESS_KEY_ID=xxxx
$ export AWS_SECRET_ACCESS_KEY=xxxx
$ export AWS_REGION=ap-northeast-1

Usage

Upload the file to S3 in advance.

$ echo "This is a test file." > myfile.txt
$ aws s3 cp test.txt s3://mybucket/myfile.txt

To directly edit a file on S3, use edit subcommand.

$ s3-edit edit s3://mybucket/myfile.txt

Then, open a file with the default editor specified by $EDITOR.

https://gyazo.com/96c9225da700f91e7b44c04f439fdd23

When you close the editor after edit, a file is automatically re-uploaded to S3.

$ aws s3 cp s3://mybucket/myfile.txt -
This is a test file.
Edited with s3-edit.

Development

Requirements

  • Golang >= 1.17
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].