{"id":24423506,"url":"https://github.com/dimkauzh/webzen","last_synced_at":"2025-04-23T23:13:41.003Z","repository":{"id":197803139,"uuid":"699064207","full_name":"dimkauzh/webzen","owner":"dimkauzh","description":"A Go Game Engine that targets WebAssembly! It's easy and fast!","archived":true,"fork":false,"pushed_at":"2023-10-21T17:46:18.000Z","size":91,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-04-23T23:13:34.991Z","etag":null,"topics":["draw","drawing","engine","game","game-engine","go","go-game","go-game-engine","golang","rendering","web","web-api","web-app","web-render","web-ui","webassemby"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimkauzh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2023-10-01T20:06:26.000Z","updated_at":"2025-04-16T09:08:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"26e14166-2426-45d8-ad2f-44c4fe21b135","html_url":"https://github.com/dimkauzh/webzen","commit_stats":null,"previous_names":["dimkauzh/webzen"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkauzh%2Fwebzen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkauzh%2Fwebzen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkauzh%2Fwebzen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkauzh%2Fwebzen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimkauzh","download_url":"https://codeload.github.com/dimkauzh/webzen/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528877,"owners_count":21445518,"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":["draw","drawing","engine","game","game-engine","go","go-game","go-game-engine","golang","rendering","web","web-api","web-app","web-render","web-ui","webassemby"],"created_at":"2025-01-20T10:18:23.839Z","updated_at":"2025-04-23T23:13:40.986Z","avatar_url":"https://github.com/dimkauzh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWebzen\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eA Go Game Engine that targets WebAssembly!\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/dimkauzh/webzen\"\u003e\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/dimkauzh/webzen\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/dimkauzh/webzen\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/dimkauzh/webzen\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/dimkauzh/webzen\"\u003e\u003cimg alt=\"Lines of code\" src=\"https://tokei.rs/b1/github/dimkauzh/webzen?category=lines\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nWebzen is a Go Game Engine that targets WebAssembly, enabling you to build web applications with Go. It helps you build your games easy and fast. This project leverages `syscall/js` to interact with the JavaScript runtime in the browser.\n\n\u003e **Please note that Webzen is currently under high maintenance and is not production-ready.** The project is actively being developed and improved, which is why there is only a `dev` branch available. Its currently in Beta status\n\n## Building\n\n### Prerequisites\nWebzen doesnt need anything except Go version that is higher that 1.18. There is no C compiler or anything needed, but we recommend wasmserve to quickly run your code.\n\n### Getting the Go package\nWebzen is an ordinary go package, so you can get it using this command:\n```bash\ngo get github.com/dimkauzh/webzen@latest\n```\nThe package is also [available on pkg.go.dev](https://pkg.go.dev/github.com/dimkauzh/webzen).\n\n### How to Run the Example\n\nTo run the example provided in this repository, follow these steps:\n\n1. Clone this repository to your local machine:\n\n```shell\ngit clone github.com/dimkauzh/webzen.git\n```\n\n2. Navigate to the project folder:\n\n```shell\ncd webzen\n```\n\n3. Install needed dependencies:\n\nFirst, make sure you have Go installed, secondly, run make install to install everything needed:\n\n```shell\nmake setup\n```\n\n4. Build and run the example using make and wasmserve. This will start a local development server at localhost:8080:\n```shell\nmake example\n```\nOpen your web browser and go to http://localhost:8080 to see the example in action.\n\n### Building a Ready Application\nTo build a production-ready WebAssembly application with Webzen, follow these steps:\n\nCompile your Go code to WebAssembly using the GOOS=js and GOARCH=wasm flags. Replace build_path/file_name.wasm and file_path/file_name.go with your desired output file path and source file, respectively:\n\n```shell\nGOOS=js GOARCH=wasm go build -o build_path/file_name.wasm file_path/file_name.go\n```\nYou can then include the generated .wasm file in your web application and load it using JavaScript.\n\nFeel free to explore the example provided in this repository to better understand how Webzen works and how you can create your own Go-powered web applications.\n\n## Documentation\nThe documentation for Webzen is available at https://github.com/dimkauzh/webzen/wiki\n\n\n## License\nThis project is licensed under the GPLv3 License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimkauzh%2Fwebzen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimkauzh%2Fwebzen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimkauzh%2Fwebzen/lists"}