opencode 8a29c4bc96 security: harden Electron app - context isolation, preload, fix XSS & command injection
- Enable contextIsolation, disable nodeIntegration, remove enableRemoteModule
- Add preload.js with safe contextBridge API exposure
- Fix OS command injection: exec() → execFile() in open-file-in-player
- Fix DOM XSS: replace innerHTML with textContent/createElement in FileListManager, UIManager, ModalManager
- Remove direct fs/electron access from renderer, route through IPC
- Add validate-folder and get-file-stats IPC handlers
- Load renderer modules via script tags with require polyfill
2026-07-05 07:31:06 +00:00
2026-02-19 09:47:06 -06:00

MovieMapper

A desktop application for organizing and managing movie and TV show collections.

Features

  • Browse and scan directories for media files
  • Search TV shows using TheTVDB API
  • View show details, seasons, and episodes
  • Rename files by clicking on the file name
  • Display video durations in mm:ss format

Installation

  1. Clone the repository
  2. Install dependencies: npm install
  3. Run the application: npm start or electron .

Dependencies

  • Electron
  • fluent-ffmpeg (for video duration detection)
  • TheTVDB API integration

Usage

  1. Click "Select Directory" to choose a folder containing media files
  2. The application will scan the directory and display media files with their durations
  3. Click on any file name to rename it
  4. Use the search functionality to find TV shows and their details
Description
Rust desktop app for organizing Blu-ray/TV archives — ffprobe metadata, extras/commentary tagging, and Jellyfin-compatible moves with audit trail.
Readme MIT 574 KiB
Languages
JavaScript 53.3%
Rust 41.4%
HTML 2.7%
Shell 1.2%
Python 0.7%
Other 0.7%