shithub: s3


branches: front

Clone

clone: git://shithub.us/moody/s3 gits://shithub.us/moody/s3
push: hjgit://shithub.us/moody/s3
patches to: moody@posixcafe.org

Last commit

2429cdb1 – Jacob Moody <moody@posixcafe.org> authored on 2025/09/05 16:45
add faux-factotum for keeping the secret

About

Basics:
	Requires $AWS_ACCESS_KEY_ID and $AWS_ENDPOINT_URL_S3 defined
	Usage: s3/cmd cat s3://bucket/file
	Usage: s3/cmd cp source s3://bucket/destination
	Usage: s3/cmd cp s3://bucket/source <destination>
	Usage: s3/cmd rm s3://bucket/path
	Usage: s3/cmd ls s3://bucket/prefix

Specifics/Bugs:
	Uses webfs(4)
	$AWS_DEFAULT_REGION is "auto" if not specified
	Only basic upload/download, no multipart
	Only AWS4-HMAC-SHA256 support
	Only tested against Cloudflare R2
	No direct s3:// → s3://
	A fs would be better
	This code sucks
	No refunds