{"id":18739356,"url":"https://github.com/neilpa/phace","last_synced_at":"2025-10-14T11:36:26.781Z","repository":{"id":57708870,"uuid":"160417036","full_name":"neilpa/phace","owner":"neilpa","description":"Reverse engineering Mac photos library for data export","archived":false,"fork":false,"pushed_at":"2020-06-09T23:23:56.000Z","size":5049,"stargazers_count":12,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T14:11:56.050Z","etag":null,"topics":["go","golang","macos","photos","photoslibrary"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neilpa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-04T20:49:02.000Z","updated_at":"2025-03-14T07:13:37.000Z","dependencies_parsed_at":"2022-09-26T21:20:43.211Z","dependency_job_id":null,"html_url":"https://github.com/neilpa/phace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilpa%2Fphace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilpa%2Fphace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilpa%2Fphace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilpa%2Fphace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neilpa","download_url":"https://codeload.github.com/neilpa/phace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625499,"owners_count":21135513,"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":["go","golang","macos","photos","photoslibrary"],"created_at":"2024-11-07T15:33:36.271Z","updated_at":"2025-10-14T11:36:21.720Z","avatar_url":"https://github.com/neilpa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phace\n\nReverse engineering OSX/macOS `*.photoslibrary` format. Primary goal is to\nexport face tagging data from the embedded databases.\n\n## Status\n\nThis project is very much a work in progress. Additionally, Apple appears to have made significant changes to the `*.photoslibrary` structure in macOS 10.15 Catalina (maybe 10.14?). Phace has not been updated for these newer versions.\n\n```sh\n$ sqlite3 ./database/photos.db .dump\n```\n\n```sql\nPRAGMA foreign_keys=OFF;\nBEGIN TRANSACTION;\nCREATE TABLE LiGlobals (modelId integer primary key, keyPath varchar, value varchar, blobValue blob);\nINSERT INTO LiGlobals VALUES(1,'metaSchemaVersion','3',NULL);\nINSERT INTO LiGlobals VALUES(2,'libraryVersion','6000',NULL);\nINSERT INTO LiGlobals VALUES(3,'libraryCompatibleBackToVersion','6000',NULL);\nCREATE TABLE LiLibHistory (modelId integer primary key, modDate timestamp, eventType varchar, metaSchemaVersion integer, libraryVersion integer, comment varchar);\nINSERT INTO LiLibHistory VALUES(1,466369847.60223102568,'deprecate',3,6000,'metaSchema.db and photos.db replaced by Photos.sqlite');\nCOMMIT;\n```\n\nSpecifically that last comment: `metaSchema.db and photos.db replaced by Photos.sqlite`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilpa%2Fphace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneilpa%2Fphace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilpa%2Fphace/lists"}