{"id":19608514,"url":"https://github.com/malax/buildpack-ollama","last_synced_at":"2025-10-10T01:02:29.779Z","repository":{"id":227660373,"uuid":"772060905","full_name":"Malax/buildpack-ollama","owner":"Malax","description":"Cloud Native Buildpack that builds an OCI image with Ollama and a large language model.","archived":false,"fork":false,"pushed_at":"2024-12-01T20:23:01.000Z","size":213,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-20T16:57:28.086Z","etag":null,"topics":["ai","buildpack","llm","ollama"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Malax.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-03-14T13:13:03.000Z","updated_at":"2025-01-15T06:37:11.000Z","dependencies_parsed_at":"2024-03-14T14:38:45.456Z","dependency_job_id":"b0fd983d-a52b-485e-bfd3-c6ed24fb82b1","html_url":"https://github.com/Malax/buildpack-ollama","commit_stats":null,"previous_names":["malax/buildpack-ollama"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Malax/buildpack-ollama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malax%2Fbuildpack-ollama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malax%2Fbuildpack-ollama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malax%2Fbuildpack-ollama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malax%2Fbuildpack-ollama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Malax","download_url":"https://codeload.github.com/Malax/buildpack-ollama/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Malax%2Fbuildpack-ollama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271594375,"owners_count":24786707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"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":["ai","buildpack","llm","ollama"],"created_at":"2024-11-11T10:15:37.120Z","updated_at":"2025-10-10T01:02:24.736Z","avatar_url":"https://github.com/Malax.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"ollama\" height=\"100\" src=\"https://github.com/jmorganca/ollama/assets/3325447/0d0b44e2-8f4a-4e99-9b52-a5c1c741c8f7\"\u003e\n\u003c/div\u003e\n\n# Ollama Cloud Native Buildpack\n[![CI](https://github.com/malax/buildpack-ollama/actions/workflows/ci.yml/badge.svg)](https://github.com/malax/buildpack-ollama/actions/workflows/ci.yml)\n\nThis buildpack builds an OCI image with [Ollama](https://ollama.com/) and a large language model. Configure your model by an Ollama `Modelfile` or use any of the [ready-made models available](https://ollama.com/library).\n\n\u003e [!NOTE]\n\u003e This is an early version of this buildpack. Please report any issues you find so they can get fixed quickly.\n\n## Installing\n\nThe buildpack is currently only available on GitHub. Download the [most recent version from the releases](https://github.com/Malax/buildpack-ollama/releases/latest). This buildpack supports both `amd64` and `arm64` architectures.\n\n## Getting Started\n\nAll the buildpack requires is a `Modelfile` that defines the model. The [`examples`](examples/) directory has a couple of examples. Point `pack` to the Ollama buildpack and the directory containing the `Modelfile` to build your image:\n\n```\npack build my-image -b ollama.cnb --path examples/llama2-cnb-praise\n```\n\nAfter the image has been built, run it with Docker. You also have to map the Ollama port (`11434`) from the container to your local machine to be able to connect to it:\n\n```\ndocker run -p 11434:11434 my-image\n```\n\nYour Ollama instance is now ready to be used. You can either use the API directly with i.e. `curl`:\n\n```\ncurl http://localhost:11434/api/generate -d '{\"model\": \"custom_model\", \"prompt\":\"Hi!\"}'\n```\n\nor use a more sophisticated client like [`oterm`](https://github.com/ggozad/oterm):\n\n![oterm screenshot](oterm_example.png)\n\n## Building\n\nThis buildpack is written in Rust. Make sure you have a current version of Rust installed (i.e. via [rustup](https://rustup.rs/)) as well as `libcnb-cargo` (`cargo install libcnb-cargo`).\n\nRunning `cargo libcnb package` in the root of this repository will build the buildpack. Follow any instructions to install missing dependencies.\n\nUse `--target` to build the buildpack for a different target OS and architecture.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalax%2Fbuildpack-ollama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalax%2Fbuildpack-ollama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalax%2Fbuildpack-ollama/lists"}