{"id":49567728,"url":"https://github.com/soffits/oogc-resource-index","last_synced_at":"2026-05-03T12:10:25.910Z","repository":{"id":354462677,"uuid":"1223645011","full_name":"soffits/oogc-resource-index","owner":"soffits","description":"Spreadsheet-ready OOGC resource indexing with incremental crawl, authenticated download URLs, and Seafile export.","archived":false,"fork":false,"pushed_at":"2026-04-28T16:46:22.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T18:22:51.612Z","etag":null,"topics":["agpl-3","automation","cli","crawler","python","uv"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soffits.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-28T14:16:15.000Z","updated_at":"2026-04-28T16:46:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/soffits/oogc-resource-index","commit_stats":null,"previous_names":["soffits/oogc-resource-index"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/soffits/oogc-resource-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffits%2Foogc-resource-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffits%2Foogc-resource-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffits%2Foogc-resource-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffits%2Foogc-resource-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soffits","download_url":"https://codeload.github.com/soffits/oogc-resource-index/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soffits%2Foogc-resource-index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32568146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["agpl-3","automation","cli","crawler","python","uv"],"created_at":"2026-05-03T12:10:24.926Z","updated_at":"2026-05-03T12:10:25.903Z","avatar_url":"https://github.com/soffits.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oogc-resource-index\n\n`oogc-resource-index` is a focused Python CLI for building a clean, spreadsheet-ready index of OOGC resource metadata. It crawls resource list and detail pages, enriches records with authenticated download URLs when a cookie is provided, writes XLSX/CSV exports, and can upload finished files to Seafile.\n\nDesigned as a practical Phase 1 automation tool, the project keeps the workflow small, auditable, and easy to rerun for incremental updates.\n\n## Highlights\n\n- Crawls OOGC resource pages asynchronously with configurable concurrency and timeouts.\n- Exports normalized records to XLSX, with a CSV copy by default.\n- Updates existing CSV/XLSX datasets incrementally unless `--full` is requested.\n- Optionally resolves authenticated `downUrl` values from a cookie supplied at runtime.\n- Uploads completed exports to Seafile through repository-token configuration outside the repo.\n\n## Setup\n\n```bash\nuv sync\n```\n\n## Commands\n\n```bash\nuv run pytest\nuv run oogc-resource-index --help\nuv run oogc-resource-index verify-cookie --cookie-file cookie.txt\nuv run oogc-resource-index crawl --cookie-file cookie.txt --output exports/oogc_resources.xlsx\nuv run oogc-resource-index crawl --cookie-file cookie.txt --output exports/oogc_resources.xlsx --full\nuv run oogc-resource-index incremental-update --dataset exports/oogc_resources.xlsx --output exports/oogc_resources.xlsx --cookie-file cookie.txt\nuv run oogc-resource-index upload-seafile exports/oogc_resources.xlsx\n```\n\n`crawl` creates a new dataset when the output file does not exist. Later runs against the same output update it incrementally by default. Use `--no-download-links` for metadata-only exports and `--no-csv-copy` to skip the CSV companion file.\n\n`upload-seafile` reads `/opt/data/.secrets/seafile-vault.env` by default. It expects `SEAFILE_SERVER_URL` and `SEAFILE_REPO_TOKEN`; optional keys are `SEAFILE_PARENT_DIR` and `SEAFILE_REPLACE`.\n\n## Security\n\nDo not commit cookies, account credentials, Seafile tokens, generated exports, or local environment files. Runtime secrets should stay in ignored files such as `cookie.txt` or external paths such as `/opt/data/.secrets/seafile-vault.env`.\n\n## License\n\nGNU Affero General Public License v3.0 only. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffits%2Foogc-resource-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoffits%2Foogc-resource-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoffits%2Foogc-resource-index/lists"}