{"id":42589691,"url":"https://github.com/yieldray/code-oss","last_synced_at":"2026-05-01T04:04:32.380Z","repository":{"id":316460519,"uuid":"1063475423","full_name":"YieldRay/code-oss","owner":"YieldRay","description":"VSCode OSS build without mangling or minification.","archived":false,"fork":false,"pushed_at":"2026-03-06T14:03:12.000Z","size":59102,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-06T16:17:24.706Z","etag":null,"topics":["vscode","vscode-web"],"latest_commit_sha":null,"homepage":"https://yieldray.github.io/code-oss/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YieldRay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T17:15:48.000Z","updated_at":"2026-03-06T14:01:52.000Z","dependencies_parsed_at":"2026-03-06T16:12:43.355Z","dependency_job_id":null,"html_url":"https://github.com/YieldRay/code-oss","commit_stats":null,"previous_names":["yieldray/vscode-web-build","yieldray/code-oss"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/YieldRay/code-oss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldRay%2Fcode-oss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldRay%2Fcode-oss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldRay%2Fcode-oss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldRay%2Fcode-oss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YieldRay","download_url":"https://codeload.github.com/YieldRay/code-oss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YieldRay%2Fcode-oss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30322648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["vscode","vscode-web"],"created_at":"2026-01-28T23:09:58.928Z","updated_at":"2026-03-10T03:03:50.911Z","avatar_url":"https://github.com/YieldRay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code-oss\n\n[![Build VSCode Web](https://github.com/YieldRay/vscode-web-build/actions/workflows/build.yml/badge.svg)](https://github.com/YieldRay/vscode-web-build/actions/workflows/build.yml)\n[![GitHub Release](https://img.shields.io/github/v/release/YieldRay/code-oss)](https://github.com/YieldRay/code-oss/releases)\n[![NPM](https://img.shields.io/npm/v/code-oss)](https://www.npmjs.com/package/code-oss)\n\nThis project produces a [VSCode OSS](https://github.com/microsoft/vscode) web build **without mangling or minification**.\n\nTo get the official build, please use [this link](https://update.code.visualstudio.com/api/update/web-standalone/stable/latest), see also [@vscode/test-web](https://github.com/microsoft/vscode-test-web/blob/main/src/server/download.ts).\n\nFor alternative build methods, see [@github1s/vscode-web](https://github.com/conwnet/github1s/tree/master/vscode-web), [Felx-B/vscode-web](https://github.com/Felx-B/vscode-web) and [progrium/vscode-web](https://github.com/progrium/vscode-web).\n\n## Usage\n\nMinimal Setup.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"utf-8\" /\u003e\n    \u003cmeta\n      name=\"viewport\"\n      content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no\"\n    /\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://raw.esm.sh/code-oss@latest/out/vs/workbench/workbench.web.main.internal.css\" /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\u003c/body\u003e\n  \u003cscript type=\"module\"\u003e\n    const CDN_PREFIX = \"https://raw.esm.sh/code-oss@latest\";\n    globalThis._VSCODE_FILE_ROOT = `${CDN_PREFIX}/out/`;\n    await import(`${CDN_PREFIX}/out/nls.messages.js`);\n    // You can implement `workbench.js` yourself; this project provides a convenient implementation for quick setup\n    const { default: init } = await import(`${CDN_PREFIX}/workbench.js`);\n    init();\n  \u003c/script\u003e\n\u003c/html\u003e\n```\n\nUse the convenient `workbench.js` for manual setup.  \nMost of the time, you'll want to set up a custom built-in extension.  \nFor example, [this project](https://github.com/YieldRay/vscode-web-extension-memfs) sets up a memfs so all files can be stored in the browser memory.\n\n```js\nconst CDN_PREFIX = \"https://raw.esm.sh/code-oss@latest\";\nglobalThis._VSCODE_FILE_ROOT = `${CDN_PREFIX}/out/`;\nawait import(`${CDN_PREFIX}/out/nls.messages.js`);\nconst { default: init } = await import(`${CDN_PREFIX}/workbench.js`);\nconst url = new URL(location.href);\n\ninit(document.body, {\n  /** https://github.com/Microsoft/vscode/blob/main/product.json */\n  productConfiguration: {\n    nameShort: \"Code - OSS\",\n    nameLong: \"Code - OSS\",\n    applicationName: \"code-oss\",\n    dataFolderName: \".vscode-oss\",\n    extensionsGallery: {\n      serviceUrl: \"https://open-vsx.org/vscode/gallery\",\n      itemUrl: \"https://open-vsx.org/vscode/item\",\n      resourceUrlTemplate: \"https://openvsxorg.blob.core.windows.net/resources/{publisher}/{name}/{version}/{path}\",\n    },\n    extensionEnabledApiProposals: {},\n    /** this config is required for `webWorkerExtensionHostIframe.html` to work */\n    webEndpointUrlTemplate: CDN_PREFIX,\n    /** this is also required */\n    quality: \"stable\",\n  },\n  /**\n   * optional:\n   * this sets the default workspace folder URI\n   */\n  folderUri: {\n    scheme: \"my-file-scheme\",\n    authority: url.host,\n    query: url.search,\n    path: url.pathname,\n  },\n  /**\n   * optional:\n   * check out this project to see how to set up built-in extensions\n   * https://github.com/YieldRay/vscode-web-extension-memfs\n   */\n  additionalBuiltinExtensions: [\n    {\n      scheme: url.protocol.replace(\":\", \"\"),\n      authority: url.host,\n      path: url.pathname + \"path-to-extension\",\n    },\n  ],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyieldray%2Fcode-oss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyieldray%2Fcode-oss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyieldray%2Fcode-oss/lists"}