{"id":20882475,"url":"https://github.com/mr-sunglasses/commonsmetafetch","last_synced_at":"2025-08-07T02:20:07.388Z","repository":{"id":258021790,"uuid":"865629770","full_name":"Mr-Sunglasses/CommonsMetaFetch","owner":"Mr-Sunglasses","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-15T21:43:22.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T16:31:16.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://demo.cc.reimg.cfd/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mr-Sunglasses.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,"publiccode":null,"codemeta":null}},"created_at":"2024-09-30T21:09:48.000Z","updated_at":"2024-10-15T21:43:25.000Z","dependencies_parsed_at":"2024-10-17T10:17:13.912Z","dependency_job_id":"0141adc0-a9fc-4f89-9a82-b4bda1e5f0a8","html_url":"https://github.com/Mr-Sunglasses/CommonsMetaFetch","commit_stats":null,"previous_names":["mr-sunglasses/commonsmetafetch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mr-Sunglasses/CommonsMetaFetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Sunglasses%2FCommonsMetaFetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Sunglasses%2FCommonsMetaFetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Sunglasses%2FCommonsMetaFetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Sunglasses%2FCommonsMetaFetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-Sunglasses","download_url":"https://codeload.github.com/Mr-Sunglasses/CommonsMetaFetch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Sunglasses%2FCommonsMetaFetch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269185976,"owners_count":24374703,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"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":"2024-11-18T07:32:04.554Z","updated_at":"2025-08-07T02:20:07.321Z","avatar_url":"https://github.com/Mr-Sunglasses.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CommonsMetaFetch\n\nThis application is a FastAPI-based web service that allows users to upload CSV or TSV files containing file names or URLs, fetch metadata for these files from Wikimedia Commons, and download a processed TSV file with the selected metadata fields.\n\n## Features\n\n- Upload CSV or TSV files\n- Select specific metadata fields to include in the output\n- Process files and fetch metadata from Wikimedia Commons\n- Download processed metadata as a TSV file\n- Dockerized for easy deployment\n\n## Prerequisites\n\n- Docker\n\n## Quick Start\n\n1. Clone this repository:\n   ```\n   git clone https://github.com/Mr-Sunglasses/CommonsMetaFetch.git\n   cd CommonsMetaFetch\n   ```\n\n2. Build and run the Docker container:\n   ```\n   docker build -t metafetch .\n   docker run -p 8000:8000 metafetch\n   ```\n\n3. Open your web browser and navigate to `http://localhost:8000`\n\n## Usage\n\n1. On the web interface, click \"Choose File\" to select your CSV or TSV file.\n2. Select the metadata fields you want to include in the output.\n3. Click \"Process File\" to upload and process your file.\n4. Once processing is complete, the processed TSV file will be automatically downloaded.\n\n## Development\n\n### Requirements\n\n- Python 3.9+\n- FastAPI\n- Uvicorn\n- Requests\n- pytest (for running tests)\n\n### Setup\n\n1. Create a virtual environment:\n   ```\n   python -m venv venv\n   source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n   ```\n\n2. Install the required packages:\n   ```\n   pip install -r requirements.txt\n   ```\n\n3. Run the application:\n   ```\n   uvicorn main:app --reload\n   ```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sunglasses%2Fcommonsmetafetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-sunglasses%2Fcommonsmetafetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sunglasses%2Fcommonsmetafetch/lists"}