Skip to content

Latest commit

ย 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšข Vessel

Vessel is an umbrella, local-first, modular digital media consumption and reading platform engineered in Go and modern web standards. It brings Cinema, Television, Manga, Webtoons, Light Novels, and Live IPTV into a unified, lightweight, highly customizable experience.

                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚                 Vessel Embedded Web UI                  โ”‚
                  โ”‚   Cinema โ€ข Manga/Webtoon โ€ข Live IPTV โ€ข Offline Library  โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                               โ”‚ HTTP / REST / SSE / WebSockets
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚                   Vessel Go Core Engine                 โ”‚
                  โ”‚  โ€ข REST Gateway & Embedded Web Server (:8080)           โ”‚
                  โ”‚  โ€ข Universal Video Player (HLS, MKV, MP4, M3U, YouTube) โ”‚
                  โ”‚  โ€ข Built-in BitTorrent P2P Streaming Engine             โ”‚
                  โ”‚  โ€ข Offline Manga & E-Book Download Manager              โ”‚
                  โ”‚  โ€ข Multi-Device LAN Sync & Remote Control               โ”‚
                  โ”‚  โ€ข Theme Engine & 12-Language i18n Localization         โ”‚
                  โ”‚  โ€ข SQLite Storage & Cross-Device Progress Tracking      โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ”‚ gRPC                 โ”‚ gRPC               โ”‚ gRPC
             โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
             โ”‚  Cinemasis Plugin    โ”‚ โ”‚  Mangile Plugin  โ”‚ โ”‚   IPTV Plugin    โ”‚
             โ”‚  (TMDB Cinema & TV)  โ”‚ โ”‚ (Manga & Novels) โ”‚ โ”‚ (Universal & TR) โ”‚
             โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โœจ Key Capabilities

๐ŸŽฌ Cinema & Series Domain

  • Multi-Provider Architecture: Powered by TMDB (Cinemasis) and community plugins.
  • Unified Video Player: Custom-built media player supporting MKV, MP4, HLS (.m3u8), M3U, and YouTube embeds.
  • Audio & Subtitle Track Switching: On-the-fly dubbing selection, subtitle toggles, speed control (0.5x - 2.0x), and Picture-in-Picture.
  • Cloud Debrid Streaming: Native integration with Real-Debrid and TorBox for cached cloud torrent streams.

๐Ÿ“– Manga, Webtoon & E-Book Domain

  • Mangile-Inspired Modern Reader: Fullscreen immersion, continuous webtoon vertical scroll, single-page, and dual-page spread modes.
  • Manga & Light Novel Support: Reads both image-based chapters and rich typographic novels.
  • Offline Reading Mode: One-click download (๐Ÿ“ฅ) of entire manga chapters or novels for offline reading without an internet connection.
  • Reading Progress Sync: Remembers exact chapter and page position across sessions.

๐Ÿ“ก Live IPTV Television

  • Universal World Channels First: BBC News, Bloomberg TV, Sky News, France 24, Deutsche Welle, CBS News, ABC News, NASA TV, Euronews, TRT World, NHK World.
  • High-Availability Fallbacks & Country Filtering: Dedicated filters for ALL, TR, AZ, US, UK, DE, FR.
  • Zero Broken Logos: High-resolution Wikimedia verified SVGs and dynamic vector monogram fallbacks.
  • Instant Side-by-Side Playback: Click any channel to immediately start playback in the integrated player.

๐Ÿงฒ BitTorrent P2P Swarm Engine

  • Stream Torrents Directly: Play magnet links and torrent streams on the fly with zero waiting for complete downloads.
  • Live Swarm Buffer HUD: Real-time telemetry in the player HUD displaying active peers, seeders, buffer percentage, and download speed (MB/s).
  • Sequential HTTP 206 Partial Content: Enables instant scrubbing and seeking over P2P swarms.

