Tags: tuxx/localpics
Tags
Add video thumbnail generation and caching system - Added FFmpeg integration through github.com/u2takey/ffmpeg-go - Implemented a thumbnail generation system that extracts frames from videos - Created an intelligent caching system that stores thumbnails to avoid regeneration - Added shared thumbnail functionality for video series to reduce server load - Enhanced UI with smooth loading animations for thumbnails - Added command line options: * --thumbnails: Enable video thumbnail generation * --thumb-cache: Directory to store video thumbnails (default: "thumbnails") * --thumb-pregenerate: Number of thumbnails to pre-generate at startup (default: 50) * --log: Enable debug logging - Improved CSS for video placeholders with hover effects and loading indicators - Fixed error handling in file stats collection - Added thumbnails directory to .gitignore - Fix version information when using `-v` [auto] prettier applied to JavaScript, CSS, and HTML files
Improve video handling in Media Viewer - Replace direct video embedding with placeholder thumbnails to prevent browser crashes - Add video modal for on-demand playback of large video files - Display file size information prominently on video thumbnails - Enable zoom controls for video page (removed forced 2-column layout) - Add visual styling to video placeholders with color variety - Update git hooks to format JS and CSS files with prettier TODO: Consider adding server-side thumbnail generation for videos [auto] prettier applied to JavaScript, CSS, and HTML files
Split up index.html & table view for audio, archives & other - Pages Audio, Archives & Other now display tables. - Restructured monolithic frontend into modular organization - Split CSS into logical components (main, components, layout, responsive) - Modularized JavaScript code into separate files: - utils.js: Core utility functions - main.js: Application initialization - fileLoader.js: File loading and statistics - tableView.js: Table view functionality - cardView.js: Card view rendering - modals.js: Modal windows and previews - Added proper documentation with JSDoc comments - Updated Go code to serve static files - Added embedding for static assets - Improved code organization and maintainability - Eliminated code duplication - Enhanced performance with proper dependency management
v0.0.2: Feature improvements and bug fixes - Added support for serving on custom IP addresses with the -host flag - Added recursive directory scanning with the -recursive flag - Improved file type categorization by adding .log files to 'text' category - Renamed template 5EE3 file from index.template to index.html - Added dynamic hiding of navigation items for empty categories - Updated documentation to reflect new features - Fixed HTTP error display for empty categories This release adds more flexibility for deployment scenarios and improves the overall user experience.
release v0.0.1 🎉 Initial public release of LocalPics v0.0.1 Features: - Single static binary for all platforms with no external dependencies - Generates a responsive, browser-based index of media files - Supports images, videos, audio, PDFs, text, and code files - Automatically generates categorized JSON listings - Syntax highlighting for code files using Prism.js - Markdown and plain text rendering - EXIF data extraction for images with GPS map links - Keyboard navigation and image viewer with slideshow support - Optional file deletion API (`-delete` flag) - Dynamic, lazy-loaded UI with infinite scroll - Statistics page showing file count by category - Custom HTML template embedded using Go's embed package - Cross-platform builds and packaging using Makefile - GitHub Actions workflow for building and releasing on tag push Usage: localpics -indir /path/to/files [-outdir /output] [-delete] This is an early version, but fully functional and ready for basic local media exploration!