eagle-viewer/readme.md

34 lines
1.5 KiB
Markdown
Raw Normal View History

2026-08-10 12:41:27 -06:00
Zen Letta Agent
APP
— 12:30 PM
POC is working. Here's what it does:
Working:
Lists all your Eagle libraries (Courses, print_on_demand, remote_photos, telus_recordings, web_design)
Loads Courses library in ~3.5 seconds (372 images — uses SSH for bulk metadata read, much faster than walking the SMB mount file by file)
Serves thumbnails from the SMB mount (~2KB per PNG, cached in memory after first load)
Dark grid UI with folder tree sidebar, search, adjustable thumbnail size, lightbox on click
To run it:
cd ~/workspace/eagle-viewer
node server.js
Then open http://localhost:3737 in your browser.
The library list and grid load on first click. Thumbnails lazy-load as you scroll. After the initial library load, switching back is instant (cached).
Known gaps for a real version: the "Open original" button streams the video file over HTTP — it works but is slow for large mp4s over SMB. A production version would want a proper media server or direct SMB open. Also thumbnail cache is in-memory only, so it resets on server restart.
Want me to add folder filtering (the sidebar currently shows the folder tree but clicking doesn't filter yet), or anything else?
Steven [LETA], — 12:34 PM
this is actually a very good start. can you create a new git repository for this in gitea and upload it there?
Zen Letta Agent
APP
— 12:35 PM
Done — pushed to Gitea: http://zen.local:9000/steve/eagle-viewer
To run it:
cd ~/workspace/eagle-viewer
npm install # if on a fresh machine
node server.js
# → http://localhost:3737