{"id":18022986,"url":"https://github.com/kanryu/gwsi","last_synced_at":"2026-03-07T20:31:55.297Z","repository":{"id":230507945,"uuid":"777611205","full_name":"kanryu/gwsi","owner":"kanryu","description":"A minimal implementation of OpenGL rendering that combines X11/EGL/xcb.","archived":false,"fork":false,"pushed_at":"2025-06-08T09:49:38.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-24T18:57:06.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanryu.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}},"created_at":"2024-03-26T07:17:59.000Z","updated_at":"2025-06-08T09:49:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e19fa3fd-8e2b-4cd7-9636-2365bdf28c01","html_url":"https://github.com/kanryu/gwsi","commit_stats":null,"previous_names":["kanryu/gwsi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kanryu/gwsi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fgwsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fgwsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fgwsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fgwsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanryu","download_url":"https://codeload.github.com/kanryu/gwsi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanryu%2Fgwsi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30229743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-30T07:06:33.936Z","updated_at":"2026-03-07T20:31:55.230Z","avatar_url":"https://github.com/kanryu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gwsi\n\nThis is an experimental implementation of [libwsi](markbolhuis/libwsi) ported to the Go language.\n\nThis project is not currently intended to be reused in other projects.\n\n## Significance of this project\n\nThis project was carried out to develop mado. A significant portion of this project's output will eventually be incorporated as part of mado.\n\nA minimal implementation of OpenGL rendering that combines X11/EGL/xcb.\n\nThere are very few implementation examples of programming that combines EGL and xcb. I had a very hard time getting the program to work properly. This is because GLFW does not use xcb.\n\nThe first thing I understood after reading the source of this library is that Windows created with xcb requires its own EGLDisplay and EGLSurface. This is handled differently from a Window created with XCreateWindow. Other parts were the same.\n\nlibwsi solves this problem at a high level.\nThis library also has an interesting implementation for Wayland, which I would like to work on at a later date.\n\nSome C APIs that I used for the first time, such as eglCreatePlatformWindowSurface(), were very difficult to execute from cgo, so I reimplemented them in purego. I would like to actively use it because it works fine and the build is lighter compared to cgo.\n\n# Liscense\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanryu%2Fgwsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanryu%2Fgwsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanryu%2Fgwsi/lists"}