How chodragon04/pawmatch works
PawMatch is a Streamlit dog-adoption discovery and matching service. Users browse nearby shelters, filter dogs, answer a lifestyle survey for compatibility scores and reasons, search by photo, inspect dog and shelter details, and save favorites in browser storage. Data is served from snapshots when available and refreshed from the public API; location-aware sorting and optional Kakao geocoding support discovery. The README documents several capabilities whose implementation was not sampled, so those links cite the README; unsampled internal wiring is otherwise omitted.
Main entry points: app.py Streamlit entry · browse.py Browse page · detail.py Dog details · home.py Home page
Components 25
Web experience
- Streamlit entry
app.py - Shared UI
pawmatch/ui.py - Home page
views/home.py - Browse page
views/browse.py - Match page
views/match.py - Photo search page
views/photo_search.py - Favorites page
views/favorites.py
Discovery and matching
- Dog filtering
pawmatch/browse.py - Compatibility scoring
pawmatch/matching.py - Dog traits
pawmatch/traits.py - Photo similarity
pawmatch/image_search.py - Saved favorites
pawmatch/favorites.py
Data and location
- Dataset refresh
pawmatch/data.py - API client
pawmatch/api.py - Shelter distances
pawmatch/geo.py - Location selection
pawmatch/location.py - Region geocoding
pawmatch/kakao.py - Coordinate corrections
pawmatch/shelter_coords.py
Dog presentation
- Dog details
pawmatch/detail.py - Dog formatting
pawmatch/display.py
Other components
- Adopter
- Browser storage
- Public animal API
- Kakao Local API
- Data snapshots
data
Connections 37
- Adopter → Streamlit entry: opens app
README.md - Streamlit entry → Shared UI: renders navigation
app.py - Streamlit entry → Home page: routes pages
README.md - Streamlit entry → Browse page: routes pages
README.md - Streamlit entry → Match page: routes pages
README.md - Streamlit entry → Photo search page: routes pages
README.md - Streamlit entry → Favorites page: routes pages
README.md - Adopter → Home page: chooses location
README.md - Adopter → Browse page: sets filters
README.md - Adopter → Match page: answers survey
README.md - Adopter → Photo search page: uploads photo
README.md - Browse page → Dog filtering: filters dogs
views/browse.py - Browse page → Compatibility scoring: sorts by fit
views/browse.py - Match page → Compatibility scoring: scores survey
views/match.py - Dog filtering → Dog traits: searches memo traits
pawmatch/browse.py - Compatibility scoring → Dog traits: uses dog profiles
pawmatch/matching.py - Photo search page → Photo similarity: searches similarity
README.md - Favorites page → Saved favorites: loads saved dogs
views/favorites.py - Adopter → Browser storage: saves favorites
README.md - Browser storage → Saved favorites: stores favorites
- Home page → Location selection: selects location
README.md - Browse page → Location selection: selects location
views/browse.py - Match page → Location selection: selects location
views/match.py - Photo search page → Location selection: narrows region
README.md - Location selection → Region geocoding: geocodes region
pawmatch/location.py - Region geocoding → Kakao Local API: requests coordinates
- Dataset refresh → Data snapshots: reads snapshots
README.md - Dataset refresh → API client: fetches live data
pawmatch/data.py - API client → Public animal API: requests animal data
pawmatch/api.py - Home page → Shelter distances: orders nearby shelters
README.md - Shelter distances → Coordinate corrections: uses corrected coordinates
pawmatch/geo.py - Home page → Dog details: opens dog details
README.md - Browse page → Dog details: opens dog details
views/browse.py - Match page → Dog details: opens dog details
views/match.py - Photo search page → Dog details: opens dog details
README.md - Favorites page → Dog details: opens dog details
views/favorites.py - Dog details → Dog formatting: formats dog facts
pawmatch/detail.py