Skip to content

feat: CVF open access paper browser, search, and conference listing#1

Open
tamnd wants to merge 1 commit into
mainfrom
feat/pr1-commands
Open

feat: CVF open access paper browser, search, and conference listing#1
tamnd wants to merge 1 commit into
mainfrom
feat/pr1-commands

Conversation

@tamnd

@tamnd tamnd commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Implements a full HTML scraping client in cvf/ package for https://openaccess.thecvf.com/
  • Three commands: papers (list by conference/year), search (keyword search in title/author), conferences (list all available conferences)
  • No API key needed; parses plain HTML using stdlib strings only
  • pkg/render wired for table/json/jsonl/csv/tsv/url output
  • httptest-based tests cover paper listing, limit, search-by-title, search-by-author, conference listing, and not-found handling

Test plan

  • go test ./... passes
  • go build ./... succeeds with CGO_ENABLED=0
  • cvf papers --conference CVPR --year 2024 --limit 5 fetches papers
  • cvf search "deformable" --conference CVPR --year 2024 returns matches
  • cvf conferences lists available conferences
  • cvf papers --conference ECCV --year 9999 exits 3 (not found)

Adds a complete Go library (cvf/) and CLI (cli/) for the Computer Vision
Foundation open access repository at openaccess.thecvf.com.

Library: Config/DefaultConfig/NewClient, Papers/Search/Conferences methods,
stdlib-only HTML parsing (no x/net/html), polite pacing + retry.
CLI: papers, search, conferences commands with --conference/--year flags.
Output: table/json/jsonl/csv/tsv via reflection-based render package.
Tests: 7 httptest-based tests covering all three methods, limit, and 404.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant