{"id":16426438,"url":"https://github.com/dishwasher-detergent/screenshot","last_synced_at":"2025-07-09T01:34:51.478Z","repository":{"id":196260126,"uuid":"694871859","full_name":"dishwasher-detergent/screenshot","owner":"dishwasher-detergent","description":"Take photos, videos, and get metadata about any site with ease!","archived":false,"fork":false,"pushed_at":"2024-02-28T16:18:48.000Z","size":143,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T01:11:17.805Z","etag":null,"topics":["appwrite","appwrite-function"],"latest_commit_sha":null,"homepage":"https://api.jibby.space/","language":"TypeScript","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/dishwasher-detergent.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-21T21:48:42.000Z","updated_at":"2024-06-07T21:44:14.000Z","dependencies_parsed_at":"2024-02-28T17:45:35.791Z","dependency_job_id":null,"html_url":"https://github.com/dishwasher-detergent/screenshot","commit_stats":null,"previous_names":["dishwasher-detergent/screenshot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dishwasher-detergent%2Fscreenshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dishwasher-detergent%2Fscreenshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dishwasher-detergent%2Fscreenshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dishwasher-detergent%2Fscreenshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dishwasher-detergent","download_url":"https://codeload.github.com/dishwasher-detergent/screenshot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238408672,"owners_count":19467155,"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":["appwrite","appwrite-function"],"created_at":"2024-10-11T08:09:13.255Z","updated_at":"2025-02-12T03:31:28.400Z","avatar_url":"https://github.com/dishwasher-detergent.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://github.com/dishwasher-detergent/screenshot/assets/33816169/b61b698e-c4bc-4fa9-b266-e7f03e9f733a)\n\n## 🧰 Usage\n\n### GET /\n\nReturns HTML website with documentation for API.\n\n**Response**\n\n![image](https://github.com/dishwasher-detergent/screenshot/assets/33816169/dcb6f5a2-8f25-4f96-a2dd-a52e59c89496)\n\n### GET /screenshot/:url\n\nReturns an webp/png/jpeg image of the specified URL;\n\n**Options**\n\n| Query Param    | Type                | Default Value |\n|----------------|---------------------|---------------|\n| width          | number              | 1280          |\n| height         | number              | 720           |\n| scale          | number              | 1             |\n| clipX          | number              |               |\n| clipY          | number              |               |\n| quality        | number              | 80            |\n| format         | jpeg \\| webp \\| png | webp          |\n| fullPage       | boolean             | false         |\n| omitBackground | boolean             | false         |\n| darkMode       | boolean             | false         |\n\n**Response**\n\nSample `200` Response:\n\n```\n(image buffer)\n```\n\n### GET /video/:url\n\nReturns an mp4 video of the specified URL;\n\n**Options**\n\n| Query Param    | Type                | Default Value     |\n|----------------|---------------------|-------------------|\n| width          | number              | 1280              |\n| height         | number              | 720               |\n| scale          | number              | 1                 |\n| darkMode       | boolean             | false             |\n| animation      | string              | 1000,500,0,smooth |\n\nAnimation values are created in the format: wait (the duration it stays after an animation has played), top (how many pixels to go from the top), left (how many pixles to go from the left), behavior (smooth, instant, auto)\n\nAnimations can be chained together using a colon. Example 1000,100,0,smooth:1000,300,0,smooth\n\n**Response**\n\nSample `200` Response:\n\n```\n(video buffer)\n```\n\n### GET /metadata/:url\n\nReturns a json representation of the meta tags for the specified URL;\n\n**Response**\n\nSample `200` Response:\n\n```json\n[\n  {\n    \"charset\": \"utf-8\"\n  },\n  {\n    \"name\": \"description\",\n    \"content\": \"Kenneth Bass' Portfolio of Projects!\"\n  },\n  {\n    \"name\": \"viewport\",\n    \"content\": \"width=device-width, initial-scale=1\"\n  }\n]\n```\n\n## ⚙️ Configuration\n\n| Setting           | Value         |\n| ----------------- | ------------- |\n| Runtime           | Node (18.0)   |\n| Entrypoint        | `src/main.js` |\n| Build Commands    | `npm install` |\n| Permissions       | `any`         |\n| Timeout (Seconds) | 30            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdishwasher-detergent%2Fscreenshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdishwasher-detergent%2Fscreenshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdishwasher-detergent%2Fscreenshot/lists"}