{"id":15688246,"url":"https://github.com/clayrisser/ts-gir","last_synced_at":"2025-08-25T18:38:59.924Z","repository":{"id":57380762,"uuid":"202955950","full_name":"clayrisser/ts-gir","owner":"clayrisser","description":"generate typescript from gir","archived":false,"fork":false,"pushed_at":"2023-07-12T10:31:05.000Z","size":1048,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T05:08:23.593Z","etag":null,"topics":["code","generator","gir","gobject","introspection","node","typescript"],"latest_commit_sha":null,"homepage":"https://codejam.ninja","language":"TypeScript","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/clayrisser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-08-18T03:36:37.000Z","updated_at":"2023-07-12T10:31:09.000Z","dependencies_parsed_at":"2024-06-19T11:18:10.770Z","dependency_job_id":"e10e0789-808b-4fd1-838e-361baf08a4d0","html_url":"https://github.com/clayrisser/ts-gir","commit_stats":{"total_commits":71,"total_committers":2,"mean_commits":35.5,"dds":0.04225352112676062,"last_synced_commit":"2f2e486fbc754beba2464850f2398a8b150ba29f"},"previous_names":["codejamninja/ts-gir"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fts-gir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fts-gir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fts-gir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fts-gir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clayrisser","download_url":"https://codeload.github.com/clayrisser/ts-gir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954376,"owners_count":21830902,"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":["code","generator","gir","gobject","introspection","node","typescript"],"created_at":"2024-10-03T17:56:36.107Z","updated_at":"2025-05-07T21:02:48.222Z","avatar_url":"https://github.com/clayrisser.png","language":"TypeScript","funding_links":["https://liberapay.com/codejamninja/donate"],"categories":[],"sub_categories":[],"readme":"# ts-gir\n\n[![GitHub stars](https://img.shields.io/github/stars/codejamninja/ts-gir.svg?style=social\u0026label=Stars)](https://github.com/codejamninja/ts-gir)\n\n\u003e generate typescript from gir\n\n![](assets/ts-gir.png)\n\nPlease ★ this repo if you found it useful ★ ★ ★\n\n## Features\n\n- supports gir\n- supports typescript\n\n## Installation\n\n```sh\nnpm install -g ts-gir\n```\n\n## Dependencies\n\n- [NodeJS](https://nodejs.org)\n\n## Usage\n\n```bash\nts-gir --help\ngenerate typescript from gir\n\nUSAGE\n  $ ts-gir\n\nOPTIONS\n  -d, --dir=dir        Output dir\n  -h, --help           show CLI help\n  -i, --inputs=inputs  (required) [default: /usr/share/gir-1.0/*.gir] Paths to GIR files to generate type definitions from (with wild card support)\n  -m, --module=module\n  -o, --output=output  Output basename, if not set, the namespace is used\n  -s, --silent\n  -v, --version        show CLI version\n  --verbose\n```\n\n[Contribute](https://github.com/codejamninja/ts-gir/blob/master/CONTRIBUTING.md) usage docs\n\n## Support\n\nSubmit an [issue](https://github.com/codejamninja/ts-gir/issues/new)\n\n## Screenshots\n\n[Contribute](https://github.com/codejamninja/ts-gir/blob/master/CONTRIBUTING.md) a screenshot\n\n## Contributing\n\nReview the [guidelines for contributing](https://github.com/codejamninja/ts-gir/blob/master/CONTRIBUTING.md)\n\n## License\n\n[MIT License](https://github.com/codejamninja/ts-gir/blob/master/LICENSE)\n\n[Jam Risser](https://codejam.ninja) © 2019\n\n## Changelog\n\nReview the [changelog](https://github.com/codejamninja/ts-gir/blob/master/CHANGELOG.md)\n\n## Credits\n\n- [Jam Risser](https://codejam.ninja) - Author\n\n## Support on Liberapay\n\nA ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.\n\n[Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going!\n\n[![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)\n[![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)\n\n## Related Projects\n\n### TypeScript Type Definitions\n\n- [ts-for-gjs](https://github.com/sammydre/ts-for-gjs)\n- [node-gir-typedef](https://github.com/SolarLiner/node-gir-typedef)\n- [gir2dts](https://github.com/darkoverlordofdata/gir2dts)\n- [gir-dts-generator](https://github.com/Place1/gir-dts-generator)\n- [gjs-ts](https://github.com/niagr/gjs-ts)\n- [gjs-docs](https://github.com/apla/gjs-docs)\n\n### Other\n\n- [node-gtk](https://github.com/romgrk/node-gtk)\n- [cgjs](https://github.com/cgjs/cgjs)\n- [jsgtk](https://github.com/WebReflection/jsgtk)\n- [vala-girs](https://github.com/nemequ/vala-girs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Fts-gir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclayrisser%2Fts-gir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Fts-gir/lists"}