{"id":19389054,"url":"https://github.com/ryanwi/miniature-rotary-phone","last_synced_at":"2026-02-15T08:32:45.541Z","repository":{"id":66688009,"uuid":"494631442","full_name":"ryanwi/miniature-rotary-phone","owner":"ryanwi","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-20T23:30:07.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T15:35:59.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/ryanwi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-20T23:25:56.000Z","updated_at":"2022-05-20T23:25:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8dc722d-c0a3-4e8a-942d-ccb7cacdbf86","html_url":"https://github.com/ryanwi/miniature-rotary-phone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"simonw/shot-scraper-template","purl":"pkg:github/ryanwi/miniature-rotary-phone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fminiature-rotary-phone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fminiature-rotary-phone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fminiature-rotary-phone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fminiature-rotary-phone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanwi","download_url":"https://codeload.github.com/ryanwi/miniature-rotary-phone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwi%2Fminiature-rotary-phone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29473718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-10T10:14:37.794Z","updated_at":"2026-02-15T08:32:45.525Z","avatar_url":"https://github.com/ryanwi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# shot-scraper-template\n\nQuickly create a new GitHub repository that takes automated screenshots of a web page using [shot-scraper](https://github.com/simonw/shot-scraper).\n\nRead more about how this works in [Instantly create a GitHub repository to take screenshots of a web page](https://simonwillison.net/2022/Mar/14/shot-scraper-template/).\n\n[simonw/simonwillison-net-shot](https://github.com/simonw/simonwillison-net-shot) is an example repository created using this template.\n\n## How to get started\n\nVisit https://github.com/simonw/shot-scraper-template/generate\n\n\u003cimg width=\"500\" alt=\"Screenshot of the interface for creating a new repository with this template, showing the URL pasted into the description field\" src=\"https://user-images.githubusercontent.com/9599/158208859-ee12e174-5c5f-40c0-b5f2-e3df15f1ee4f.png\"\u003e\n\nPick a name for your new repository, and paste **the URL** of the page you would like to take screenshots of into the **description field** (including the `http://` or `https://`).\n\nThen click **Create repository from template**.\n\nYour new repository will be created, and a script will run which will do the following:\n\n- Add a `shots.yml` file to your repository containing the URL of the page you requested\n- Take a screenshot of that URL and add that to your repository as a file called `shot.png`\n\nYou can then edit that `shots.yml` file to customize your screenshot, or add more URLs - see below.\n\nIf the script does not run when the repository is first created you may need to **Enable Actions** first:\n\n- Click the \"Actions\" tab\n- Clice \"Enable Actions\"\n- Run the \"Take screenshots\" workflow as described below\n\n## Re-taking the screenshot\n\nTo re-take the screenshot:\n\n- Click \"Actions\"\n- Select the \"Take screenshots\" workflow\n- Click the \"Run workflow\" menu item\n- Click the green \"Run workflow\" button\n\n\u003cimg width=\"600\" alt=\"image\" src=\"https://user-images.githubusercontent.com/9599/158210618-4b361520-4fbb-4a90-ab8c-f729776dd8f0.png\"\u003e\n\nThe repository will keep a history of every previous version of each screenshot, which is useful for keeping track of visual changes to a page.\n\n## Configuring the screenshots\n\nThe initial `shots.yml` file in your repository should look like this:\n\n```yaml\n- url: https://simonwillison.net/\n  output: shot.png\n  height: 800\n```\n\nTo change the name of the file that the screenshot is saved to, change `output: shot.png` to a different file name.\n\nTo take a full height image of the page, remove the `height: 800` line.\n\nTo add additional screenshots, add them to the YAML file like this:\n\n```yaml\n- url: https://simonwillison.net/\n  output: shot.png\n  height: 800\n- url: https://www.example.com/\n  output: example.png\n  height: 800\n```\nOther useful options include:\n\n- `wait: 3000` to add a 3 second delay before taking the shot (in case some things need more time to load)\n- `javascript: ...` to execute custom JavaScript before taking the shot - to activate menus or hide elements or similar\n- `quality: 80` to save a smaller, lower quality JPEG image\n\nThis example takes a shot of the LA Times homepage after hiding ads and the terms of service prompt:\n\n```yaml\n- url: https://www.latimes.com/\n  output: latimes.jpg\n  width: 1600\n  height: 1600\n  quality: 80\n  wait: 2000\n  javascript: |\n    document.querySelectorAll(\n      '[data-ad-rendered],#ensNotifyBanner'\n    ).forEach(el =\u003e el.style.display = 'none')\n```\nFurther options are described in the [shot-scraper README file](https://github.com/simonw/shot-scraper#taking-multiple-screenshots).\n\n## Installing fonts for more languages\n\nThe default Ubuntu used by GitHub Actions does not include fonts for many languages, including Chinese and Japanese.\n\nYou can modify the `shots.yml` file to install extra fonts by adding this section, between the \"Cache Playwright browsers\" and \"Install dependencies\" steps:\n\n```yaml\n    - name: Cache Playwright browsers\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/ms-playwright/\n        key: ${{ runner.os }}-browsers\n    - name: Install extra fonts\n      run: |\n        sudo apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fminiature-rotary-phone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanwi%2Fminiature-rotary-phone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwi%2Fminiature-rotary-phone/lists"}