{"id":13895050,"url":"https://github.com/therecipe/widgets_playground","last_synced_at":"2025-09-12T05:35:24.012Z","repository":{"id":57495072,"uuid":"158051237","full_name":"therecipe/widgets_playground","owner":"therecipe","description":"Showcase example for https://github.com/therecipe/qt","archived":false,"fork":false,"pushed_at":"2020-09-04T08:10:25.000Z","size":7538,"stargazers_count":48,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T02:36:32.492Z","etag":null,"topics":["cross-platform-gui","example","go","javascript","playground","qt","showcase","webassembly"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/therecipe.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}},"created_at":"2018-11-18T04:55:17.000Z","updated_at":"2024-02-04T06:07:38.000Z","dependencies_parsed_at":"2022-08-31T12:41:43.085Z","dependency_job_id":null,"html_url":"https://github.com/therecipe/widgets_playground","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fwidgets_playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fwidgets_playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fwidgets_playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fwidgets_playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therecipe","download_url":"https://codeload.github.com/therecipe/widgets_playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822638,"owners_count":20516144,"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":["cross-platform-gui","example","go","javascript","playground","qt","showcase","webassembly"],"created_at":"2024-08-06T18:01:57.465Z","updated_at":"2025-03-21T15:31:18.939Z","avatar_url":"https://github.com/therecipe.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"[WEB DEMO](https://therecipe.github.io/widgets_playground)\n\n---\n\nIntroduction\n------------\n\nThis is a showcase example for the \"js\" and \"wasm\" targets and also the new JavaScript API of [therecipe/qt](https://github.com/therecipe/qt)\n\nInfo\n----\n\nFor general information about `therecipe/qt`, checkout: https://github.com/therecipe/qt\n\nThe Qt API Docs can be found here: https://doc.qt.io/qt-5/classes.html\n\nIf you have questions, join our Slack channel [#qt-binding](https://gophers.slack.com/messages/qt-binding/details) ([invite yourself here](https://invite.slack.golangbridge.org)\\)\n\nUsage\n-----\n\nIf you are already familiar with qtdeploy and the docker deployments then just pull the \"js\" or \"wasm\" image and deploy with `qtdeploy -docker build js` or \"wasm\" as usual.\n\n---\n\nIf you are new and want to build this yourself, then just take the following steps:\n\n-\tInstall Go: https://golang.org/dl/\n\n-\tInstall Git: https://git-scm.com/downloads\n\n-\tInstall tooling: `go get -u -v github.com/therecipe/qt/cmd/...`\n\n-\tPull the repo: `go get -d -v github.com/therecipe/widgets_playground`\n\n-\tInstall Docker: https://store.docker.com/search?offering=community\u0026type=edition\n\n\t-\tOn Windows: [share](https://docs.docker.com/docker-for-windows/#shared-drives) the drive containing your **GOPATH** with docker\n\t-\tOn Linux: if necessary run docker as [root](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user)\n\t-\tOn macOS: [share](https://docs.docker.com/docker-for-mac/#file-sharing) your **GOPATH** with docker if it isn't located in some subfolder below `/Users/`, `/Volumes/`, `/private/` or `/tmp/`\n\n-\tPull the \"js\" or \"wasm\" image:\n\n\t```\n\tdocker pull therecipe/qt:js\n\t```\n\n\tor\n\n\t```\n\tdocker pull therecipe/qt:wasm\n\t```\n\n-\tRun the deployment: (replace \"js\" with \"wasm\" for an full WebAssembly build)\n\n\t```\n\tcd $(go env GOPATH)/src/github.com/therecipe/widgets_playground\n\t$(go env GOPATH)/bin/qtdeploy -docker build js\n\t```\n\n-\tYou should find the deployed application in the `deploy/js` or `deploy/wasm` subdir\n\n-\tOpen `deploy/{js|wasm}/index.html` with your browser\n\n---\n\nYou can most of the time use `qtdeploy -docker -fast build js` after you made some minor changes, heavier changes like the introduction of new Qt classes or functions, or changes inside the JavaScript files will force you to compile without the \"-fast\" flag once again.\n\nIt's planned to remove these limitations in the future.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherecipe%2Fwidgets_playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherecipe%2Fwidgets_playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherecipe%2Fwidgets_playground/lists"}