{"id":13580554,"url":"https://github.com/tbdsux/koyo","last_synced_at":"2025-04-06T02:31:48.898Z","repository":{"id":136174359,"uuid":"572125981","full_name":"tbdsux/koyo","owner":"tbdsux","description":"Website screenshot service api on Deta Space","archived":true,"fork":false,"pushed_at":"2023-06-06T17:10:42.000Z","size":527,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-05T19:43:48.593Z","etag":null,"topics":["deta-space","screenshot","website-screenshot"],"latest_commit_sha":null,"homepage":"https://alpha.deta.space/discovery/@theboringdude/koyo","language":"Svelte","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/tbdsux.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,"publiccode":null,"codemeta":null}},"created_at":"2022-11-29T15:54:56.000Z","updated_at":"2024-09-19T19:24:55.000Z","dependencies_parsed_at":"2024-11-05T19:55:27.860Z","dependency_job_id":null,"html_url":"https://github.com/tbdsux/koyo","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbdsux%2Fkoyo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbdsux%2Fkoyo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbdsux%2Fkoyo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbdsux%2Fkoyo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbdsux","download_url":"https://codeload.github.com/tbdsux/koyo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426090,"owners_count":20937066,"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":["deta-space","screenshot","website-screenshot"],"created_at":"2024-08-01T15:01:53.009Z","updated_at":"2025-04-06T02:31:48.874Z","avatar_url":"https://github.com/tbdsux.png","language":"Svelte","funding_links":[],"categories":["Svelte"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./assets/banner.png\"\u003e\n    \u003ch1\u003ekoyo\u003c/h1\u003e\n    \u003cp\u003eWeb screenshot service api\u003c/p\u003e\n\u003c/div\u003e\n\n## [CLI](./cli/koyo)\n\n## API\n\nYou will need to create an `API Key` from your Koyo space app before communicating through the screenshot api outside of space app.\n\n### Structure\n\n- `/api/screenshot`\n\n  Main screenshot api. Options can be viewed and modifed through your space app instance.\n\n- `/api/drive/files`\n\n  List saved screenshot files from the default app drive. Filename is sorted with `{iso-date-string}-{website-hostname}.{image-type}` (Example: `2023-02-07T09:49:11.890Z-www.google.com.png`)\n\n- `/api/drive/files/{filename}`\n\n  Endpoint for saved screenshot `filename`. It will return the image buffer / data if it exists otherwise, will return an `Error 404` json object.\n\n## Changelog\n\n### v0.3.0\n\n- Added [`API Keys`](https://deta.space/docs/en/basics/micros#api-keys) for security purposes.\n- Added **Save To Drive** screenshot api option. Can also view saved screenshots.\n- Add more features for [CLI](./cli/koyo/README.md)\n\n### v0.2.0\n\n- Bug fixes and some minor adjustments and additions\n- Download image button\n\n### v0.1.1\n\n- Whitehole integration from https://alpha.deta.space/discovery/@mikhailsdv/black_hole-3kf\n\n## Known Issues\n\n- Full page screenshot doesn't work on some websites.\n\n## Development\n\nThis project is a monorepo using `pnpm`.\n\n- Clone the repository\n\n  ```sh\n  git clone https://github.com/tbdsux/koyo.git\n  ```\n\n- Install the dependencies\n\n  ```sh\n  pnpm install\n  ```\n\n- Start development. This will run the both the api and frontend projects together simultaneously.\n\n  ```sh\n  pnpm dev\n  ```\n\n### Project structure\n\n- `api` - Expressjs, main screenshot api.\n\n- `website` - Sveltekit website frontend.\n\n##\n\n**\u0026copy; 2022 | tbdsux**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbdsux%2Fkoyo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbdsux%2Fkoyo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbdsux%2Fkoyo/lists"}