๐Ÿค– Local AI Smart Discovery & Taste Engine

  • 100% Offline & Privacy-First: Zero external cloud API calls, zero telemetry, and zero tracking keys required. Runs entirely on your local CPU in under 0.05 milliseconds with less than 1 MB memory overhead.
  • 64-Dimensional Semantic Vector Space: Dense mathematical embedding covering narrative tones, tropes, pacing, and moods (Plot Twist, Cyberpunk, Mind-Bending, Noir, Cozy, Shonen, Seinen, Sci-Fi, etc.).
  • Dynamic Taste DNA Profiler: Automatically derives your taste vector from your SQLite watch and reading history, presenting curated "โœจ Tailored to Your Taste (AI Taste Match)" shelves with percentage match badges (e.g. 96% Match).
  • Vibe & Mood Discovery: Instant one-click mood chips (Mind-Bending & Plot Twists, Dark & Cyberpunk, Cozy & Wholesome, High Adrenaline, Deep Mystery, Retro Classics) and free-form semantic prompt search ("90s cyberpunk noir", "ters kรถลŸe psikolojik anime").

๐ŸŽฎ 10-Foot UI, Spatial & Gamepad TV Navigation Engine

  • HTML5 Gamepad API & Living Room Mode: Full controller support for Xbox, PlayStation (DualShock / DualSense), and standard USB/Bluetooth gamepads.
  • Spatial Directional Graph: Smart Euclidean 2D distance navigation with D-Pad, Arrow Keys, and Left Analog Stick.
  • Bumper Tab Cycling & Menu Shortcut: L1/R1 bumpers cycle smoothly across all six domains (Cinema, Reading, IPTV, Library, Plugins, Settings). Dedicated Gamepad Button 9 (Start/Menu) opens Settings instantly.
  • Distinctive TV Focus Glow: High-contrast outline and neon ambient aura (.tv-focused) engineered for 4K and 1080p TV screens.

๐Ÿ“ฑ Multi-Device LAN Sync & Remote Control

  • Zero-Config LAN Discovery: Automatically discovers active Vessel instances on your local Wi-Fi or LAN.
  • Remote Control Pad: Control playback (Play, Pause, Seek, Volume) on another computer, TV, or tablet across the room.
  • Instant Stream Casting: Cast active streams or chapters to any discovered LAN node with a single click.

๐Ÿ”Œ Community Plugin Ecosystem & SDK

  • Decoupled Out-of-Process Architecture: Plugins run independently communicating via standard gRPC and Protocol Buffers.
  • Developer SDK: Built-in CLI commands to scaffold and validate community plugins:
    vessel plugin init ./my-provider    # Scaffolds ready-to-run Go gRPC plugin
    vessel plugin validate ./my-provider # Validates manifest, executable, and schema
  • Plugin Priority Ordering: Reorder catalog and search priority with instant drag/reorder controls.
  • For full plugin development instructions, see Plugin SDK Documentation.

๐ŸŒ 12-Locale Internationalization & Curated Themes

  • Default Language: English (en), with full support for Turkish (tr), Azerbaijani (az), German (de), French (fr), Spanish (es), Portuguese (pt), Russian (ru), Japanese (ja), Chinese (zh), Arabic (ar RTL), and Persian (fa RTL).
  • Reading-First Color Themes: Curated palettes including Mangile Duman (misty slate default), Mangile Leylak (mauve), Mangile Kaya (stone), Midnight OLED, Catppuccin, Nord, and Dracula.

๐Ÿš€ Quick Start

Run Vessel on macOS, Linux, Windows, Raspberry Pi, home servers, or NAS without requiring any desktop GUI packages.

1. Launch Vessel Instantly

# Using the startup script:
./scripts/start.sh

# Or directly with Go:
go run ./core/cmd/vessel serve -open

Open http://127.0.0.1:8080 in your browser.

2. Access from Phone, Tablet, or LAN Devices

To broadcast across your local network:

./bin/vessel serve -host 0.0.0.0 -port 8080

