How elvisharchdruid/mtg-lowlander works
This is a small Java Swing card-search application. The principal workflow starts at the application entry point, opens the GUI, resolves a typed card name against PostgreSQL, retrieves its image URL and tags, then displays the card and tags. A separate Scryfall client downloads bulk card and tag data into local compressed files; the excerpts do not show it being invoked by the application or the database import being triggered. The architecture is based on the sampled sources, so those runtime links are left unasserted.
Main entry points: AppGUI.java Card search GUI · SFClient.java Scryfall bulk client · Database.java Card lookup · App.java App entry
Components 11
Application UI
- App entry
src/App.java - Card search GUI
src/AppGUI.java - Current card state
src/AppGUI.java
Card Data
- Card lookup
src/Database.java
Bulk Data
- Scryfall bulk client
src/SFClient.java - API response error
src/BadResponseException.java
Other components
- User
- Image host
- PostgreSQL
- Compressed bulk files
- Scryfall API
Connections 10
- User → Card search GUI: searches
src/AppGUI.java - App entry → Card search GUI: opens
src/App.java - Card search GUI → Card lookup: looks up
src/AppGUI.java - Card search GUI → Current card state: creates state
src/AppGUI.java - Card search GUI → Image host: loads image
src/AppGUI.java - Card lookup → PostgreSQL: queries
src/Database.java - Card lookup → Compressed bulk files: reads imports
src/Database.java - Scryfall bulk client → Scryfall API: requests bulk data
src/SFClient.java - Scryfall bulk client → Compressed bulk files: writes downloads
src/SFClient.java - Scryfall bulk client → API response error: throws
src/SFClient.java