{"id":15720788,"url":"https://github.com/gofaith/faithtop","last_synced_at":"2025-05-13T02:49:05.837Z","repository":{"id":143371991,"uuid":"152679050","full_name":"gofaith/faithtop","owner":"gofaith","description":"Cross-Platform Desktop GUI framework for Go ","archived":false,"fork":false,"pushed_at":"2021-10-25T06:41:12.000Z","size":5590,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T17:41:07.988Z","etag":null,"topics":["golang","gtk2","qt","walk"],"latest_commit_sha":null,"homepage":"","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/gofaith.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}},"created_at":"2018-10-12T01:52:21.000Z","updated_at":"2024-06-24T12:56:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ec020af-354b-4bfe-bffd-4788bf050cf3","html_url":"https://github.com/gofaith/faithtop","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofaith%2Ffaithtop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofaith%2Ffaithtop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofaith%2Ffaithtop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gofaith%2Ffaithtop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gofaith","download_url":"https://codeload.github.com/gofaith/faithtop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243306720,"owners_count":20270251,"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":["golang","gtk2","qt","walk"],"created_at":"2024-10-03T22:00:14.611Z","updated_at":"2025-03-12T22:32:18.196Z","avatar_url":"https://github.com/gofaith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Faithtop\n\nFaithtop是一个基于[Qt](https://github.com/therecipe/qt)的Go语言的桌面GUI框架, 用于快速编写桌面应用\n\n![demo](res/img/demo.png)\n\n## [查看文档](https://github.com/gofaith/faithtop/wiki)\n\n---\n\n## 快速开始\n\n1.安装[github.com/therecipe/qt](https://github.com/therecipe/qt)\n\n2.安装`faithtop`\n\n```shell\nGO111MODULE=off go get github.com/gofaith/faithtop\n```\n\n3.新建`main.go`文件\n\n```go\npackage main\n\nimport (\n\t. \"github.com/gofaith/faithtop\"\n)\n\nfunc main() {\n\tapp := NewApp()\n\n\tvar label ILabel\n\tvar edit IEdit\n\n\tWindow().DeferShow().CenterWidget(VBox(\n\t\tLabel2(\"This is a text label\").Assign(\u0026label),\n\t\tEdit().Assign(\u0026edit),\n\t\tButton2(\"show\").OnClick(func() {\n\t\t\tlabel.Text(edit.GetText())\n\t\t}),\n\t))\n\n\tapp.Run()\n}\n```\n\n4.运行\n\n```shell\nqtdeploy -tags=impl build desktop\n```\n\n![demo](res/img/hello.png)\n\n## 更多\n\n[开发文档](https://github.com/gofaith/faithtop/wiki)\n\n## 使用Faithdroid开发的App\n\n[局域网精灵专业版](https://lan-genius.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofaith%2Ffaithtop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgofaith%2Ffaithtop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgofaith%2Ffaithtop/lists"}