{"id":22192376,"url":"https://github.com/balisujohn/localpilot","last_synced_at":"2025-07-07T13:38:56.007Z","repository":{"id":190924075,"uuid":"683597249","full_name":"balisujohn/localpilot","owner":"balisujohn","description":"codellama on CPU without Docker","archived":false,"fork":false,"pushed_at":"2024-02-08T05:18:18.000Z","size":95,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-23T20:52:03.939Z","etag":null,"topics":["code","code-llama","codellama","llama","text-generation-webui","vscode","vscode-extension","vscodium","wizardcoder"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/balisujohn.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}},"created_at":"2023-08-27T04:58:19.000Z","updated_at":"2024-09-07T22:47:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9332fe53-a870-4b2b-937a-6bfabab358b1","html_url":"https://github.com/balisujohn/localpilot","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"abd151b7ef70bd20e58db403ea0f302fb01e690c"},"previous_names":["balisujohn/localpilot"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/balisujohn/localpilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balisujohn%2Flocalpilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balisujohn%2Flocalpilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balisujohn%2Flocalpilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balisujohn%2Flocalpilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balisujohn","download_url":"https://codeload.github.com/balisujohn/localpilot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balisujohn%2Flocalpilot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619683,"owners_count":23489554,"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":["code","code-llama","codellama","llama","text-generation-webui","vscode","vscode-extension","vscodium","wizardcoder"],"created_at":"2024-12-02T12:23:00.451Z","updated_at":"2025-07-07T13:38:55.947Z","avatar_url":"https://github.com/balisujohn.png","language":"JavaScript","readme":"# localpilot README\n![A gif showing localpilot's editSelection function being used to change an addition function to a multiplication function](https://github.com/balisujohn/localpilot/assets/20377292/be157d36-e27e-412b-a7bd-8e441de054d0)\n\n\nA very simple vscode extension for using codellama via oobabooga text generation webui. Doesn't require a GPU; recommended for use with https://huggingface.co/TheBloke/CodeLlama-13B-Python-GGML or https://huggingface.co/TheBloke/WizardCoder-Python-13B-V1.0-GGML. Feel free to make issues describing features you want or questions you have about setup.\n\n## How to use\n\n### Quick Install\nIf you want to set it up with as little hassle as possible, you can install via the pre-built vsix files provided in the most recent release:\n\nGo to [`Releases`](https://github.com/balisujohn/localpilot/releases/), then download the latex vsix file and install in from the vscode/vscodium extensions tab.  Note this is in beta and really unpolished.\n\n### Local Build\n\n\nIf you want to modify the extension yourself, you likely will want to build from source. You can do so as follows:\n\nTested on Ubuntu with `node` version v14.20.0 and `npm` version 6.14.17\n\n\nFirst clone the repository, then run \n````\nnpm install\nnpm install -g @vscode/vsce\n````\n\nThen run:\n````\nvsce package\n````\nWhich will generate a vsix file. \n\nYou can load this file directly from vscode or vscodium as an extension.\n\n## Features\n\nBoth `extendSelection` and `editSelection` become available in command palette. I recommend binding them to ctrl-q and ctrl-e respectively. \n\n### Extend Selection\n\nThe code model will extend the text you currently have highlighted.\n![A gif showing localpilot being used to generate an is_prime function in python from its header.](https://github.com/balisujohn/localpilot/assets/20377292/b3952e63-5e26-4bde-9878-9b307f5902d3)\n### Edit Selection\n\nYou will be prompted for a text-based command, then the selected text will be edited according to that command. \n![A gif showing localpilot's editSelection function being used to change an addition function to a multiplication function](https://github.com/balisujohn/localpilot/assets/20377292/be157d36-e27e-412b-a7bd-8e441de054d0)\n\n\n## Requirements\n\nYou need to be running a codellama model in text generation webui with the API mode enabled on the same machine for this extension to work. \n\n## Contributing\nFeel free to contribute improvements and instructions, also feel free to post feature requests as issues.\n\n\n## License\nMIT\n\n\n## Credits\nTemplate generated with https://github.com/Microsoft/vscode-generator-code\n\n\n\n### Template Generator License\nvscode-generator-code\n\nThe MIT License (MIT)\n\nCopyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalisujohn%2Flocalpilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalisujohn%2Flocalpilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalisujohn%2Flocalpilot/lists"}