{"id":20502730,"url":"https://github.com/vlang/playground","last_synced_at":"2025-08-20T20:33:14.006Z","repository":{"id":47464577,"uuid":"376402855","full_name":"vlang/playground","owner":"vlang","description":"V Playground: run, edit, share V code online","archived":false,"fork":false,"pushed_at":"2024-09-25T17:34:35.000Z","size":10812,"stargazers_count":45,"open_issues_count":6,"forks_count":12,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-07T20:50:12.516Z","etag":null,"topics":["playground","v","vlang"],"latest_commit_sha":null,"homepage":"https://play.vlang.io","language":"TypeScript","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/vlang.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":"2021-06-12T23:48:12.000Z","updated_at":"2025-04-04T04:47:48.000Z","dependencies_parsed_at":"2023-12-31T06:33:03.875Z","dependency_job_id":"c3f6c1f1-f957-4068-a0d1-4770a2120862","html_url":"https://github.com/vlang/playground","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vlang/playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fplayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fplayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fplayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fplayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlang","download_url":"https://codeload.github.com/vlang/playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fplayground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378700,"owners_count":24749197,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":["playground","v","vlang"],"created_at":"2024-11-15T19:27:18.477Z","updated_at":"2025-08-20T20:33:12.952Z","avatar_url":"https://github.com/vlang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# V Playground: Run, Edit, Share V Code Online\n\nThe [V Playground](https://play.vlang.io/) is a place where you can run, edit and share V\ncode online.\n\n![](./docs/images/cover.png)\n\n## Features\n\n- Nice and clean UI\n- Powerful editor with syntax highlighting and auto-completion\n- Ability to run test code.\n- Ability to see the generated C code, for the passed V code.\n- Pass compilation flags to the V compiler, and separate for your program.\n- Shareable code and editor state via URL or local storage.\n\n## Developing\n\nIf you wish to improve the playground, first you have to clone the repository:\n\n```bash\ngit clone https://github.com/vlang/playground\ncd playground\n```\n\nInstall V dependencies:\n\n```bash\nnpm run install-server-deps\n```\n\n### Run the playground locally\n```bash\nnpm run local-serve\n```\nthen access the playground at \u003chttp://localhost:5555\u003e\n\n\n### Quick, containerized local development (recommended)\n\n#### Using Docker Compose\n\n```bash\nnpm run run-docker\n```\n\nthen access the playground at \u003chttp://localhost:5555\u003e\n\n### Using VSCode DevContainers\n\n1. Install Docker\n2. Install [Visual Studio Code](https://code.visualstudio.com/)\n3. Install the\n   [Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)\n   extension for VS Code\n4. Clone \u003chttps://github.com/vlang/playground\u003e\n5. Create your application within a container (see gif below)\n\nDone.\n\nSince you are using a docker container, your main system will remain \"clean\".\n\n![vscode-open-in-container](https://user-images.githubusercontent.com/17727170/197407889-88fe33b0-8e95-47fe-b2db-598fd307140e.gif)\n\nThen just run:\n\n```sh\nnpm run serve\n```\n\nthen access the playground at \u003chttp://localhost:5555\u003e\n\n### Run the playground locally inside isolate (as on https://play.vlang.io/)\n\n\u003e NOTE: Only works on Linux, since it uses `isolate`.\n\n#### Install Dependencies\n\n\u003e We use isolate to sandbox the playground, so you need to install it first.\n\n```bash\ngit clone https://github.com/ioi/isolate /tmp/isolate\ncd /tmp/isolate\nmake isolate isolate-check-environment\nmake install\n```\n\n#### Run the server\n\n```bash\nnpm run serve\n```\n\n... then access the playground at \u003chttp://localhost:5555\u003e\n\n## Server API\n\nSee [server/README.md](./server/README.md) for more information about the server API.\n\n## License\n\nThis project is under the **MIT License**.\nSee the [LICENSE](https://github.com/vlang/playground/blob/main/LICENSE)\nfile for the full license text.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlang%2Fplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlang%2Fplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlang%2Fplayground/lists"}