Skip to content

Ultra-lightweight, video player for Windows with AI powered subtitle generation. Tauri + Svelte

License

Notifications You must be signed in to change notification settings

rudi-q/glucose_media_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

72 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
Glucose Media Player

A Sleek & Lightweight VLC Alternative with On-Device AI Subtitle

License: MPL Built with Tauri Svelte Rust

Version Downloads Platform


โœจ Features

๐ŸŽฌ Cinematic Mode

Enjoy your media with a beautifully blurred background and centered content for truly immersive viewing.

๐Ÿ–ผ๏ธ Universal Media Support

  • Videos: MP4, MKV, AVI, MOV, WebM, WMV, FLV, M4V
  • Subtitles: SRT, VTT, ASS, SSA, SUB

๐ŸŽฏ Minimal by Design

No clutter, no distractions. Just your content and elegant controls that appear when you need them.

โšก Blazingly Fast

Built with Rust and Tauri for native performance with a tiny footprint.

๐ŸŽฎ Keyboard-First

Complete keyboard navigation for power users who value efficiency.

๐Ÿ“‚ Smart Gallery

Automatically scans and displays your recent videos in a beautiful grid layout.

๐ŸŽจ Modern Interface

  • Frameless, transparent window design
  • Smooth animations and transitions
  • Audio output device selection
  • Volume control with visual feedback
  • Timeline scrubbing with video preview
  • Fullscreen and cinematic viewing modes

๐Ÿ“ฅ Installation

Pre-built Binaries

Download the latest release for your platform:

  • Windows: glucose_0.2.0_x64_en-US.msi or .exe

Build from Source

Prerequisites

  • Node.js (v18 or later)
  • pnpm (recommended) or npm
  • Rust (latest stable)
  • Platform-specific requirements:
    • Windows: Microsoft Visual Studio C++ Build Tools
    • macOS: Xcode Command Line Tools
    • Linux: libwebkit2gtk-4.1-dev, build-essential, curl, wget, file, libssl-dev, libayatana-appindicator3-dev, librsvg2-dev

Building

# Clone the repository
git clone https://github.com/rudi-q/glucose_media_player.git
cd glucose

# Install dependencies
pnpm install

# Run in development mode
pnpm tauri:dev

# Build for production
pnpm tauri:build

The built application will be available in src-tauri/target/release/bundle/.


๐Ÿš€ Usage

Opening Media Files

glucose offers three convenient ways to open your media:

  1. Drag & Drop โ€” Simply drag a video or image file into the glucose window
  2. File Dialog โ€” Click the "Open Video" button in the gallery screen
  3. File Association โ€” Set glucose as your default media player and open files directly from your file explorer
  4. Recent Gallery โ€” Browse and play recently accessed videos from the home screen

Keyboard Shortcuts

Playback Controls (Video Mode)

Key Action
Space or K Play/Pause
โ† Skip backward 5 seconds
โ†’ Skip forward 5 seconds
โ†‘ Increase volume
โ†“ Decrease volume
M Mute/Unmute
C or S Toggle subtitles on/off
F Toggle cinematic/fullscreen mode

Navigation

Key Action
Backspace Return to gallery
Escape Close application
Arrow Keys Navigate gallery (when in home screen)
Enter Open selected video from gallery

Advanced Features

  • Subtitle Support:
    • Automatically loads .srt files in the same folder as the video
    • Manually load subtitle files from anywhere
    • Toggle subtitles on/off during playback (C/S keys)
  • Timeline Scrubbing: Hover over the progress bar to see video preview thumbnails
  • Audio Device Selection: Click the audio device icon to switch between output devices
  • Volume Popup: Click the volume icon for a vertical volume slider
  • Cinematic Mode: Enjoy videos with an elegant blurred background
  • Fullscreen Mode: Press F to toggle fullscreen for maximum immersion

Available Scripts

# Development
pnpm dev              # Start Vite dev server
pnpm tauri:dev        # Start Tauri in dev mode with hot reload

# Code Quality
pnpm check            # Type-check Svelte/TypeScript code
pnpm check:watch      # Type-check in watch mode
pnpm tauri:check      # Check Rust code (cargo check)

# Building
pnpm build            # Build frontend only
pnpm tauri:build      # Build complete application
pnpm preview          # Preview production build locally

๐Ÿ“„ License

Mozilla Public License 2.0 (MPL-2.0)

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

Copyright (c) 2025 glucose


๐Ÿ™ Acknowledgments

  • Built with Tauri and Svelte
  • Inspired by minimalist design principles
  • Thanks to all contributors and users

๐Ÿ“ž Support


Made by the maker of LeedPDF

GitHub โ€ข Report Bug โ€ข Request Feature