{"id":23636411,"url":"https://github.com/parbhat-cpp/gencap-server","last_synced_at":"2026-04-07T09:32:28.538Z","repository":{"id":270057359,"uuid":"899861674","full_name":"parbhat-cpp/gencap-server","owner":"parbhat-cpp","description":"AI social media captions generator","archived":false,"fork":false,"pushed_at":"2024-12-28T03:52:30.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T05:06:55.667Z","etag":null,"topics":["ai","aws-s3","cloudflare","expressjs","llama","nodejs","typescript","vision"],"latest_commit_sha":null,"homepage":"https://parbhat-cpp.github.io/gencap/","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/parbhat-cpp.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}},"created_at":"2024-12-07T07:56:33.000Z","updated_at":"2024-12-28T03:54:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"abfd77ba-8dbd-4d0d-840a-e0cad2eb9a1c","html_url":"https://github.com/parbhat-cpp/gencap-server","commit_stats":null,"previous_names":["parbhat-cpp/gencap-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parbhat-cpp/gencap-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parbhat-cpp%2Fgencap-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parbhat-cpp%2Fgencap-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parbhat-cpp%2Fgencap-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parbhat-cpp%2Fgencap-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parbhat-cpp","download_url":"https://codeload.github.com/parbhat-cpp/gencap-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parbhat-cpp%2Fgencap-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","aws-s3","cloudflare","expressjs","llama","nodejs","typescript","vision"],"created_at":"2024-12-28T06:12:05.887Z","updated_at":"2026-04-07T09:32:28.531Z","avatar_url":"https://github.com/parbhat-cpp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# GenCap Server\n\n\n## Installation\n\nFork and clone my project. After that run the installation command.\n\n```bash\n  npm install\n```\n\nTo run on dev environment\n```bash\n  npm run dev\n```\n\nTo create a build\n```bash\n  npm run build\n```\n    \n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`GROQ_API_KEY` = Using Groq to access Llama vision AI\n\n`TOKEN_VALUE` = Provided by Cloudflare\n\n`AWS_ACCESS_KEY_ID` = Provided by Cloudflare\n\n`AWS_SECRET_ACCESS_KEY` = Provided by Cloudflare\n\n`R2_BUCKET_NAME` = Cloudflare R2 bucket name\n\n`R2_ENDPOINT` = Provided by Cloudflare\n\n`R2_ACCESS_URL` = Provided by Cloudflare to access image\n\n\n\n## API Reference\n\n### Images API\n\n#### Uploads image to Cloudflare R2 bucket\n\n```http\n  POST /api/image/upload\n```\n\n#### Delete image from Cloudflare R2 bucket\n\n```http\n  POST /api/image/delete\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `object-key`      | `string` | **Required**. object-key to delete image |\n\n### AI API\n\n#### Generate captions\n\n```http\n  POST /api/ai/generate-captions\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `image-name`      | `string` | **Required**. To access image from Cloudflare bucket |\n| `caption-length`      | `string` | **Optional**. To set length of the captions. Values allowed [\"short length\", \"medium length\", \"long length\"] |\n| `user-prompt` | `string` | **Optional**. To add additional information with image |\n\n## Tech Stack\n\n**Client:** React, TailwindCSS, Shadcn ([Client repo](https://github.com/parbhat-cpp/gencap))\n\n**Server:** Node, Express, Cloudflare R2, Llama vision AI API\n\n## Authors\n\n- [@parbhat-cpp](https://www.github.com/parbhat-cpp)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparbhat-cpp%2Fgencap-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparbhat-cpp%2Fgencap-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparbhat-cpp%2Fgencap-server/lists"}