{"id":16185484,"url":"https://github.com/patrickhulce/autocaption","last_synced_at":"2025-04-07T13:15:42.822Z","repository":{"id":176497382,"uuid":"658176907","full_name":"patrickhulce/autocaption","owner":"patrickhulce","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-12T02:43:35.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T00:49:59.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/patrickhulce.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":"2023-06-25T02:32:13.000Z","updated_at":"2023-06-25T02:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0911d81-bef7-4dbe-8684-f0ee910c2f29","html_url":"https://github.com/patrickhulce/autocaption","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"ff95f3fdc3d476929336bef839134bc1c67b37a2"},"previous_names":["patrickhulce/autocaption"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fautocaption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fautocaption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fautocaption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickhulce%2Fautocaption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickhulce","download_url":"https://codeload.github.com/patrickhulce/autocaption/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657266,"owners_count":20974345,"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":[],"created_at":"2024-10-10T07:14:25.125Z","updated_at":"2025-04-07T13:15:42.779Z","avatar_url":"https://github.com/patrickhulce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage\n\n```bash\n\n# Setup JS deps\nnpm i\n\n# Setup Python deps\nconda env create -f environment.yml\nconda activate autocaption\n\n# Setup your OpenAi API key\nexport OPENAI_API_KEY=\u003cAPI KEY GOES HERE\u003e\n\n# Setup your files\ncat \u003e ./file.csv \u003c\u003cEOF\nURL,ANYTHING ELSE\nhttps://www.google.com/images/branding/googlelogo/2x/googlelogo_light_color_272x92dp.png,other fields\nEOF\n\n# Run autocaption\nnpm start -- ./file.csv\n```\n\n## Prerequisites\n\nYou'll need a working conda environment.\n\n```sh\nbrew install miniconda # Install miniconda for managing python environments\nconda init \"$(basename \"${SHELL}\")\" # Setup conda in your shell\nconda config --set auto_activate_base false # (If you don't normally program in python), disable it from autoloading.\n```\n\n# Contributing\n\n## Modifying Python Deps\n\n```sh\nconda activate autocaption\nconda install pytorch torchvision -c pytorch # Or whatever deps you're adding.\nconda env export --from-history \u003e environment.yml # Update the equivalent of `package.json`\n```\n\n# Milestone Time Tracking\n\n- Data cleanup ~15 minutes\n- Working captioner ~55 minutes (but awful results)\n- Working 2 OCR variants ~90 minutes\n- GPT-based combiner ~45 minutes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fautocaption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickhulce%2Fautocaption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickhulce%2Fautocaption/lists"}