helix-gpt **⚠️ ARCHIVED**: This repository is now archived. Please use the new Go port instead: - **helix-assist** - Much more efficient Go implementation fixing common issues Code assistant language server for Helix with support for Copilot/OpenAI/Codeium. Completion example Code actions example (space + a) Available code actions: How? When a trigger character is pressed it will request a completion and use the entire file as context. Default triggers characters: can be overwritten with Use to manually trigger completions, and to
trigger code actions that only use the selected code as context. Install This was made to run with Bun, but you can also use a precompiled binary. 25) Configuration You can configure helix-gpt by exposing either the environment variables below, or by passing the command line options directly to helix-gpt in the Helix configuration step. All configuration options NOTE: Copilot is the best choice due to the model and implementation. Environment Variables Command Line Arguments (Add to in
Helix configuration) You can also use: To fetch your Copilot token. Helix Configuration Example for TypeScript tested with Helix 23. 10 (older versions may not support multiple LSPs) In case you opt out of the precompiled binary, modify as follows: All Done If there are any issues, refer to the helix-gpt and Helix log files: Special Thanks rsc1975 for their Bun Dockerfile.
Frequently asked questions
How many stars and forks are recorded?
leona/helix-gpt has 694 stars and 44 forks.
What is the repository rank?
leona/helix-gpt is ranked 14,903.
What language and category are recorded?
leona/helix-gpt has 694 stars, uses TypeScript and belongs to Applications.
Which repository is closest in rank?
leona/helix-gpt is compared with vilassn/whisper_android, ranked 14,905 with 694 stars.
README
helix-gpt
⚠️ ARCHIVED: This repository is now archived. Please use the new Go port instead:
helix-assist - Much more efficient Go implementation fixing common issues
Code assistant language server for Helix with support for Copilot/OpenAI/Codeium.
Completion example
Code actions example (space + a)
Available code actions: resolveDiagnosticsgenerateDocsimproveCoderefactorFromCommentwriteTest
How?
When a trigger character is pressed it will request a completion and use the entire file as context.
Default triggers characters: ["{", "(", " "] can be overwritten with --triggerCharacters "{||(|| "
Use ctrl+x to manually trigger completions, and space+a to trigger code actions that only use the selected code as context.
Install
This was made to run with Bun, but you can also use a precompiled binary.
You can configure helix-gpt by exposing either the environment variables below, or by passing the command line options directly to helix-gpt in the Helix configuration step.
NOTE: Copilot is the best choice due to the model and implementation.
Environment Variables
OPENAI_API_KEY=123 # Required if using openai handler
COPILOT_API_KEY=123 # Required if using copilot handler
CODEIUM_API_KEY=123 # Not required, will use public API key otherwise.
HANDLER=openai # openai/copilot/codeium
Command Line Arguments
(Add to command = "helix-gpt" in Helix configuration)
--handler openai --openaiKey 123
You can also use:
helix-gpt --authCopilot
To fetch your Copilot token.
Helix Configuration
Example for TypeScript .helix/languages.toml tested with Helix 23.10 (older versions may not support multiple LSPs)