S3-compatible gateway for Hugging Face Storage Buckets.
You'll need Docker to get started.
docker run -d \
-p 9000:9000 \
-e HF_TOKEN=hf_xxxxx \
-e AWS_ACCESS_KEY_ID=hugbucket \
-e AWS_SECRET_ACCESS_KEY=hugbucket \
ghcr.io/sachnun/hugbucketaws --endpoint-url http://localhost:9000 s3 ls
aws --endpoint-url http://localhost:9000 s3 cp file.txt s3://my-bucket/file.txt| Variable | Description |
|---|---|
HF_TOKEN* |
Hugging Face token |
AWS_ACCESS_KEY_ID |
S3 access key |
AWS_SECRET_ACCESS_KEY |
S3 secret key |
This project uses uv for dependency management.
uv sync
HF_TOKEN=hf_xxxxx uv run hugbucket