Implement HTMX-based web application for collectables inventory management#1
Draft
Copilot wants to merge 3 commits into
Draft
Implement HTMX-based web application for collectables inventory management#1Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
- Add configuration management (env-based: DB, storage, LLM settings) - Add PostgreSQL database layer with migrations and CRUD operations - Add file storage abstraction supporting S3-compatible and GCS backends - Add LLM integration (OpenAI-compatible API) for item suggestions and chat - Add HTTP handlers with embedded HTMX templates - Build complete UI: item list, create, view, edit, delete, search, tags - Add AI assistant chat and suggestion features - Add health check endpoint - Implement graceful shutdown - Update Dockerfile, README, and dependencies
Copilot created this pull request from a session on behalf of
JaredHatfield
May 31, 2026 22:34
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds out the full web application for invdex — a stateless collectables inventory system with LLM-assisted cataloging, backed by PostgreSQL and configurable object storage.
Architecture
internal/config/— Env-based configuration (DB, storage backend, LLM endpoint)internal/database/— PostgreSQL with auto-migrations, CRUD for items/tags, search with proper LIKE escapinginternal/storage/— Abstraction over S3-compatible and GCS backends (via S3 interop), presigned URLs for servinginternal/llm/— OpenAI-compatible chat completions client; generates item suggestions and powers conversational assistantinternal/handlers/— HTTP handlers with embedded HTML templates, HTMX for partial page updatesUI
keyupdebounced via HTMX)Key decisions
net/httpwith Go 1.22+ method routing — no external router dependency//go:embedfor single-binary deploymentchatWithLLMdelegates to the same OpenAI-compatible endpoint used for suggestions, providing agent-like conversational ability without additional infrastructure