{"id":21690735,"url":"https://github.com/reiver/go-webui","last_synced_at":"2026-03-08T02:04:37.930Z","repository":{"id":57501834,"uuid":"190978587","full_name":"reiver/go-webui","owner":"reiver","description":"Package webui enables an application written in the Go programming language (i.e., Golang) to create a user interface (UI) using Web technologies, such HTML, CSS, JavaScript, WebAssembly, WebRTC, etc etc etc.","archived":false,"fork":false,"pushed_at":"2019-06-09T23:18:47.000Z","size":13,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T16:46:15.960Z","etag":null,"topics":["css","frontend","golang","html","javascript","ui","web","webassembly","webrtc"],"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/reiver.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":"2019-06-09T07:49:00.000Z","updated_at":"2024-01-28T22:32:02.000Z","dependencies_parsed_at":"2022-09-19T08:50:17.041Z","dependency_job_id":null,"html_url":"https://github.com/reiver/go-webui","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/reiver/go-webui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-webui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-webui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-webui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-webui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiver","download_url":"https://codeload.github.com/reiver/go-webui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-webui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30242404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":["css","frontend","golang","html","javascript","ui","web","webassembly","webrtc"],"created_at":"2024-11-25T17:33:21.552Z","updated_at":"2026-03-08T02:04:37.864Z","avatar_url":"https://github.com/reiver.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-webui\n\nPackage **webui** enables an application written in the Go programming language (i.e., Golang) to create a **user interface** (**UI**) using Web technologies, such HTML, CSS, JavaScript, WebAssembly, WebRTC, etc etc etc.\n\n## Documention\n\nOnline documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-webui\n\n[![GoDoc](https://godoc.org/github.com/reiver/go-webui?status.svg)](https://godoc.org/github.com/reiver/go-webui)\n\n## Hello World Example\n\nA \"hello world\" example for using **webui** is:\n```go\nimport \"github.com/reiver/go-webui\"\n\n// ...\n\nerr := webui.LaunchAndServeString(\"Hello world!\")\n```\n\nOr:\n```go\nimport \"github.com/reiver/go-webui\"\n\n// ...\n\nerr := webui.Launch(\"data:,Hello%20world!\")\n```\n\n## More Realistic Example\nA _more realistic_ example would probably have you (the programmer) create one or more `http.Handler`.\n\nThe `http.Handler` would serve the content that is shows in the Web UI.\n\nSuch as in:\n```go\nimport \"github.com/reiver/go-webui\"\n\n// ...\n\nfunc serveHttp(w http.ResponseWriter, r *http.Request) {\n\t// ...\n}\n\n// ...\n\nvar handler http.Handler = http.HandlerFunc(serveHttp)\n\n// ...\n\nerr := webui.LaunchAndServe(handler)\n```\n\nIn other words, use can use many of the same tools you use to create Web applications, to create a desktop UI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiver%2Fgo-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-webui/lists"}