Phase 1: Core — scraping engine, data model, and main table view #3

Open
opened 2026-07-06 09:41:57 -06:00 by ppreeper · 0 comments
Owner

Description

Build the foundational layer of modelsollama: Go module setup, HTML scraping engine, data model, and the main table view with row navigation.

Tasks

  • Initialize Go module and add dependencies (gocui, goquery)
  • Implement : HTTP GET for model list (ollama.com/library) and per-family tags (ollama.com/library/{family}/tags)
  • Parse HTML using goquery CSS selectors — extract tag name, size, context window, input types
  • Implement : data types (Tag struct), in-memory store, filtering, sorting functions
  • Implement : gocui layout with title bar, column headers, data rows, status bar, help bar
  • Row navigation: Up/Down arrows, PageUp/PageDown
  • Incremental loading: show model families immediately, stream tags per family as they arrive

Acceptance Criteria

  • Binary starts and displays model families in the table within 2 seconds
  • Tag rows populate incrementally as each family's tags are fetched
  • Navigation works (↑/↓/PgUp/PgDn)
  • Clean exit on Ctrl+C / q

See PRD.md §9 (Phase 1) for full spec.

## Description Build the foundational layer of modelsollama: Go module setup, HTML scraping engine, data model, and the main table view with row navigation. ## Tasks - [ ] Initialize Go module and add dependencies (gocui, goquery) - [ ] Implement : HTTP GET for model list (`ollama.com/library`) and per-family tags (`ollama.com/library/{family}/tags`) - [ ] Parse HTML using goquery CSS selectors — extract tag name, size, context window, input types - [ ] Implement : data types (Tag struct), in-memory store, filtering, sorting functions - [ ] Implement : gocui layout with title bar, column headers, data rows, status bar, help bar - [ ] Row navigation: Up/Down arrows, PageUp/PageDown - [ ] Incremental loading: show model families immediately, stream tags per family as they arrive ## Acceptance Criteria - Binary starts and displays model families in the table within 2 seconds - Tag rows populate incrementally as each family's tags are fetched - Navigation works (↑/↓/PgUp/PgDn) - Clean exit on Ctrl+C / q See PRD.md §9 (Phase 1) for full spec.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ppreeper/modelsollama#3
No description provided.