{"id":20310826,"url":"https://github.com/progrium/go-vscode","last_synced_at":"2026-01-12T01:55:27.448Z","repository":{"id":255441138,"uuid":"850142491","full_name":"progrium/go-vscode","owner":"progrium","description":"VSCode as a Go library","archived":false,"fork":false,"pushed_at":"2024-09-05T18:25:16.000Z","size":86,"stargazers_count":40,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T12:06:39.746Z","etag":null,"topics":["editor","golang","golang-library","vscode"],"latest_commit_sha":null,"homepage":"","language":"Go","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/progrium.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-08-31T01:23:38.000Z","updated_at":"2024-11-13T14:29:11.000Z","dependencies_parsed_at":"2024-11-14T17:36:15.704Z","dependency_job_id":null,"html_url":"https://github.com/progrium/go-vscode","commit_stats":null,"previous_names":["progrium/go-vscode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fgo-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fgo-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fgo-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progrium%2Fgo-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progrium","download_url":"https://codeload.github.com/progrium/go-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438493,"owners_count":21103409,"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":["editor","golang","golang-library","vscode"],"created_at":"2024-11-14T17:34:39.481Z","updated_at":"2025-04-11T16:03:56.808Z","avatar_url":"https://github.com/progrium.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-vscode\n\nVSCode as a Go library. Embed an editor in your Go programs.\n\nSet up `vscode.Workbench` with a terminal factory and filesystem (both of which can be virtual), then you can serve it as an HTTP handler to access your custom VSCode editor in the browser. Use with a webview window library to give the editor its own native window.\n\n```go\nfunc main() {\n\tcwd, _ := os.Getwd()\n\tfsys := workingpathfs.New(osfs.New(), cwd)\n\n\twb := \u0026vscode.Workbench{\n\t\tProductConfiguration: product.Configuration{\n\t\t\tNameLong: \"My Custom Editor\",\n\t\t},\n\t\tMakePTY: func() (io.ReadWriteCloser, error) {\n\t\t\tcmd := exec.Command(\"/bin/bash\")\n\t\t\treturn pty.Start(cmd)\n\t\t},\n\t\tFS: fsys,\n\t}\n\n\tlog.Println(\"editor serving on :8080 ...\")\n\tif err := http.ListenAndServe(\":8080\", wb); err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n}\n\n```\n\nLet me know what else you'd like to customize from Go!\n\n## Requires Git LFS\n\nThis Go module embeds a 17MB release artifact of [vscode-web](https://github.com/progrium/vscode-web) stored with Git LFS, which [doesn't quite work](https://github.com/golang/go/issues/47308) with `go get` seamlessly yet. \n\nYou must have [Git LFS](https://git-lfs.com/) installed and you must also set `export GOPRIVATE=github.com/progrium/go-vscode` as a workaround before running `go mod tidy` or `go get github.com/progrium/go-vscode`. Otherwise your built project will panic with `zip: not a valid zip file`.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrium%2Fgo-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrium%2Fgo-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrium%2Fgo-vscode/lists"}