{"id":15432920,"url":"https://github.com/simonw/llm-llamafile","last_synced_at":"2025-04-15T22:51:45.610Z","repository":{"id":235054032,"uuid":"789991435","full_name":"simonw/llm-llamafile","owner":"simonw","description":"Access llamafile localhost models via LLM","archived":false,"fork":false,"pushed_at":"2024-04-22T04:10:19.000Z","size":6,"stargazers_count":14,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T07:53:18.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.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-04-22T04:06:18.000Z","updated_at":"2024-09-17T05:53:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"a80e5258-9da8-4098-89d7-4fddd73d16b5","html_url":"https://github.com/simonw/llm-llamafile","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"6f5318971449300047a7ad6e66dcf6f451c044f1"},"previous_names":["simonw/llm-llamafile"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-llamafile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-llamafile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-llamafile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-llamafile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/llm-llamafile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249167434,"owners_count":21223505,"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","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":"2024-10-01T18:29:18.694Z","updated_at":"2025-04-15T22:51:45.574Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":["Browse The Shelves"],"sub_categories":["Local LLM developer tools"],"readme":"# llm-llamafile\n\n[![PyPI](https://img.shields.io/pypi/v/llm-llamafile.svg)](https://pypi.org/project/llm-llamafile/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-llamafile?include_prereleases\u0026label=changelog)](https://github.com/simonw/llm-llamafile/releases)\n[![Tests](https://github.com/simonw/llm-llamafile/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-llamafile/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-llamafile/blob/main/LICENSE)\n\nAccess llamafile localhost models via LLM\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-llamafile\n```\n## Usage\n\nMake sure you have a `llamafile` running on `localhost`, serving an OpenAI compatible API endpoint on port 8080.\n\nYou can then use `llm` to interact with that model like so:\n\n```bash\nllm -m llamafile \"3 neat characteristics of a pelican\"\n```\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-llamafile\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\nllm install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fllm-llamafile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fllm-llamafile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fllm-llamafile/lists"}