{"id":21933660,"url":"https://github.com/chee/imessages","last_synced_at":"2026-05-01T21:33:27.964Z","repository":{"id":97395928,"uuid":"455322390","full_name":"chee/imessages","owner":"chee","description":"extract imessage chats to json :-)","archived":false,"fork":false,"pushed_at":"2022-08-04T07:14:49.000Z","size":200,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T11:57:32.000Z","etag":null,"topics":["apple","backup","extract","imessage","json","messages","texts"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/imessages","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chee.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":"2022-02-03T20:45:28.000Z","updated_at":"2025-05-11T04:03:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f0e30a0-37c8-4b12-a255-241cd23e9f84","html_url":"https://github.com/chee/imessages","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/chee/imessages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chee%2Fimessages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chee%2Fimessages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chee%2Fimessages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chee%2Fimessages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chee","download_url":"https://codeload.github.com/chee/imessages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chee%2Fimessages/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263421920,"owners_count":23464048,"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":["apple","backup","extract","imessage","json","messages","texts"],"created_at":"2024-11-29T00:13:14.256Z","updated_at":"2025-10-20T00:13:39.220Z","avatar_url":"https://github.com/chee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imessages\n\nextract imessage chats to json :-)\n\n\n## Usage\n\n```\nnpm install -g imessages\ncp ~/Library/Messages/chat.db chat.db\nimessages list-handles ./chat.db // prints all the handles\nimessages extract ./chat.db +525588888888 Sofia chee \u003e sofia.json\n```\n\n### commands\n\n#### extract\n\nextract messages for a handle\n\n```\nimessages extract \u003cdatabase\u003e \u003chandle\u003e [name] [me]\n```\n\n#### args\n\n| opt      | desc                                                      | required |\n|:---------|:----------------------------------------------------------|:---------|\n| database | chat.db (found at ~/Library/Messages/chat.db)             | yes      |\n| handle   | whose msgs to extract (see [list-handles](#list-handles)) | yes      |\n| name     | the name to use for messages sent by them                 | no       |\n| me       | the name to use for messages sent by you                  | no       |\n\n#### list-handles\n\nlist available handles in a chat.db database\n\n```\nimessages extract \u003cdatabase\u003e\n```\n\n#### args\n\n| opt      | desc                                          | required |\n|:---------|:----------------------------------------------|:---------|\n| database | chat.db (found at ~/Library/Messages/chat.db) | yes      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchee%2Fimessages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchee%2Fimessages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchee%2Fimessages/lists"}