{"id":20380600,"url":"https://github.com/dxsooo/code-server-masscode","last_synced_at":"2026-02-01T19:32:21.503Z","repository":{"id":183615087,"uuid":"669751048","full_name":"dxsooo/code-server-masscode","owner":"dxsooo","description":"Open VSCode server with massCode inside","archived":false,"fork":false,"pushed_at":"2023-08-03T09:46:27.000Z","size":2659,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T16:45:58.281Z","etag":null,"topics":["masscode","snippets","vscode"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/dxsooo.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}},"created_at":"2023-07-23T10:04:35.000Z","updated_at":"2024-06-10T16:45:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"5635b217-72e1-471a-bdbc-4120eb9c6206","html_url":"https://github.com/dxsooo/code-server-masscode","commit_stats":null,"previous_names":["dxsooo/code-server-masscode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dxsooo/code-server-masscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxsooo%2Fcode-server-masscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxsooo%2Fcode-server-masscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxsooo%2Fcode-server-masscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxsooo%2Fcode-server-masscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxsooo","download_url":"https://codeload.github.com/dxsooo/code-server-masscode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxsooo%2Fcode-server-masscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28987278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["masscode","snippets","vscode"],"created_at":"2024-11-15T02:08:01.434Z","updated_at":"2026-02-01T19:32:21.480Z","avatar_url":"https://github.com/dxsooo.png","language":"Dockerfile","funding_links":[],"categories":["置顶"],"sub_categories":["1、AI应用生态"],"readme":"# Code-server-massCode\n\nThis project is a dockerfile source for the image that intergates vscode server, [massCode](https://masscode.io/) and its extension for vscode([massCode Assistant](https://marketplace.visualstudio.com/items?itemName=AntonReshetov.masscode-assistant)). Taking the advantage of massCode, the image can be deployed as a web IDE that can use customed code snippets.\n\n```mermaid\nflowchart BT\nsubgraph Image\n\tsubgraph IDE\n\t\tMassCodePlugin[massCode Assistant]\n\t\tVScode\n\tend\n\tmassCode--\u003eMassCodePlugin[massCode Assistant]\n\tCodeSnippets((Code Snippets))--\u003emassCode\nend\n```\n\nIt is useful if you are a code snippet provider and you want to let your users code with web IDE. Or you get used to code in self-hosted web IDE on your cloud server and want to use managed code snippets. What you need to do is managing snippets with massCode. \n\n## Usage\n\nAs the image built with the [Dockerfile](./Dockerfile) doesn't contain any code, you should take the image as base image and prepare \ncode snippets with massCode in your image building machine. Copy the massCode folder (the folder is `/home/{your_name}/massCode` by default) to this project directory and your dockerfile may looks like:\n\n```dockerfile\nFROM dxsooo/code-server-masscode:1.0\n\nCOPY massCode /root/massCode\n```\n\nOr just add the COPY command into the [Dockerfile](./Dockerfile) and build your own image. You had better to do more such as adding more extensions to make the IDE better for development.\n\nDeploy with:\n\n```bash\n# replace the image with your own and mount your code path\ndocker run --name code-server -p8080:8080 -v{your_code_path}:/home/coder/projects -d dxsooo/code-server-masscode:1.0\n```\n\nAnd the web IDE would serve in: http://localhost:8080 . See https://github.com/cdr/code-server for more docs.\n\n## Thoughts\n\nMaybe there is another way to do this, such as following [snippet guide](https://code.visualstudio.com/api/language-extensions/snippet-guide) from vscode, pack the snippets to an extension and release it or pack it into web IDE image. But this would take cost to edit snippet jsons or migrate from massCode(or some other snippet management tools) to align to vscode snippets rules.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxsooo%2Fcode-server-masscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxsooo%2Fcode-server-masscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxsooo%2Fcode-server-masscode/lists"}