{"id":48306540,"url":"https://github.com/vixalien/peachy-types","last_synced_at":"2026-04-05T00:08:20.389Z","repository":{"id":250619244,"uuid":"834965924","full_name":"vixalien/peachy-types","owner":"vixalien","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-29T00:17:42.000Z","size":64612,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T03:04:21.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/vixalien.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-28T21:02:19.000Z","updated_at":"2026-03-15T13:07:15.000Z","dependencies_parsed_at":"2024-07-28T22:41:28.698Z","dependency_job_id":"05dc8153-3265-4d97-8b80-c50db1ff828b","html_url":"https://github.com/vixalien/peachy-types","commit_stats":null,"previous_names":["vixalien/gi-typescript-definitions","vixalien/peachy-types"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vixalien/peachy-types","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixalien%2Fpeachy-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixalien%2Fpeachy-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixalien%2Fpeachy-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixalien%2Fpeachy-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vixalien","download_url":"https://codeload.github.com/vixalien/peachy-types/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vixalien%2Fpeachy-types/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31419552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":"2026-04-05T00:08:15.546Z","updated_at":"2026-04-05T00:08:20.371Z","avatar_url":"https://github.com/vixalien.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @peachy/types\n\n\u003e **Note:** This package is meant to be used with [peachy]\n\nTypeScript type definitions for GJS and GNOME libraries. Get full autocomplete, type-checking, and inline documentation in your editor when building GNOME apps with TypeScript.\n\nTypes are auto-generated with [girgen] data shipped with the GNOME SDK `master` branch.\n\n\u003e **Note:** The full list of available types depends on the libraries present in the GNOME SDK at the time of generation. You can find the list of all generated types here: [./types](./types).\n\n## Installation\n\n```bash\nnpm install @peachy/types\n```\n\n## Usage\n\nAdd `@peachy/types` to your `tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"types\": [\"@peachy/types\"]\n  }\n}\n```\n\nThen import GNOME libraries with full type support:\n\n```ts\nimport Gtk from \"gi://Gtk?version=4.0\";\nimport Adw from \"gi://Adw?version=1\";\n\nconst app = new Adw.Application({\n  applicationId: \"com.example.MyApp\",\n});\n\napp.connect(\"activate\", () =\u003e {\n  const window = new Adw.ApplicationWindow({ application: app });\n  const label = new Gtk.Label({ label: \"Hello from TypeScript!\" });\n  window.set_content(label);\n  window.present();\n});\n\napp.run([]);\n```\n\n## Versioning\n\nTypes track the GNOME SDK `master` branch from [GNOME Nightly][nightly]. This means they reflect the latest development state of GNOME libraries, which may include APIs not yet available in stable releases.\n\n| @peachy/types version | GNOME SDK |\n|-----------------------|------------------|\n| `latest` | `master` |\n\nIn the future, we plan to support specific stable GNOME releases (48, 49, etc...).\n\n## License\n\nMIT\n\n[nightly]: https://nightly.gnome.org/\n[peachy]: https://gitlab.gnome.org/vixalien/peachy\n[girgen]: https://github.com/Aylur/girgen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvixalien%2Fpeachy-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvixalien%2Fpeachy-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvixalien%2Fpeachy-types/lists"}