{"id":40853769,"url":"https://github.com/amandeepg/framer","last_synced_at":"2026-01-21T23:43:27.552Z","repository":{"id":224644068,"uuid":"763824370","full_name":"amandeepg/framer","owner":"amandeepg","description":"Framer will composite a screenshot onto a device frame, by intelligently finding the space for the screenshot.","archived":false,"fork":false,"pushed_at":"2024-03-15T20:34:35.000Z","size":4410,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-16T11:15:33.140Z","etag":null,"topics":["android","app-store","ios","play-store","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amandeepg.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}},"created_at":"2024-02-27T01:27:29.000Z","updated_at":"2024-03-14T09:52:13.000Z","dependencies_parsed_at":"2024-03-03T05:24:18.772Z","dependency_job_id":"42426f8d-c3e2-4b3b-9bd1-c3e86c5e075f","html_url":"https://github.com/amandeepg/framer","commit_stats":null,"previous_names":["amandeepg/framer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/amandeepg/framer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amandeepg%2Fframer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amandeepg%2Fframer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amandeepg%2Fframer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amandeepg%2Fframer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amandeepg","download_url":"https://codeload.github.com/amandeepg/framer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amandeepg%2Fframer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28646960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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":["android","app-store","ios","play-store","rust"],"created_at":"2026-01-21T23:43:27.498Z","updated_at":"2026-01-21T23:43:27.543Z","avatar_url":"https://github.com/amandeepg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Framer\nFramer will composite a screenshot onto a device frame, by intelligently finding the space for the screenshot.\n\nBuilt in Rust. \n\n[![Build with Rust](https://github.com/amandeepg/framer/actions/workflows/rust.yml/badge.svg)](https://github.com/amandeepg/framer/actions/workflows/rust.yml)\n\n### Usage\n```\nUsage: framer [OPTIONS] \u003cDEVICE_FRAME_PATH\u003e \u003cSCREENSHOT_PATH\u003e\n\nArguments:\n  \u003cDEVICE_FRAME_PATH\u003e  Path to device frame image\n  \u003cSCREENSHOT_PATH\u003e    Path to screenshot image\n\nOptions:\n  -o \u003cOUTPUT_PATH\u003e              Path to composited output image [default: result.png]\n  -x, --x-perc \u003cpercent\u003e        How far, as a percentage, from the left edge that the screenshot area is at [default: 50]\n  -y, --y-perc \u003cpercent\u003e        How far, as a percentage, from the top edge that the screenshot area is at [default: 50]\n      --oxipng-level \u003clevel\u003e    The level of optimization to use with oxipng (0-6), lower is faster [default: 4]\n      --pngquant-speed \u003cspeed\u003e  The level of optimization to use with pngquant (1-10), higher is faster [default: 4]\n  -h, --help                    Print help\n  -V, --version                 Print version\n```\n\nThen you can create your frame with marketing text around it once, and run `framer` in a script to automatically put in updated screenshots.\n\n### Examples\nOur first example is an Android device with some marketing text already created. We can then run `framer` to put in a screenshot, which produces the composited image:\n# \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/frame1.webp\"\u003e\u003cimg src=\"./docs/frame1.webp\" height=\"300\"/\u003e\u003c/a\u003e \u0026nbsp;**+**\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/screenshot1.webp\"\u003e\u003cimg src=\"./docs/screenshot1.webp\" height=\"300\"/\u003e\u003c/a\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;**=**\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/framescr1.webp\"\u003e\u003cimg src=\"./docs/framescr1.webp\" height=\"300\"/\u003e\u003c/a\u003e\n\nOf course `framer` is agnostic to the actual device, so an iPhone frame and an iPhone screenshot will work just as well:\n# \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/frame2.webp\"\u003e\u003cimg src=\"./docs/frame2.webp\" height=\"300\"/\u003e\u003c/a\u003e \u0026nbsp;**+**\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/screenshot2.webp\"\u003e\u003cimg src=\"./docs/screenshot2.webp\" height=\"300\"/\u003e\u003c/a\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;**=**\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/framescr2.webp\"\u003e\u003cimg src=\"./docs/framescr2.webp\" height=\"300\"/\u003e\u003c/a\u003e\n\nWe can even go further and use `framer` to composite web screenshots onto a laptop frame:\n# \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/frame3.webp\"\u003e\u003cimg src=\"./docs/frame3.webp\" height=\"150\"/\u003e\u003c/a\u003e \u0026nbsp;**+**\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/screenshot3.webp\"\u003e\u003cimg src=\"./docs/screenshot3.webp\" height=\"150\"/\u003e\u003c/a\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;**=**\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ca href=\"https://raw.githubusercontent.com/amandeepg/framer/master/docs/framescr3.webp\"\u003e\u003cimg src=\"./docs/framescr3.webp\" height=\"150\"/\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famandeepg%2Fframer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famandeepg%2Fframer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famandeepg%2Fframer/lists"}