{"id":35268648,"url":"https://github.com/mcclowes/vague-playground","last_synced_at":"2026-05-17T12:38:08.841Z","repository":{"id":329154500,"uuid":"1118327629","full_name":"mcclowes/vague-playground","owner":"mcclowes","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-12T09:23:36.000Z","size":470,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-12T18:40:49.387Z","etag":null,"topics":["data","playground","programming"],"latest_commit_sha":null,"homepage":"https://vague.mcclowes.com","language":"TypeScript","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/mcclowes.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-12-17T15:35:31.000Z","updated_at":"2026-01-12T09:23:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mcclowes/vague-playground","commit_stats":null,"previous_names":["mcclowes/vague-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcclowes/vague-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcclowes%2Fvague-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcclowes%2Fvague-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcclowes%2Fvague-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcclowes%2Fvague-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcclowes","download_url":"https://codeload.github.com/mcclowes/vague-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcclowes%2Fvague-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33138862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["data","playground","programming"],"created_at":"2025-12-30T11:21:36.650Z","updated_at":"2026-05-17T12:38:08.836Z","avatar_url":"https://github.com/mcclowes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vague playground\n\nA web-based playground for testing and experimenting with [Vague](https://github.com/mcclowes/vague), a constraint-based data generation language.\n\n## Features\n\n- Interactive code editor with syntax highlighting\n- Real-time syntax validation with inline errors\n- JSON/CSV output formats\n- File import with automatic schema inference\n- Code persistence (localStorage)\n- Keyboard shortcuts (⌘/Ctrl+Enter to run)\n- Preloaded example schemas\n- Dark/light mode with system preference support\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser.\n\n## Scripts\n\n| Command            | Description               |\n| ------------------ | ------------------------- |\n| `npm run dev`      | Start development server  |\n| `npm run build`    | Create production build   |\n| `npm run start`    | Start production server   |\n| `npm run lint`     | Run ESLint                |\n| `npm run format`   | Format code with Prettier |\n| `npm run test`     | Run tests (watch mode)    |\n| `npm run test:run` | Run tests once            |\n\n## Example Vague Code\n\n```vague\nschema Customer {\n  name: string,\n  status: 0.8: \"active\" | 0.2: \"inactive\"\n}\n\nschema Invoice {\n  customer: any of customers,\n  amount: decimal in 100..10000,\n  status: \"draft\" | \"sent\" | \"paid\",\n  assume amount \u003e 0\n}\n\ndataset TestData {\n  customers: 50 of Customer,\n  invoices: 200 of Invoice\n}\n```\n\n## Links\n\n- [Vague Language Repository](https://github.com/mcclowes/vague)\n- [vague-lang on npm](https://www.npmjs.com/package/vague-lang)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcclowes%2Fvague-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcclowes%2Fvague-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcclowes%2Fvague-playground/lists"}