{"id":16131506,"url":"https://github.com/thislight/gsolid","last_synced_at":"2025-09-25T13:13:55.285Z","repository":{"id":179615779,"uuid":"662951375","full_name":"thislight/gsolid","owner":"thislight","description":"Simple and performant reactivity for building user interfaces, with GTK 4.","archived":false,"fork":false,"pushed_at":"2024-09-22T10:12:45.000Z","size":210,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T21:11:20.779Z","etag":null,"topics":["gsolid","gtk","gtk4","solid-js"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gsolid","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thislight.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":"2023-07-06T08:33:48.000Z","updated_at":"2025-03-16T18:20:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"018a07b4-3093-4e84-9eb4-c4d9155bd2b8","html_url":"https://github.com/thislight/gsolid","commit_stats":null,"previous_names":["thislight/gsolid"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fgsolid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fgsolid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fgsolid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fgsolid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thislight","download_url":"https://codeload.github.com/thislight/gsolid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244240197,"owners_count":20421410,"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":["gsolid","gtk","gtk4","solid-js"],"created_at":"2024-10-09T22:25:26.074Z","updated_at":"2025-09-25T13:13:50.248Z","avatar_url":"https://github.com/thislight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSolid\n\nSimple and performant reactivity for building user interfaces, with GTK 4. GSolid is a universal GTK renderer for [solid-js](https://www.solidjs.com).\n\n- Performant: Working with native `Gtk.Widget` without heavy middleware. No Tick, No Late.\n- Powerful: Composable reactive primitives plus the flexibility of JSX.\n- Productive: Ergonomics and familiarity that make building simple or complex frontends a breeze.\n\nGSolid supports [Gjs](https://gitlab.gnome.org/GNOME/gjs/).\n\nLaunch your project in seconds with [gsolid-app-starter](https://github.com/thislight/gsolid-app-starter)!\n\n```jsx\nimport Gtk from \"gi://Gtk?version=4.0\";\nimport { createSignal } from \"gsolid\";\nimport { Box, Button, Label, ReactiveWindow, createApp } from \"gsolid/gtk4\";\n\ncreateApp((app) =\u003e {\n    const [counter, setCounter] = createSignal(0);\n    app.add_window(\n        \u003cReactiveWindow\n            open={true}\n            onCloseRequest={() =\u003e false}\n            title=\"Hello World!\"\n            defaultWidth={300}\n            defaultHeight={250}\n        \u003e\n            \u003cBox orientation={Gtk.Orientation.VERTICAL} spacing={8}\u003e\n                \u003cLabel label={`Count: ${counter()}`} /\u003e\n                \u003cButton\n                    label=\"+1\"\n                    valign={Gtk.Align.CENTER}\n                    halign={Gtk.Align.CENTER}\n                    onClicked={() =\u003e setCounter((x) =\u003e x + 1)}\n                /\u003e\n            \u003c/Box\u003e\n        \u003c/ReactiveWindow\u003e as Gtk.Window);\n}, { application_id: \"org.example.MyApp\" }).run(null);\n\n```\n\n## Bundling\n\n- [esbuild-plugin-gsolid](https://github.com/thislight/esbuild-plugin-gsolid)\n\nInteresting on writing bundler for GSolid? See [Notes on build Applications](./docs/build-app.md).\n\n## Other Documents\n\n- [JSX](./docs/jsx.md)\n- [TypeScript](./docs/typescript.md)\n\n## Special Libraries\n\nGSolid provides some libraries to improve UX for gjs.\n\nMostly we create the library similiar to the Web API, but they are not 1:1 simulation to the API on the other platform.\n\n- `gsolid/fetch` - Fetch API, libsoup 3.x wrapper\n\n## License\n\nSPDX: Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fgsolid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthislight%2Fgsolid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fgsolid/lists"}