HugBucket is a multi-protocol gateway that exposes Hugging Face Storage Buckets over S3 and FTP. Pick the protocol that fits your toolchain and have it running in minutes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sachnun/hugbucket/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Docker
Required to run HugBucket from the pre-built image. Install Docker Desktop or Docker Engine before continuing.
Hugging Face token
A Hugging Face access token (
HF_TOKEN). Generate one from your HF account settings with read/write access to your buckets.Run HugBucket
- S3 mode
- FTP mode
Start the container
Pull and run the HugBucket image with S3 mode enabled. Replace
hf_xxxxx with your real Hugging Face token.AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are the credentials your S3 client will use to authenticate with HugBucket — they are not your AWS credentials. Set them to any value you choose and use the same values in your S3 client configuration.Environment variables
| Variable | Required | Description |
|---|---|---|
MODE | Yes | Run mode: s3 or ftp |
HF_TOKEN | Yes | Hugging Face access token |
AWS_ACCESS_KEY_ID | S3 only | S3 access key your client will use |
AWS_SECRET_ACCESS_KEY | S3 only | S3 secret key your client will use |
FTP_USERNAME | FTP only | FTP login username |
FTP_PASSWORD | FTP only | FTP login password |