{"id":20852312,"url":"https://github.com/minizinc/minizinc-playground","last_synced_at":"2025-05-12T04:32:32.607Z","repository":{"id":174541558,"uuid":"613102448","full_name":"MiniZinc/minizinc-playground","owner":"MiniZinc","description":"MiniZinc playground using WebAssembly","archived":false,"fork":false,"pushed_at":"2025-03-27T04:49:26.000Z","size":18471,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-03-27T05:29:08.725Z","etag":null,"topics":["constraint-programming","integer-programming","linear-programming","minizinc","optimisation-problem","sat-solver"],"latest_commit_sha":null,"homepage":"https://play.minizinc.dev","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MiniZinc.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":"2023-03-12T21:56:59.000Z","updated_at":"2025-03-27T04:48:35.000Z","dependencies_parsed_at":"2023-11-16T07:24:54.325Z","dependency_job_id":"295ef62b-9297-412b-a24e-47671c4d5245","html_url":"https://github.com/MiniZinc/minizinc-playground","commit_stats":null,"previous_names":["minizinc/minizinc-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniZinc%2Fminizinc-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniZinc%2Fminizinc-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniZinc%2Fminizinc-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniZinc%2Fminizinc-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiniZinc","download_url":"https://codeload.github.com/MiniZinc/minizinc-playground/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253675749,"owners_count":21945960,"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":["constraint-programming","integer-programming","linear-programming","minizinc","optimisation-problem","sat-solver"],"created_at":"2024-11-18T03:17:11.245Z","updated_at":"2025-05-12T04:32:32.292Z","avatar_url":"https://github.com/MiniZinc.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniZinc Playground\n\nWrite and run MiniZinc models entirely within your browser.\n\nTry it out at https://play.minizinc.dev.\n\nThe playground is a [Svelte](https://svelte.dev) app which uses the\n[WebAssembly build of MiniZinc](https://github.com/minizinc/minizinc-js) to run MiniZinc locally in the browser.\nThe GUI is styled using [Bulma](https://bulma.io) and [CodeMirror](https://codemirror.net) is used for the code editor.\n\n## Sharing projects\n\nThe playground supports generating a link which opens the active project (including the current tab and solver settings) using the share button on the top-right. It may be useful to pass these through a link shortening service to get more friendly URLs.\n\n### Loading code directly\n\nYou can also generate URLs which directly populate the playground with some code by using `#code=\u003cminizinc code\u003e` as the URL hash.\n\nFor example: [`https://play.minizinc.dev/#code=var%201..3%3A%20x%3B`](https://play.minizinc.dev/#code=var%201..3%3A%20x%3B)\n\n### Loading from a remote source\n\nIt's also possible to generate a link to load a project from a remote URL by using `#url=\u003cfile url\u003e` as the hash.\n\nFor example: [`https://play.minizinc.dev/#url=https%3A%2F%2Fraw.githubusercontent.com%2FMiniZinc%2Flibminizinc%2Fmaster%2Fdocs%2Fen%2Fexamples%2Floan%2Floan.mzp`](https://play.minizinc.dev/#url=https%3A%2F%2Fraw.githubusercontent.com%2FMiniZinc%2Flibminizinc%2Fmaster%2Fdocs%2Fen%2Fexamples%2Floan%2Floan.mzp)\n\n## Development\n\n```sh\nnpm ci\nnpm run dev\n```\n\n## Building\n\n```sh\nnpm run build\n```\n\nThe playground application will be located in `./dist`.\n\nIf the application needs to be served from a subdirectory, set the environment variable `BASE_PATH` to the path when\nbuilding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminizinc%2Fminizinc-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminizinc%2Fminizinc-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminizinc%2Fminizinc-playground/lists"}