{"id":50795289,"url":"https://github.com/zerogpu/cookbook","last_synced_at":"2026-06-12T14:01:31.609Z","repository":{"id":343996190,"uuid":"1179857806","full_name":"zerogpu/cookbook","owner":"zerogpu","description":"Examples, end-2-end tutorials and apps built using ZeroGPU ","archived":false,"fork":false,"pushed_at":"2026-03-12T16:25:31.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T22:45:18.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/zerogpu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-12T13:03:10.000Z","updated_at":"2026-03-12T16:25:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zerogpu/cookbook","commit_stats":null,"previous_names":["zerogpu/cookbook"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zerogpu/cookbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerogpu%2Fcookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerogpu%2Fcookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerogpu%2Fcookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerogpu%2Fcookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerogpu","download_url":"https://codeload.github.com/zerogpu/cookbook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerogpu%2Fcookbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34247461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-12T14:01:10.694Z","updated_at":"2026-06-12T14:01:31.596Z","avatar_url":"https://github.com/zerogpu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZeroGPU Cookbook\n\nExamples, end-to-end tutorials, and small apps built with the [ZeroGPU](https://zerogpu.ai) API.\n\n## Structure\n\nAll runnable demos live under **`demos/`**, one folder per demo, with a descriptive name:\n\n```\ncookbook/\n├── README.md           ← you are here\n├── .gitignore          ← ignores .env, node_modules, dist (keeps repo safe)\n└── demos/\n    ├── summarize-react/        ← React summarization app\n    ├── iab-classification-react/ ← React IAB classification app\n    ├── batch-requests-node/    ← Node.js parallel batch requests\n    ├── quickstart-python/      ← Python one-shot request\n    └── ...\n```\n\n**Naming:** Use `demos/\u003cname\u003e/` where `\u003cname\u003e` is short and descriptive, e.g. `summarize-react`, `iab-classification-node`.\n\n## Demos\n\n| Demo | Description |\n|------|-------------|\n| [demos/summarize-react](demos/summarize-react) | React (Vite): summarize text with `zlm-v1-summary-cloud`. API key and project ID in the UI. |\n| [demos/iab-classification-react](demos/iab-classification-react) | React (Vite): classify content into IAB categories with `zlm-v1-iab-classify-cloud`. |\n| [demos/batch-requests-node](demos/batch-requests-node) | Node.js: send multiple summarization requests in parallel. Env vars for credentials. |\n| [demos/quickstart-python](demos/quickstart-python) | Python: one request to the API, print response and usage. Env vars for credentials. |\n\n## Adding a new demo\n\n1. Create a folder under `demos/` with a clear name (e.g. `demos/my-feature-react/`).\n2. Add a `README.md` in that folder with setup and run instructions.\n3. **Do not commit** `.env`, API keys, or secrets. Use `.env.example` for templates. The repo `.gitignore` already ignores `.env` and `node_modules`.\n4. Update this README’s **Demos** table with a link and one-line description.\n\n## Security\n\n- Never commit `.env` or any file containing API keys or secrets.\n- `.env.example` (templates only, no real values) is fine to commit.\n- Demos that take credentials in the UI (e.g. for local try-it) are for demo use only; production apps should call ZeroGPU from a backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerogpu%2Fcookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerogpu%2Fcookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerogpu%2Fcookbook/lists"}