{"id":16922882,"url":"https://github.com/unasuke/url2img","last_synced_at":"2025-04-08T18:51:01.228Z","repository":{"id":48875229,"uuid":"202533050","full_name":"unasuke/url2img","owner":"unasuke","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-18T15:18:39.000Z","size":100,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T14:55:30.678Z","etag":null,"topics":[],"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/unasuke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","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},"funding":{"github":"unasuke","custom":"https://www.buymeacoffee.com/unasuke"}},"created_at":"2019-08-15T11:58:51.000Z","updated_at":"2023-01-17T12:20:15.000Z","dependencies_parsed_at":"2025-02-14T14:53:55.722Z","dependency_job_id":"e4e0d910-5967-4664-a0fb-e6d67964f80c","html_url":"https://github.com/unasuke/url2img","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/unasuke%2Furl2img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Furl2img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Furl2img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Furl2img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unasuke","download_url":"https://codeload.github.com/unasuke/url2img/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909154,"owners_count":21016475,"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-13T19:57:03.262Z","updated_at":"2025-04-08T18:51:01.192Z","avatar_url":"https://github.com/unasuke.png","language":"JavaScript","funding_links":["https://github.com/sponsors/unasuke","https://www.buymeacoffee.com/unasuke"],"categories":[],"sub_categories":[],"readme":"# url2img\n\n## Usage\n```shell\n$ curl -v -X POST --header \"Content-Type: application/json\" --data '{\"url\": \"https://example.com, \"size\": {\"width\": 2400, \"height\": 1260 }}' http://function-url --output ogp.png\n```\n\n## Deploy\n```shell\n$ gcloud functions deploy url2img --runtime nodejs10 --trigger-http --region asia-northeast1 --entry-point screenshot\n\n```\n\n## References\n- [Introducing headless Chrome support in Cloud Functions and App Engine | Google Cloud Blog](https://cloud.google.com/blog/products/gcp/introducing-headless-chrome-support-in-cloud-functions-and-app-engine)\n- [HTTP Functions  |  Cloud Functions Documentation  |  Google Cloud](https://cloud.google.com/functions/docs/writing/http)\n- [GoogleCloudPlatform/functions-framework-nodejs: FaaS (Function as a service) framework for writing portable Node.js functions](https://github.com/GoogleCloudPlatform/functions-framework-nodejs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Furl2img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funasuke%2Furl2img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Furl2img/lists"}