{"id":20363945,"url":"https://github.com/dimchansky/ollama-dl-go","last_synced_at":"2026-04-28T00:32:54.336Z","repository":{"id":262674812,"uuid":"887999095","full_name":"dimchansky/ollama-dl-go","owner":"dimchansky","description":"Download models from the Ollama library, without Ollama","archived":false,"fork":false,"pushed_at":"2024-11-13T16:46:11.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T18:47:16.228Z","etag":null,"topics":["downloader","gguf","llm","ollama"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dimchansky.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}},"created_at":"2024-11-13T16:33:11.000Z","updated_at":"2024-11-13T16:46:14.000Z","dependencies_parsed_at":"2024-11-13T17:50:45.369Z","dependency_job_id":null,"html_url":"https://github.com/dimchansky/ollama-dl-go","commit_stats":null,"previous_names":["dimchansky/ollama-dl-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimchansky/ollama-dl-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Follama-dl-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Follama-dl-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Follama-dl-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Follama-dl-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimchansky","download_url":"https://codeload.github.com/dimchansky/ollama-dl-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimchansky%2Follama-dl-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32361477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["downloader","gguf","llm","ollama"],"created_at":"2024-11-15T00:09:02.379Z","updated_at":"2026-04-28T00:32:54.321Z","avatar_url":"https://github.com/dimchansky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ollama-dl (Go Version)\n\nA fast and efficient Go implementation for downloading models from the [Ollama Library](https://ollama.com/library). This tool mirrors the functionality of the [original Python version](https://github.com/akx/ollama-dl) but offers the performance benefits of a statically-compiled Go binary. With `ollama-dl` written in Go, you get the advantage of native concurrency and a single executable without additional Python dependencies.\n\n## 🚀 Key Features\n- **Concurrent Downloads**: Downloads multiple model layers simultaneously using Go's goroutines.\n- **Resumable Downloads**: Supports partial downloads using HTTP range requests, allowing you to resume interrupted downloads.\n- **Progress Display**: Provides a live progress bar to keep you informed of the download status.\n- **Simple CLI**: Easy to use, with minimal setup required.\n\n## 📦 Installation\n\n1. **Build from source**:\n   Ensure you have [Go 1.22+](https://golang.org/dl/) installed, then run:\n\n   ```bash\n   git clone https://github.com/dimchansky/ollama-dl-go.git\n   cd ollama-dl-go\n   go build -o ollama-dl\n\n2. **Download the binary (coming soon)**:\n   Precompiled binaries will be available for Windows, macOS, and Linux.\n\n## 🛠 Example Usage\n\nTo download the default latest version of a model (e.g., Meta Llama 3.2):\n\n```\n$ ./ollama-dl llama3.2\nlibrary-llama3.2-latest/license-fcc5a6bec9da.txt 100% |█████████████████| (7.7/7.7 kB, 6.5 MB/s)\nlibrary-llama3.2-latest/template-966de95ca8a6.txt 100% |████████████████| (1.4/1.4 kB, 1.8 MB/s)\nlibrary-llama3.2-latest/params-56bb8bd477a5.json 100% |████████████████████| (96/96 B, 257 kB/s)\nlibrary-llama3.2-latest/license-a70ff7e570d9.txt 100% |██████████████████| (6.0/6.0 kB, 12 MB/s)\nlibrary-llama3.2-latest/model-dde5aa3fc5ff.gguf 100% |██████████████████| (2.0/2.0 GB, 78 MB/s)\nDownload complete\n```\n\nTo download a specific version (e.g., llama3.2:3b):\n\n```\n$ ./ollama-dl llama3.2:3b\nlibrary-llama3.2-3b/params-56bb8bd477a5.json 100% |████████████████████████| (96/96 B, 107 kB/s)\nlibrary-llama3.2-3b/template-966de95ca8a6.txt 100% |████████████████████| (1.4/1.4 kB, 3.0 MB/s)\nlibrary-llama3.2-3b/license-fcc5a6bec9da.txt 100% |█████████████████████| (7.7/7.7 kB, 3.6 MB/s)\nlibrary-llama3.2-3b/license-a70ff7e570d9.txt 100% |█████████████████████| (6.0/6.0 kB, 785 kB/s)\nlibrary-llama3.2-3b/model-dde5aa3fc5ff.gguf 100% |██████████████████████| (2.0/2.0 GB, 74 MB/s)\nDownload complete\n```\n\n## 🔥 Why Use the Go Version?\n\n-\tSpeed: Go’s concurrency model and lightweight binaries ensure fast and reliable downloads.\n-\tNo Dependencies: Unlike the Python version, there is no need for a Python environment or virtualenv. Just a single executable.\n-\tCross-Platform: Works seamlessly on Windows, macOS, and Linux.\n\n## 🛡 Requirements\n\n- Go 1.22 or higher (for building from source)\n- Internet connection (obviously, for downloading the models)\n\n## 🧑‍💻 Using with llama.cpp\n\nOnce you have downloaded a model, you can use it directly with llama.cpp:\n```\n$ llama-cli -m library-llama3.2-3b/model-dde5aa3fc5ff.gguf -p \"We're no strangers to love\"\n```\n\n## 🛠 Development\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/dimchansky/ollama-dl-go.git\n   cd ollama-dl-go\n   ```\n\n2. Build and test:\n   \n   ```bash\n   go build -o ollama-dl\n   ./ollama-dl llama3.2:3b\n   ```\n\n3. Run the tests:\n\n   ```bash\n   go test ./...\n   ```\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## ❤️ Contributions\n\nContributions are welcome! Feel free to open issues or submit pull requests to improve the functionality or add new features.\n\n## 📞 Support\n\nIf you encounter any problems or have questions, please open an issue on GitHub or contact the maintainers.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchansky%2Follama-dl-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimchansky%2Follama-dl-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimchansky%2Follama-dl-go/lists"}