{"id":30189645,"url":"https://github.com/sha0coder/nvim-ollama","last_synced_at":"2025-08-12T18:19:55.114Z","repository":{"id":307827632,"uuid":"1030819466","full_name":"sha0coder/nvim-ollama","owner":"sha0coder","description":"NeoVim lazy plugin for using offline AI using ollama","archived":false,"fork":false,"pushed_at":"2025-08-02T12:53:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-02T13:32:57.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sha0coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-08-02T11:48:36.000Z","updated_at":"2025-08-02T12:53:48.000Z","dependencies_parsed_at":"2025-08-02T13:33:05.495Z","dependency_job_id":null,"html_url":"https://github.com/sha0coder/nvim-ollama","commit_stats":null,"previous_names":["sha0coder/nvim-ollama"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sha0coder/nvim-ollama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Fnvim-ollama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Fnvim-ollama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Fnvim-ollama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Fnvim-ollama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sha0coder","download_url":"https://codeload.github.com/sha0coder/nvim-ollama/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha0coder%2Fnvim-ollama/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270111556,"owners_count":24529319,"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-12T02:00:09.011Z","response_time":80,"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":"2025-08-12T18:19:51.122Z","updated_at":"2025-08-12T18:19:55.085Z","avatar_url":"https://github.com/sha0coder.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nvim-ollama  NeoVim AI plugin\n\n\n100% offline NeoVim AI completion using ollama. \n\nBy default it's using `qwen3-coder:30b`\nUse Lazy plugins to install it.\n\n## Usage\n\nby default is manual mode with the keybind F2.\nIn manual mode press F2 and wait a moment.\nIn auto mode (less convinient) is sending every delay time the query to ollama.\n\n## Setup ollama\n\nNote that qwen3 is 16Gb on disk, but is fast, good, offline and don't use much cpu/ram.\n\n```bash\napt install ollama\nollama pull qwen3-coder:30b\n```\n\n## Basic working Lazy configuration \n\n```lua\n{\n  \"sha0coder/nvim-ollama\",\n    opts = {\n        model = \"qwen3-coder:30b\",\n        trigger = \"manual\",\n        keybind = \"\u003cF2\u003e\",\n    }\n}\n```\n\n## More customizable configuration\n\n```lua\n{\n  \"sha0coder/nvim-ollama\",\n    opts = {\n        model = \"qwen3-coder:30b\",\n        trigger = \"auto\",\n        keybind = \"\u003cF2\u003e\",\n        host = \"1.2.3.4\" -- default localhost\n        port = \"11111\" -- default 11434\n        delay = 900 -- default 400\n        context = 20 -- default 15 this is the previous lines to the current line to send to ollama.\n\n\n        system_prompt = [[\n          something\n]]\n\n    }\n}\n```\n\n\n## Default system prompt\n```\nYou are a strict code autocompletion engine. Your only task is to complete programming code.\nReturn exactly one valid line of code. Do not explain anything.\nDo not wrap code in quotes or markdown.\nReturn only code. No comments, no explanations, no formatting, no extra words.\n``` \n\nIts important to use a good prompt for avoiding text or code in markdowns.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha0coder%2Fnvim-ollama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsha0coder%2Fnvim-ollama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha0coder%2Fnvim-ollama/lists"}