{"id":21858099,"url":"https://github.com/cesarferreira/awsnap","last_synced_at":"2025-04-14T18:53:39.525Z","repository":{"id":57188526,"uuid":"141768296","full_name":"cesarferreira/awsnap","owner":"cesarferreira","description":"🏄 Generate beautiful screenshots","archived":false,"fork":false,"pushed_at":"2018-07-21T16:39:04.000Z","size":1503,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:21:52.071Z","etag":null,"topics":["beautiful","generate","images","thumbnails","thumbnails-preview","tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cesarferreira.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":"2018-07-21T00:14:17.000Z","updated_at":"2024-04-04T14:35:50.000Z","dependencies_parsed_at":"2022-08-28T11:11:17.467Z","dependency_job_id":null,"html_url":"https://github.com/cesarferreira/awsnap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fawsnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fawsnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fawsnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cesarferreira%2Fawsnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cesarferreira","download_url":"https://codeload.github.com/cesarferreira/awsnap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248942150,"owners_count":21186937,"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":["beautiful","generate","images","thumbnails","thumbnails-preview","tool"],"created_at":"2024-11-28T02:42:22.673Z","updated_at":"2025-04-14T18:53:39.499Z","avatar_url":"https://github.com/cesarferreira.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awsnap\n\u003e 🏄  Generate beautiful screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/output.png\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/awsnap\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/awsnap.svg\" alt=\"npm\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/awsnap\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/awsnap.svg\" alt=\"npm\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/cesarferreira/awsnap/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\nI decided to open source the tool I've developed to create [this](https://github.com/cesarferreira/facelift):\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/facelift-ss.png\" width=\"90%\" /\u003e\n\u003c/p\u003e\n\n## Install\n\n```sh\nbrew install pkg-config cairo libpng jpeg giflib imagemagick\n```\n\n```sh\nnpm install -g awsnap\n```\n\n## Usage\n\n```\nUsage\n\n   $ awsnap \u003ccommand\u003e \u003cparams\u003e\n\n```\n\n```\nExamples\n   $ awsnap generate 2000 800 f7d794 extras/ss.png extras/output.png 1500 700    \n```\n\nthis will generate an image with the size of `2000 x 800`, color `#f7d794`, screenshot at `extras/ss.png` will output into `extras/output.png` and optionally will crop the image to be `1500 x 700`\n\nHere you can see the `ss.png` :\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/ss.png\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\nthe output is:\n\n\u003e awsnap generate 2000 800 d3d3d3 extras/ss.png extras/output.png 1500 700\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/output.png\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003e awsnap generate 2000 800 718B71 extras/ss.png extras/output2.png 1500 700\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/output2.png\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003e awsnap generate 2000 800 d3d3d3 extras/ss.png extras/output3.png 1500 700\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"extras/output3.png\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n## Created by\n[Cesar Ferreira](https://cesarferreira.com)\n\n## License\nMIT © [Cesar Ferreira](http://cesarferreira.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Fawsnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesarferreira%2Fawsnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesarferreira%2Fawsnap/lists"}