Skip to content

GitHub Copilot in Many lines of JavaScript

License

Notifications You must be signed in to change notification settings

KhaoDoesDev/khaopilot

 
 

Repository files navigation

KhaoPilot (Fork of Picopilot by Coder)

Picopilot on Visual Studio Marketplace: Visual Studio Marketplace

GitHub Copilot in Many lines of JavaScript.

System Prompt:

You provide code completion results given a prefix and suffix.

Respond with a JSON object with a key 'completion' containing the suggestion to place between the prefix and suffix.

Follow existing code styles. Listen to comments at the end of the prefix. The language is "${document.languageId}".

Response Format:

{
  "completion": "<code>"
}

Demos (Picopilot Provided)

All demos are unedited.

Creating a terminal game

Creating a terminal game

Generating aphorisms

Generating aphorisms

Using the GitHub API

GitHub API

Feel free to configure a custom prompt in your settings.

Development

Clone the repository, run bun install, bun watch, open VS Code, and press F5 to launch the extension in development mode.

Create your own AI extensions from this repo. It's remarkably simple!

About

GitHub Copilot in Many lines of JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%