{"id":18581912,"url":"https://github.com/coder/picopilot","last_synced_at":"2025-04-09T14:15:56.398Z","repository":{"id":245930805,"uuid":"819564231","full_name":"coder/picopilot","owner":"coder","description":"GitHub Copilot in 70 lines of JavaScript","archived":false,"fork":false,"pushed_at":"2024-06-24T20:56:08.000Z","size":5571,"stargazers_count":247,"open_issues_count":1,"forks_count":23,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-02T02:42:48.303Z","etag":null,"topics":[],"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/coder.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-06-24T19:01:33.000Z","updated_at":"2025-03-22T08:10:21.000Z","dependencies_parsed_at":"2024-06-24T22:16:11.912Z","dependency_job_id":null,"html_url":"https://github.com/coder/picopilot","commit_stats":null,"previous_names":["coder/picopilot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fpicopilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fpicopilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fpicopilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fpicopilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/picopilot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054194,"owners_count":21039952,"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-11-07T00:08:19.613Z","updated_at":"2025-04-09T14:15:56.366Z","avatar_url":"https://github.com/coder.png","language":"JavaScript","readme":"\u003ch1\u003e\n    \u003cimg src=\"./icon.png\" width=\"48px\" style=\"margin-right: 12px;\" align=\"center\"\u003e\n    Picopilot\n\u003c/h1\u003e\n\n[![Visual Studio Marketplace](https://vsmarketplacebadges.dev/version/coder.picopilot.svg)](https://marketplace.visualstudio.com/items?itemName=coder.picopilot)\n\n[GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) in [70 lines of JavaScript](./extension.js).\n\nSystem Prompt:\n\n```text\nYou provide code completion results given a prefix and suffix.\n\nRespond with a JSON object with a key 'completion' containing the suggestion to place between the prefix and suffix.\n\nFollow existing code styles. Listen to comments at the end of the prefix. The language is \"${document.languageId}\".\n```\n\nResponse Format:\n\n```json\n{\n  \"completion\": \"\u003ccode\u003e\"\n}\n```\n\n## Demos\n\n_All demos are unedited._\n\n### Creating a terminal game\n\n![Creating a terminal game](./demo/terminal-game.gif)\n\n### Generating aphorisms\n\n![Generating aphorisms](./demo/aphorisms.gif)\n\n### Using the GitHub API\n\n![GitHub API](./demo/github-api.gif)\n\n## Install\n\nLaunch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.\n\n```text\next install coder.picopilot\n```\n\nFeel free to configure a custom prompt in your settings.\n\n## Development\n\nClone the repository, run `bun install`, `bun watch`, open VS Code, and press F5 to launch the extension in development mode.\n\nCreate your own AI extensions from this repo. It's remarkably simple!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fpicopilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fpicopilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fpicopilot/lists"}