{"id":41081299,"url":"https://github.com/vbsw/g2d","last_synced_at":"2026-01-22T13:39:42.817Z","repository":{"id":37498444,"uuid":"505449450","full_name":"vbsw/g2d","owner":"vbsw","description":"experimental 2d framework [DISCONTINUED]","archived":false,"fork":false,"pushed_at":"2025-10-19T12:10:58.000Z","size":489,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T21:38:51.538Z","etag":null,"topics":["2d","framework","g2d","go","golang","opengl","win32"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbsw.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-20T13:18:56.000Z","updated_at":"2025-10-19T11:57:02.000Z","dependencies_parsed_at":"2023-02-15T23:46:00.817Z","dependency_job_id":"e2dfde72-bacf-4ce4-a974-13d7ed610b5a","html_url":"https://github.com/vbsw/g2d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vbsw/g2d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbsw%2Fg2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbsw%2Fg2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbsw%2Fg2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbsw%2Fg2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbsw","download_url":"https://codeload.github.com/vbsw/g2d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbsw%2Fg2d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["2d","framework","g2d","go","golang","opengl","win32"],"created_at":"2026-01-22T13:39:41.995Z","updated_at":"2026-01-22T13:39:42.804Z","avatar_url":"https://github.com/vbsw.png","language":"C","readme":"# g2d\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/vbsw/g2d.svg)](https://pkg.go.dev/github.com/vbsw/g2d) [![Go Report Card](https://goreportcard.com/badge/github.com/vbsw/g2d)](https://goreportcard.com/report/github.com/vbsw/g2d) [![Stability: Experimental](https://masterminds.github.io/stability/experimental.svg)](https://masterminds.github.io/stability/experimental.html)\n\n## About\ng2d is a framework to create 2D graphic applications. It is published on \u003chttps://github.com/vbsw/g2d\u003e and \u003chttps://gitlab.com/vbsw/g2d\u003e.\n\nDemo is available on \u003chttps://github.com/vbsw/g2d-demo\u003e.\n\n## Copyright\nCopyright 2023, 2025, Vitali Baumtrok (vbsw@mailbox.org).\n\ng2d is distributed under the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)\n\ng2d is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.\n\n## Compile\nInstall Go (\u003chttps://golang.org/doc/install\u003e). For Cgo install a C compiler (\u003chttps://jmeubank.github.io/tdm-gcc/\u003e).\n\nFor Windows:\nTo compile an executable that doesn't open a console, use\n\n\t-ldflags -H=windowsgui\n\n## Example\n\n\tpackage main\n\n\timport (\n\t\t\"fmt\"\n\t\t\"github.com/vbsw/g2d\"\n\t\t\"runtime\"\n\t)\n\n\tfunc init() {\n\t\t// run Main on main thread\n\t\truntime.LockOSThread()\n\t}\n\n\tfunc Main() {\n\t\tg2d.Init()\n\t\tg2d.MainLoop(new(g2d.WindowImpl))\n\t\tif g2d.Err != nil {\n\t\t\tfmt.Println(g2d.Err.Error())\n\t\t}\n\t}\n\n## References\n- https://go.dev/doc/install\n- https://jmeubank.github.io/tdm-gcc/\n- https://git-scm.com/book/en/v2/Getting-Started-Installing-Git\n- https://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool\n- https://github.com/golang/go/wiki/cgo\n- https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies\n- https://pkg.go.dev/cmd/link\n- https://www.toomanyatoms.com/computer/usb_keyboard_codes.html\n- http://ts.thrustmaster.com/download/accessories/pc/hotas/software/TARGET/TARGET_SCRIPT_EDITOR_basics_v1.2_Appendix.pdf\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbsw%2Fg2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbsw%2Fg2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbsw%2Fg2d/lists"}