{"id":30675104,"url":"https://github.com/joris-gallot/tinvoke","last_synced_at":"2025-09-01T08:02:51.573Z","repository":{"id":308908656,"uuid":"1034552378","full_name":"joris-gallot/tinvoke","owner":"joris-gallot","description":"A type-safe wrapper for Tauri's invoke function","archived":false,"fork":false,"pushed_at":"2025-08-31T13:28:56.000Z","size":151,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-31T15:29:12.503Z","etag":null,"topics":["invoke","tauri","typesafe","typescript"],"latest_commit_sha":null,"homepage":"","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/joris-gallot.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-08T15:17:10.000Z","updated_at":"2025-08-31T13:28:45.000Z","dependencies_parsed_at":"2025-08-08T16:52:03.875Z","dependency_job_id":"3af73ccd-ce7c-4f2e-bca7-50f633b7ac1d","html_url":"https://github.com/joris-gallot/tinvoke","commit_stats":null,"previous_names":["joris-gallot/tinvoke"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joris-gallot/tinvoke","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joris-gallot%2Ftinvoke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joris-gallot%2Ftinvoke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joris-gallot%2Ftinvoke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joris-gallot%2Ftinvoke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joris-gallot","download_url":"https://codeload.github.com/joris-gallot/tinvoke/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joris-gallot%2Ftinvoke/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273092837,"owners_count":25044435,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["invoke","tauri","typesafe","typescript"],"created_at":"2025-09-01T08:01:36.465Z","updated_at":"2025-09-01T08:02:51.536Z","avatar_url":"https://github.com/joris-gallot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinvoke\n\nType-safe wrapper for [Tauri](https://tauri.app)'s invoke function.\n\n## Installation\n\n```bash\nnpm install tinvoke\n```\n\n## Quick Setup\n\n### 1. Add ts-rs dependency and export Rust types\n\nFollow the setup guide at [ts-rs](https://github.com/Aleph-Alpha/ts-rs#get-started)\n\n### 2. Configure TypeScript types\n\n```typescript\nimport type { User } from 'path/to/bindings/User'\nimport type { Command } from 'tinvoke'\n\ndeclare module 'tinvoke' {\n  interface CommandsMap {\n    get_user: Command\u003cUser, { name: string }\u003e\n  }\n}\n```\n\n## Usage\n\nFull type safety: command names, parameters, and return types are all typed based on your CommandsMap definition.\n\n```typescript\nimport { tinvoke } from 'tinvoke'\n\nconst user = await tinvoke('get_user', { name: 'Alice' })\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoris-gallot%2Ftinvoke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoris-gallot%2Ftinvoke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoris-gallot%2Ftinvoke/lists"}