{"id":15722029,"url":"https://github.com/codeation/impress","last_synced_at":"2025-07-27T20:05:55.889Z","repository":{"id":57506042,"uuid":"134988197","full_name":"codeation/impress","owner":"codeation","description":"Go GUI cross-platform library","archived":false,"fork":false,"pushed_at":"2025-03-05T07:22:42.000Z","size":280,"stargazers_count":20,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T23:34:11.787Z","etag":null,"topics":["cross-platform","desktop-gui","go","golang","gtk-3","gui","gui-library","impress"],"latest_commit_sha":null,"homepage":"https://codeation.github.io/impress/","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/codeation.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}},"created_at":"2018-05-26T19:11:37.000Z","updated_at":"2025-03-05T07:21:46.000Z","dependencies_parsed_at":"2023-02-15T22:30:52.212Z","dependency_job_id":"f3c8a436-bb05-497b-a1f9-68126b133343","html_url":"https://github.com/codeation/impress","commit_stats":{"total_commits":89,"total_committers":1,"mean_commits":89.0,"dds":0.0,"last_synced_commit":"8e7205b4ff439ee3cf849449f1747a95e363126b"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeation%2Fimpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeation%2Fimpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeation%2Fimpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeation%2Fimpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeation","download_url":"https://codeload.github.com/codeation/impress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326759,"owners_count":20759437,"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":["cross-platform","desktop-gui","go","golang","gtk-3","gui","gui-library","impress"],"created_at":"2024-10-03T22:03:13.472Z","updated_at":"2025-07-27T20:05:55.883Z","avatar_url":"https://github.com/codeation.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# impress. Go GUI cross-platform library\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/codeation/impress)](https://pkg.go.dev/github.com/codeation/impress)\n\nSee the [project site](https://codeation.github.io/impress/) for technical details and [a library overview](https://codeation.github.io/impress/library-overview.html).\n\nSome usage examples are in the [examples folder](https://github.com/codeation/impress/tree/master/examples).\n\n## Hello World Example\n\nLet's say hello:\n\n\u003cimg src=\"https://codeation.github.io/images/hello_small.png\" width=\"545\" height=\"350\" /\u003e\n\n```\npackage main\n\nimport (\n    \"image\"\n    \"image/color\"\n\n    \"github.com/codeation/impress\"\n    \"github.com/codeation/impress/event\"\n\n    _ \"github.com/codeation/impress/duo\"\n)\n\nfunc main() {\n    app := impress.NewApplication(image.Rect(0, 0, 480, 240), \"Hello World Application\")\n    defer app.Close()\n\n    font := app.NewFont(15, map[string]string{\"family\": \"Verdana\"})\n    defer font.Close()\n\n    w := app.NewWindow(image.Rect(0, 0, 480, 240), color.RGBA{255, 255, 255, 255})\n    defer w.Drop()\n\n    w.Text(\"Hello, world!\", font, image.Pt(200, 100), color.RGBA{0, 0, 0, 255})\n    w.Line(image.Pt(200, 120), image.Pt(300, 120), color.RGBA{255, 0, 0, 255})\n    w.Show()\n    app.Sync()\n\n    for {\n        e := \u003c-app.Chan()\n        if e == event.DestroyEvent || e == event.KeyExit {\n            break\n        }\n    }\n}\n```\n\nSee an explanation of the source code in [a library overview](https://codeation.github.io/impress/library-overview.html).\n\n### To run this example on Debian/Ubuntu:\n\n0. Install `gcc`, `make`, `pkg-config` if you don't have them installed.\n\n1. Install GTK 4 libraries if you don't have them installed:\n\n```\nsudo apt-get install libgtk-4-dev\n```\n\n2. Build impress terminal from source:\n\n```\ngit clone https://github.com/codeation/it.git\ncd it/four\nmake\ncd ../..\n```\n\n3. Then run the example:\n\n```\ngit clone https://github.com/codeation/impress.git\ncd impress\nIMPRESS_TERMINAL_PATH=../it/four/it go run ./examples/simple/\n```\n\nSteps 0-2 are needed to build an impress terminal binary. See the [impress terminal page](https://codeation.github.io/impress/it-driver.html) for other options for downloading or building the impress terminal.\n\nThe environment variable `IMPRESS_TERMINAL_PATH` specifies the path to the built impress terminal.\n\n## Technical details\n\nBasic Principles of Library Design:\n\n- Performance of the application as well as native applications.\n- Simple and clean application code.\n- Creating a GUI application without a form designer or hard-coded widgets.\n\nThe main idea is to stay away from the event-driven programming paradigm. See the [\"What's wrong with event-driven programming\"](https://codeation.github.io/impress/what-is-wrong-with-event-oriented-programming.html) page for more details.\n\nThe library uses [a separate application (GTK terminal)](https://codeation.github.io/impress/it-driver.html) for drawing instead of binding a low-level library to Golang.\n\n## Project State\n\n- The project is currently in its beta stage. It is highly suitable for the development of in-house applications.\n- The project was tested on Debian 12.10 and macOS 15.4.1.\n- While the API remains stable, please note that the specific details may be subject to change.\n\n[The project roadmap](https://codeation.github.io/impress/roadmap.html) includes both short-term and long-term project stages.\n\nA cross-platform [mind-map application](https://codeation.github.io/lineation/) is being developed to showcase the core principles of the library.\n\n## Contributing\n\nFirst, welcome:\n\n- Any clue to keep the project going (star, post, link, etc.).\n- Any recommendations about library design principles.\n- Contributions to the project, documentation, examples.\n- Bug report, open an [issue](https://github.com/codeation/impress/issues).\n- Or any help to fix grammatical or writing errors (PR or issue).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeation%2Fimpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeation%2Fimpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeation%2Fimpress/lists"}