{"id":21519129,"url":"https://github.com/dcspark/shinkai-typescript-lib","last_synced_at":"2025-07-16T07:30:38.182Z","repository":{"id":226516891,"uuid":"708988733","full_name":"dcSpark/shinkai-typescript-lib","owner":"dcSpark","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-26T20:16:33.000Z","size":418,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-16T21:49:11.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dcSpark.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-10-23T19:39:11.000Z","updated_at":"2024-07-26T20:15:36.000Z","dependencies_parsed_at":"2024-03-11T16:56:36.340Z","dependency_job_id":"662ee8c5-1586-41a3-b732-7a90a101ef86","html_url":"https://github.com/dcSpark/shinkai-typescript-lib","commit_stats":null,"previous_names":["dcspark/shinkai-typescript-lib"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fshinkai-typescript-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fshinkai-typescript-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fshinkai-typescript-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fshinkai-typescript-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcSpark","download_url":"https://codeload.github.com/dcSpark/shinkai-typescript-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226113085,"owners_count":17575436,"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":[],"created_at":"2024-11-24T00:55:56.803Z","updated_at":"2024-11-24T00:55:57.470Z","avatar_url":"https://github.com/dcSpark.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shinkai Typescript Lib\n\nThe Shinkai Typescript Lib is a powerful library designed for building and managing Shinkai messages in Typescript applications. Shinkai messages are the main primitive of the Shinkai Network and it's using for communication with a Shinkai Node. This guide will walk you through the basics of using the library, from installation to creating and sending messages.\n\nNote: This is a native Typescript library, unlike the other library available in the Shinkai Network, which is in WASM wrapped with Typescript.\n\n## Installation\n\nTo get started, install the Shinkai Typescript Lib via npm:\n\n```bash\nnpm install @shinkai_protocol/shinkai-typescript-lib\n```\n\n## How To Communicate With a Shinkai Node\n\nIf the node is in a pristine state, we need to register a new profile (with a device) before we can create a job or send a message. This involves generating two pairs of encryption and signature keys and using them to construct a registration message.\n\nUsually the most basic flow is: create job, send message to job, get messages from inbox.\n\n## How To Create a Shinkai Message (Examples)\n\nFor detailed examples demonstrating how to use the Shinkai Typescript Lib for various tasks, check out our [docs](docs/README.md). These examples cover a range of use cases from basic to advanced, helping you get started with the library quickly.\n\nEach example is fully documented to explain the concepts and features being used, making it easy to understand how to integrate Shinkai Typescript Lib into your own projects.\n\n## License\n\nThe Shinkai Typescript Lib is open-source software licensed under the [MIT License](LICENSE). This means you can use, modify, and distribute it freely, provided you include the original copyright and license notice in any copies or substantial portions of the software.\n\nFor more details, see the [LICENSE](LICENSE) file in the project repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fshinkai-typescript-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcspark%2Fshinkai-typescript-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fshinkai-typescript-lib/lists"}