{"id":16354755,"url":"https://github.com/vikiival/vercelgl","last_synced_at":"2025-03-23T01:31:14.104Z","repository":{"id":215083452,"uuid":"738072550","full_name":"vikiival/vercelgl","owner":"vikiival","description":"Use serverless chrome on your vercel","archived":false,"fork":false,"pushed_at":"2024-03-04T18:48:12.000Z","size":47,"stargazers_count":18,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-12T01:36:33.270Z","etag":null,"topics":["puppeteer","serverless-chrome","vercel","webgl"],"latest_commit_sha":null,"homepage":"https://capturegl.vercel.app","language":"TypeScript","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/vikiival.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-01-02T10:59:42.000Z","updated_at":"2024-09-11T18:36:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fee22f9-4a3f-4c4b-8017-fa20a48f3a4c","html_url":"https://github.com/vikiival/vercelgl","commit_stats":null,"previous_names":["vikiival/vercelgl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiival%2Fvercelgl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiival%2Fvercelgl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiival%2Fvercelgl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiival%2Fvercelgl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikiival","download_url":"https://codeload.github.com/vikiival/vercelgl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221841789,"owners_count":16890048,"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":["puppeteer","serverless-chrome","vercel","webgl"],"created_at":"2024-10-11T01:36:49.775Z","updated_at":"2024-10-28T14:40:23.056Z","avatar_url":"https://github.com/vikiival.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## VercelGL\n\nVercelGL is a simple, lightweight API to use serverless chrome.\nIt is designed to be used with the [Vercel](https://vercel.com) platform, but can be used anywhere.\n\n## Usage\n\ncurrently there is only one route implemented\n\n```\nPOST /api/screenshot\n```\n\nBody \n\n\u003e Bear in mind that this app is more like template so fill free to bend for your use case (mine is looking for `\u003ccanvas\u003e` the web)\n\n```json\n{\n  \"url\": \"https://bafybeigsw7gagsmvxxivt5kvrl6ueld7yszzef2aylxbzzafez6ybxscca.ipfs.nftstorage.link\"\n}\n```\n\n\u003cimg width=\"1608\" alt=\"Screenshot 2024-01-22 at 11 56 56\" src=\"https://github.com/vikiival/vercelgl/assets/22471030/58f382b1-fb09-445b-a519-abdaad1b50ff\"\u003e\n\n\n## FAQ\n\n### This example does not work\n\nSeems that many users have problem with paths etc.\nUsing **pnpm** as package manager seemed to make a difference.\n\n### I am getting 504 HTTP error\n\n\nPlease increase `maxDuration` for the serverless functions in `vercel.json`:\n\n```json\n\"functions\": {\n  \"api/**/*\": {\n    \"maxDuration\": 60\n  }\n}\n```\n\n\n### Reference\n\nhttps://gist.github.com/kettanaito/56861aff96e6debc575d522dd03e5725\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikiival%2Fvercelgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikiival%2Fvercelgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikiival%2Fvercelgl/lists"}