Vessel will display reachable LAN URLs (e.g. http://192.168.1.45:8080).


๐Ÿ’ป CLI Commands

Vessel includes a comprehensive CLI for server management, themes, and plugins:

# --- Server Commands ---
./bin/vessel serve                       # Start background daemon and HTTP gateway
./bin/vessel serve -port 9000            # Custom port
./bin/vessel serve -host 0.0.0.0         # Listen on all interfaces

# --- Plugin Management ---
./bin/vessel plugin list                 # List discovered & connected plugins
./bin/vessel plugin enable <id>          # Enable an installed plugin
./bin/vessel plugin disable <id>         # Disable a plugin
./bin/vessel plugin install <path|url>   # Install a plugin from path or URL
./bin/vessel plugin init <dir>           # Scaffold a new community plugin template
./bin/vessel plugin validate <dir>       # Validate plugin manifest and binary

# --- Theme Management ---
./bin/vessel theme list                  # List all available built-in & custom themes
./bin/vessel theme apply mangile         # Apply Mangile Duman dark slate
./bin/vessel theme apply midnight-oled   # Apply true-black OLED theme
./bin/vessel theme install <path|url>    # Install community CSS theme (.zip or URL)

๐Ÿ“ Project Architecture

vessel/
โ”œโ”€โ”€ core/
โ”‚   โ”œโ”€โ”€ cmd/vessel/             # Unified CLI & server entrypoint
โ”‚   โ””โ”€โ”€ internal/
โ”‚       โ”œโ”€โ”€ cli/                # Cobra CLI commands (serve, theme, plugin init/validate)
โ”‚       โ”œโ”€โ”€ debrid/             # Real-Debrid & TorBox streaming clients
โ”‚       โ”œโ”€โ”€ domain/             # Domain entities (cinema, reading, library, locale)
โ”‚       โ”œโ”€โ”€ plugin/             # gRPC plugin supervisor & process lifecycle manager
โ”‚       โ”œโ”€โ”€ server/             # REST HTTP Gateway & Range-enabled proxy
โ”‚       โ”œโ”€โ”€ service/            # Core business logic & DownloadService
โ”‚       โ”œโ”€โ”€ storage/            # SQLite persistent store & resume progress
โ”‚       โ”œโ”€โ”€ streaming/          # BitTorrent P2P streaming engine
โ”‚       โ”œโ”€โ”€ sync/               # UDP LAN beacon discovery & remote command sync
โ”‚       โ””โ”€โ”€ theme/              # CSS theme compiler & palette loader
โ”œโ”€โ”€ plugins/
โ”‚   โ”œโ”€โ”€ cinemasis/              # Universal TMDB cinema & series catalog provider
โ”‚   โ”œโ”€โ”€ mangile/                # Sanity-powered Manga, Webtoon & Webook provider
โ”‚   โ”œโ”€โ”€ iptv/                   # Global IPTV live channels provider
โ”‚   โ””โ”€โ”€ examples/cinema-mock/   # Reference standalone plugin implementation
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ index.html              # Modern responsive single-page application
โ”‚   โ”œโ”€โ”€ app.js                  # Reactive UI controller (Player, Reader, LAN, i18n)
โ”‚   โ”œโ”€โ”€ styles.css              # Design tokens & responsive styles
โ”‚   โ””โ”€โ”€ embed.go                # Go standard embed packaging
โ”œโ”€โ”€ docs/
โ”‚   โ””โ”€โ”€ plugin-sdk.md           # Plugin SDK specifications & developer guide
โ”œโ”€โ”€ proto/                      # Protobuf gRPC contracts (Core & Plugin v1)
โ””โ”€โ”€ scripts/                    # Test, build, and bootstrap utilities

๐Ÿ› ๏ธ Testing & Building

Run Full Test Suite

./scripts/test.sh
# or directly:
go test ./...

Compile Production Binary

go build -o ./bin/vessel ./core/cmd/vessel

๐Ÿ“„ License

Vessel is released under the MIT License.

About

An umbrella, local-first, modular digital media consumption platform.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages