{"id":51747733,"url":"https://github.com/jmisilo/imessage-sdk","last_synced_at":"2026-07-18T21:39:29.486Z","repository":{"id":371248209,"uuid":"1297599420","full_name":"jmisilo/imessage-sdk","owner":"jmisilo","description":"A provider-neutral TypeScript SDK for iMessage infrastructure.","archived":false,"fork":false,"pushed_at":"2026-07-18T12:52:02.000Z","size":375,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-18T21:39:28.058Z","etag":null,"topics":["blooio","imessage","imessage-api","imessage-apps","imessage-bot","imsg","sdk"],"latest_commit_sha":null,"homepage":"https://imessage-sdk.dev","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/jmisilo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-07-11T16:21:26.000Z","updated_at":"2026-07-18T21:15:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jmisilo/imessage-sdk","commit_stats":null,"previous_names":["jmisilo/imessage-sdk"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jmisilo/imessage-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmisilo%2Fimessage-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmisilo%2Fimessage-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmisilo%2Fimessage-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmisilo%2Fimessage-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmisilo","download_url":"https://codeload.github.com/jmisilo/imessage-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmisilo%2Fimessage-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35632492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":["blooio","imessage","imessage-api","imessage-apps","imessage-bot","imsg","sdk"],"created_at":"2026-07-18T21:39:28.967Z","updated_at":"2026-07-18T21:39:29.474Z","avatar_url":"https://github.com/jmisilo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imessage-sdk\n\nA provider-neutral TypeScript conversation layer for iMessage infrastructure.\n\nThe repository contains the provider-neutral [`imessage-sdk`](./packages/imessage-sdk)\ncore, independently installable providers, the\n[`@imessage-sdk/chat-adapter`](./packages/chat-adapter) for\n[Chat SDK](https://chat-sdk.dev), and [`imessage-cli`](./packages/cli) for local users and agents.\nThe core also exposes a public contract for custom providers.\n\n## Install\n\n```bash\npnpm add imessage-sdk @imessage-sdk/blooio\n```\n\n```ts\nimport { blooio } from '@imessage-sdk/blooio';\nimport { createIMessageClient } from 'imessage-sdk';\n\nconst client = createIMessageClient({\n  provider: blooio(),\n});\n```\n\nP.S. remember to create your own [Blooio account](https://app.blooio.com/signup?ref=BLOO-2NS4AJM8) and configure the provider with your credentials.\n\nThe stable v0.1 providers are Blooio, Photon, and Sendblue. See the\n[provider feature matrix](./packages/providers/README.md) for their verified surfaces and current\nlimitations.\n\nSee the [package README](./packages/imessage-sdk/README.md) for the public API,\nprovider configuration, capability boundary, and live integration tests.\n\n## Requirements\n\n- Node.js 20.19+, 22.13+, or 24+\n- pnpm 10.18.3\n\n## Workspace commands\n\n```bash\npnpm install\npnpm build\npnpm typecheck\npnpm test\npnpm lint\n```\n\nRun a command for only the SDK package with pnpm filtering:\n\n```bash\npnpm --filter imessage-sdk build\n```\n\n## Workspace layout\n\n```text\npackages/\n├── imessage-sdk/          Provider-neutral core package\n├── providers/\n│   ├── blooio/            @imessage-sdk/blooio\n│   ├── photon/            @imessage-sdk/photon\n│   └── sendblue/          @imessage-sdk/sendblue\n├── chat-adapter/          @imessage-sdk/chat-adapter\n└── cli/                   imessage-cli\nexamples/\n└── basic-blooio/          Opt-in live Blooio API and webhook example\n```\n\nThe core, provider packages, Chat SDK adapter, and CLI are independently publishable. The\nrepository root is private.\n\n## CLI\n\nThe CLI bundles every official provider and supports flags, saved OS-keychain connections, stable\nJSON input/output, attachments, replies, normalized operations, and an experimental Hono-based\nlocal signed-webhook server:\n\n```bash\nnpx imessage-cli send \\\n  --provider blooio \\\n  --to +15551234567 \\\n  --text 'Hello'\n```\n\nSee the [CLI README](./packages/cli/README.md) for credential storage, agent input, provider\ncommands, and ngrok or Cloudflare Tunnel setup.\n\n## Chat SDK\n\n```bash\npnpm add @imessage-sdk/chat-adapter chat\n```\n\n```ts\nimport { Chat } from 'chat';\n\nimport { blooio } from '@imessage-sdk/blooio';\nimport { createIMessageAdapter } from '@imessage-sdk/chat-adapter';\n\nconst imessage = createIMessageAdapter({ provider: blooio() });\n\nconst chat = new Chat({\n  userName: 'my-agent',\n  adapters: { imessage },\n  state,\n});\n```\n\nSee the [adapter README](./packages/chat-adapter/README.md) for Hono webhook wiring, supported\nfeatures, thread IDs, attachments, and provider-aware typing.\n\n## Examples\n\n[`examples/basic-blooio`](./examples/basic-blooio) exercises the public core\nand Blooio packages against a real account: conversation discovery, text,\nattachments, replies, status polling, reactions, typing, read state, and\nsigned webhooks. It is guarded by `BLOOIO_RUN_LIVE=1` because running it sends\nreal messages and mutates provider state.\n\n## Releases\n\nPublic changes use Changesets and conventional Semantic Versioning. Add a\nchangeset in a feature pull request with:\n\n```bash\npnpm changeset\n```\n\nAfter feature changes reach `main`, automation opens or updates a **Version\nPackages** pull request containing generated package versions and changelogs.\nMerging that pull request verifies, builds, and publishes changed packages,\nthen creates package-specific Git tags and GitHub Releases, such as\n`imessage-sdk@0.1.0` and `@imessage-sdk/blooio@0.1.0`.\n\nBefore publishing, the same release command used by automation also packs each\npublic package, runs Publint and Are the Types Wrong, installs all tarballs in\na clean strict-TypeScript consumer, checks every public import, and invokes the\ninstalled CLI.\n\nStable releases publish under npm's `latest` dist-tag, while prereleases publish under `beta`. See\n[RELEASING.md](./RELEASING.md) for the complete maintainer workflow.\n\n### Release automation setup\n\nThe `Release` workflow requires:\n\n- a `CHANGESETS_TOKEN` repository secret containing a fine-grained GitHub token\n  with repository Contents and Pull requests write access;\n- an `npm-production` GitHub environment;\n- an npm trusted publisher for every public package, all pointing to\n  `jmisilo/imessage-sdk`, `.github/workflows/release.yml`, and the\n  `npm-production` environment.\n\nA separate GitHub token is used because pull requests opened with the default\nworkflow token require a maintainer to approve their workflow runs. Using\n`CHANGESETS_TOKEN` lets the generated Version Packages pull request receive the\nnormal CI and package smoke tests automatically.\n\n### Internal package dependencies\n\nWorkspace packages import public package names, never another package's source\ndirectory:\n\n```ts\nimport { blooio } from '@imessage-sdk/blooio';\nimport { createIMessageClient } from 'imessage-sdk';\n```\n\nPublishable packages declare internal runtime dependencies with `workspace:^`.\npnpm links them locally and rewrites them to compatible npm ranges when packed\nor published. Changesets updates dependent ranges and versions when a core\nrelease falls outside an existing range.\n\nSee [CHANGELOG.md](./CHANGELOG.md) for release notes.\n\nSee [RELEASING.md](./RELEASING.md) for first-time npm/GitHub setup and the\nregular Changesets release process.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmisilo%2Fimessage-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmisilo%2Fimessage-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmisilo%2Fimessage-sdk/lists"}