HuggingFS
A Web UI for downloading Huggingface repositories.
Install
git clone https://github.com/cocktailpeanut/huggingfs
cd huggingfs
pip install -r requirements.txt
Usage
1. Minimal
Let's say you want to set the root path of the file system as ./models.
Create a file named hfs.json:
{
"fs": [{
"path": "models",
}]
}
Then start the UI:
huggingfs hfs.json
2. Curated Options
The minimal version only lets you download by entering the HuggingFace ID (example: KwaiVGI/LivePortrait).
But often you will want to provide a pre-set options, from which the end users can select from. In this case, you can specify the options array:
{
"fs": [{
"path": "models",
"options": [
"nvidia/Minitron-4B-Base",
"coqui/XTTS-v2",
"KwaiVGI/LivePortrait",
"BAAI/bge-m3",
"vidore/colpali"
]
}]
}
Now start huggingfs
huggingfs hfs.json
3. Multiple Folders
Often you may want to store files to multiple folders.
For example, you may want to allow:
- downloading model checkpoints to
stable-diffusion-webui/models/Stable-diffusion - downloading Loras to
stable-diffusion-webui/models/Lora
In this case you can simply extend the fs array like this:
This will create a dropdown
{
"fs": [{
"path": "stable-diffusion-webui/models/Stable-diffusion",
"options": [
"stabilityai/stable-diffusion-3-medium",
"xinsir/controlnet-union-sdxl-1.0",
"fal/AuraFlow"
]
}, {
"path": "stable-diffusion-webui/models/Lora",
"options": [
"2vXpSwA7/iroiro-lora",
"Cseti/Basic_camera_motion_LoRAs_sd15-ad2-v1"
]
}]
}
And simply restart the app with:
huggingfs hfs.json
Metadata
Release files for huggingfs 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| huggingfs-0.5.tar.gz | 3.3 kB | Without provenance | Details for huggingfs-0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| huggingfs-0.5-py3-none-any.whl | Python 3 | none | any | Details for huggingfs-0.5-py3-none-any.whl |
Total release size: 7.1 kB
Release files / huggingfs-0.5.tar.gz
| Download URL | huggingfs-0.5.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99ae69845fe3f68e61aba822fac2530c52cd446b2e83801b086edff49f5a6300
|
|
BLAKE2b-256 checksum How to use checksums |
3fc09f7c3e0595768c18ffbacbc88eedd906920681c7ee385c592d892d4a4930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.4 importlib-metadata/8.0.0 keyring/24.2.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.6
|
Release files / huggingfs-0.5-py3-none-any.whl
| Download URL | huggingfs-0.5-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5420aeffcd69a74e3990757745baaa18c05642ba8938dc87e74f1ddac5c78579
|
|
BLAKE2b-256 checksum How to use checksums |
25ae666636f94c051e7fe4d05ed3783d06211f04de5ac1ce15159cf4cb49b841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.4 importlib-metadata/8.0.0 keyring/24.2.0 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.6
|
Security for huggingfs 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.