{"id":50721146,"url":"https://github.com/crwsolutions/hfget","last_synced_at":"2026-06-10T00:01:26.007Z","repository":{"id":351647431,"uuid":"1211823775","full_name":"crwsolutions/hfget","owner":"crwsolutions","description":"Download hugging face model","archived":false,"fork":false,"pushed_at":"2026-04-15T21:23:29.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-15T23:25:12.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crwsolutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-15T19:33:13.000Z","updated_at":"2026-04-15T21:23:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/crwsolutions/hfget","commit_stats":null,"previous_names":["crwsolutions/hfget"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/crwsolutions/hfget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crwsolutions%2Fhfget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crwsolutions%2Fhfget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crwsolutions%2Fhfget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crwsolutions%2Fhfget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crwsolutions","download_url":"https://codeload.github.com/crwsolutions/hfget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crwsolutions%2Fhfget/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34130642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-10T00:01:16.037Z","updated_at":"2026-06-10T00:01:25.989Z","avatar_url":"https://github.com/crwsolutions.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hfget\n\nDownload Hugging Face models (GGUF format) with parallel, resumable downloads.\n\n![Download command output](art/download.png)\n\n## Features\n\n- **Parallel downloads** - Download multiple files simultaneously with configurable thread count\n- **Resumable downloads** - Automatically resume interrupted downloads\n- **GGUF support** - Specifically designed for llama.cpp GGUF models\n- **Smart file detection** - Automatically finds matching model and mmproj files\n- **Progress tracking** - Real-time progress bars for all downloads\n- **Llama.cpp integration** - Outputs ready-to-run llama-server command\n\n## Installation\n\nDownload the latest release from the [GitHub releases page](https://github.com/crwsolutions/hfget/releases) or build from source:\n\n```bash\ndotnet build\n```\n\n## Usage\n\n### Download a model\n\n#### With Default command\n\n```bash\nhfget \u003cmodel\u003e [targetDir]\n```\n\n#### Or with explicit command\n\n```bash\nhfget download \u003cmodel\u003e [targetDir]\n```\n\n**Aliases:** `get`\n\n**Arguments:**\n- `\u003cmodel\u003e` - Model identifier in format `author/model:variant`\n- `[targetDir]` - Destination directory (default: current directory)\n\n**Options:**\n- `--token \u003ctoken\u003e` - Hugging Face API token (for private models)\n- `--threads \u003ccount\u003e` - Number of parallel download threads (default: 4)\n- `-f, --folder` - Create a folder with the model name\n\n### List model files\n\n```bash\nhfget list \u003cmodel\u003e\n```\n\n**Arguments:**\n- `\u003cmodel\u003e` - Model identifier in format `author/model`\n\n**Options:**\n- `--token \u003ctoken\u003e` - Hugging Face API token (for private models)\n\n![List command output](art/list.png)\n\n## Examples\n\n### Download a model to current directory (default)\n\n```bash\nhfget download bartowski/Llama-3.2-1B-Instruct-GGUF:q4_k_m\n```\n\nThis will:\n1. Search for a `.gguf` file containing `q4_k_m` in the filename\n2. Look for an associated `mmproj` file (for vision models)\n3. Download matching files to the current directory\n4. Print a command to run with `llama-server.exe`\n\n### Download a model to a specific directory\n\n```bash\nhfget download bartowski/Llama-3.2-1B-Instruct-GGUF:q4_k_m ./models\n```\n\n### Download with custom thread count\n\n```bash\nhfget get \"mistralai/Mistral-7B-Instruct-v0.3:q4_k_m\" --threads 8 ./models\n```\n\n### Download a private model\n\n```bash\nhfget download --token hf_XXXXXXXXXX private-user/private-model:q5_k_m\n```\n\n### Download with folder organization\n\n```bash\nhfget download -f unsloth/Qwen3.5-2B-GGUF:IQ2_XXS ./models\n```\n\nThis will:\n1. Search for a `.gguf` file containing `IQ2_XXS` in the filename\n2. Look for an associated `mmproj` file (for vision models)\n3. Create a folder `models/unsloth_Qwen3.5-2B-GGUF_IQ2_XXS`\n4. Download files with their original names inside the folder\n5. Print a command to run with `llama-server.exe`\n\n### List available files in a model\n\n```bash\nhfget list bartowski/Llama-3.2-1B-Instruct-GGUF\n```\n\nOutput shows all files with their types (GGUF, mmproj, other) and sizes.\n\nAfter downloading, hfget displays a ready-to-run command:\n\n```\nRun command:\n.\\llama-server.exe -m \"./models/model.gguf\" -mm \"./models/mmproj.gguf\"\n```\n\n## How It Works\n\n1. **Parse model identifier** - Extracts repository name and variant from input\n2. **Fetch file list** - Queries Hugging Face API for repository files\n3. **Find matching files** - Searches for `.gguf` files containing the variant and `mmproj` files\n4. **Download files** - Downloads files in parallel with progress tracking\n5. **Generate command** - Outputs a ready-to-run llama.cpp server command\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrwsolutions%2Fhfget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrwsolutions%2Fhfget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrwsolutions%2Fhfget/lists"}