{"id":15093572,"url":"https://github.com/mmar58/video-gallery","last_synced_at":"2026-02-10T21:01:43.587Z","repository":{"id":254649372,"uuid":"847145006","full_name":"mmar58/video-gallery","owner":"mmar58","description":"A modern video gallery written with node js backend and svelte frontend. Which features auto tagging using ollama and auto thumbnail and spreedsheet animation generation using ffmpeg.","archived":false,"fork":false,"pushed_at":"2025-12-30T23:12:16.000Z","size":953,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T14:16:40.151Z","etag":null,"topics":["automation","express","ffmpeg","nodejs","ollama","socket-io","tag","thumbnail-generator","video-gallery"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmar58.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T01:31:08.000Z","updated_at":"2025-12-31T08:57:30.000Z","dependencies_parsed_at":"2024-08-29T08:35:10.210Z","dependency_job_id":null,"html_url":"https://github.com/mmar58/video-gallery","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"b0d5f72de5f2f36438d8fd07fe59ef1699ecef2d"},"previous_names":["mmar58/video-gallery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmar58/video-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmar58%2Fvideo-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmar58%2Fvideo-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmar58%2Fvideo-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmar58%2Fvideo-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmar58","download_url":"https://codeload.github.com/mmar58/video-gallery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmar58%2Fvideo-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29316366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","express","ffmpeg","nodejs","ollama","socket-io","tag","thumbnail-generator","video-gallery"],"created_at":"2024-09-25T11:24:04.885Z","updated_at":"2026-02-10T21:01:43.555Z","avatar_url":"https://github.com/mmar58.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intelligent Video Gallery\n\nA modern, self-hosted video gallery application featuring AI-powered tagging, timeline views, and advanced video management. Built with SvelteKit and Node.js.\n\n![Gallery View](frontend/static/favicon.png)\n\n## 🚀 Features\n\n### Core Experience\n*   **Infinite Scroll Gallery**: Seamlessly browse thousands of videos with high performance.\n*   **Timeline View**: Browse videos chronologically with a \"Google Photos\" style layout, grouped by date.\n*   **Smart Video Player**: Floating, draggable, and resizable video player that persists navigation.\n*   **Rich Previews**: \n    *   Auto-generated thumbnails.\n    *   Sprite-sheet based animated hover previews.\n\n### 🧠 AI \u0026 Automation\n*   **Auto-Tagging**: Integrates with [Ollama](https://ollama.com/) to automatically analyze video filenames and generate descriptive tags using local LLMs (Llama 3, Mistral, etc.).\n*   **Auto-Thumbnails**: background generation of optimized thumbnails and animated previews using FFmpeg.\n\n### 🏷️ Organization \u0026 Management\n*   **Advanced Tagging**:\n    *   Manual tag addition/removal.\n    *   **Tag Manager**: centralized UI to rename, delete, or merge tags globally.\n    *   **Blacklist**: Prevent specific unwanted tags from being generated by the AI.\n*   **Video Management**: Rename or delete videos directly from the UI.\n*   **Search \u0026 Filters**:\n    *   Full-text search.\n    *   Filter by Date Range (Quick jump presets, Month/Year buckets).\n    *   Filter by Tags.\n    *   Sort by Name, Date, Likes, or **Random**.\n\n## 🛠️ Tech Stack\n\n*   **Frontend**: SvelteKit, TailwindCSS, Lucide Icons.\n*   **Backend**: Node.js, Express, Socket.IO (for real-time progress updates).\n*   **Data Persistence**: JSON-based local storage (no heavy database required for personal use).\n*   **Media Processing**: `ffmpeg-static`, `fluent-ffmpeg`.\n\n## ⚙️ Prerequisites\n\n1.  **Node.js**: v18+ recommended.\n2.  **FFmpeg**: Required on the system path or handled via `ffmpeg-static`.\n3.  **Ollama**: (Optional) For AI auto-tagging features. Install from [ollama.com](https://ollama.com/) and pull a model (e.g., `ollama pull llama3`).\n\n## 📦 Installation \u0026 Setup\n\n### 1. Backend\n\nNavigate to the `backend` directory:\n```bash\ncd backend\nnpm install\n```\n\nCreate a `.env` file in `backend/` (optional, defaults provided in code):\n```env\nPORT=5000\nASSETS_PATH=../../assets\nDATA_PATH=../data\n```\n\n### 2. Frontend\n\nNavigate to the `frontend` directory:\n```bash\ncd frontend\nnpm install\n```\n\n## 🚀 Running the Project\n\nYou need to run both the backend and frontend servers.\n\n**Terminal 1 (Backend):**\n```bash\ncd backend\nnpm run dev\n# Server runs on http://localhost:5000\n```\n\n**Terminal 2 (Frontend):**\n```bash\ncd frontend\nnpm run dev\n# Client runs on http://localhost:5173\n```\n\n## 📜 Scripts (Backend)\n\nThe backend includes utility scripts for bulk processing:\n\n*   **Generate Thumbnails**: process all videos without thumbnails.\n    ```bash\n    npm run script:thumb\n    ```\n*   **Auto-Tag Videos**: process untagged videos using the active LLM.\n    ```bash\n    npm run script:tag\n    ```\n\n## 📂 Project Structure\n\n```\n├── assets/             # Storage for images/videos (shared)\n├── backend/            # Express Server\n│   ├── data/           # JSON data store (videos.json, blacklist.json)\n│   ├── src/\n│   │   ├── services/   # Business logic (ffmpeg, ollama)\n│   │   └── routes/     # API Endpoints\n├── frontend/           # SvelteKit App\n│   ├── src/\n│   │   ├── components/ # Reusable UI components\n│   │   ├── routes/     # Pages (Gallery, Timeline, Tags)\n│   │   └── stores/     # State management\n```\n\n## 🤝 Contributing\n\nFeel free to open issues or submit PRs for improvements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmar58%2Fvideo-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmar58%2Fvideo-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmar58%2Fvideo-gallery/lists"}