{"id":17996783,"url":"https://github.com/cosmo/shotplan","last_synced_at":"2025-03-26T04:30:54.731Z","repository":{"id":45822253,"uuid":"514487459","full_name":"Cosmo/ShotPlan","owner":"Cosmo","description":"A command line tool that calls your Xcode Test Plan and creates screenshots of your app automatically.","archived":false,"fork":false,"pushed_at":"2022-08-08T12:55:09.000Z","size":32,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T05:22:25.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/Cosmo.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}},"created_at":"2022-07-16T05:32:21.000Z","updated_at":"2023-05-18T03:41:03.000Z","dependencies_parsed_at":"2022-08-12T12:21:05.215Z","dependency_job_id":null,"html_url":"https://github.com/Cosmo/ShotPlan","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/Cosmo%2FShotPlan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FShotPlan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FShotPlan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FShotPlan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cosmo","download_url":"https://codeload.github.com/Cosmo/ShotPlan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589171,"owners_count":20640239,"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-10-29T21:15:51.781Z","updated_at":"2025-03-26T04:30:54.394Z","avatar_url":"https://github.com/Cosmo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShotPlan (WIP)\n\nA command line tool that calls your Xcode Test Plan and creates screenshots of your app automatically.\n\nShotPlan will also take care of the status bar in your screenshots.\n\n\n## Installation\n\n### [Mint](https://github.com/yonaskolb/mint)\n\n```sh\nmint install Cosmo/ShotPlan@main\n```\n\n## Requirements\n\nShotPlan requires xcparse to be installed.\n\n```sh\nbrew install chargepoint/xcparse/xcparse\n```\n\n## Configuration\n\nChange to your Xcode project directory and run the `shotplan init` command to create a new configuration file.\nDon't forget to replace the placeholders `YOUR_SCHEME` and `YOUR_TESTPLAN`.\n\n```sh\nshotplan init -s YOUR_SCHEME -t YOUR_TESTPLAN\n```\n\nThis will create a file called `ShotPlan.json` that looks like this:\n\n```json\n{\n  \"scheme\" : \"YOUR_SCHEME\",\n  \"devices\" : [\n    {\n      \"homeStyle\" : \"indicator\",\n      \"displaySize\" : \"6.5\",\n      \"simulatorName\" : \"iPhone 11 Pro Max\"\n    },\n    {\n      \"homeStyle\" : \"button\",\n      \"displaySize\" : \"5.5\",\n      \"simulatorName\" : \"iPhone 8 Plus\"\n    },\n    {\n      \"homeStyle\" : \"indicator\",\n      \"displaySize\" : \"12.9\",\n      \"simulatorName\" : \"iPad Pro (12.9-inch) (5th generation)\"\n    }\n  ],\n  \"testPlan\" : \"YOUR_TESTPLAN\"\n}\n```\n\n## Usage\n\nRun the following command:\n\n```sh\nshotplan run\n```\n\nShotPlan will create a `Screenshots` directory in your project with all the screenshots of the devices in your configuration and the screens in your Test Plan.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fshotplan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmo%2Fshotplan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fshotplan/lists"}