Skip to content

rohankishore/Nyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nyx-banner

terminal ascii video player
light reduced to symbols


• WTF is Nyx?

deadpool - Trim

Nyx is a terminal-based video player that renders videos frame-by-frame
using ASCII symbols and true-color ANSI output.

it supports: • local video files
• youtube videos
• audio playback
• adaptive terminal resizing

Nyx works best in darkness.


• Usage

python main.py

• How it Works

• reads video frames using opencv
• converts pixels to brightness
• maps brightness to ascii characters
• renders frames using 24-bit ANSI colors
• syncs audio using ffpyplayer

every frame is redrawn inside your terminal.


• ASCII Palettes

nyx supports multiple ascii rendering styles:

regular — balanced contrast
inverse — dark-first visuals
monochrome — extreme minimalism

choose the one that fits your video.


• Display Modes

maintain aspect ratio
use maximum terminal space

Nyx automatically adapts to your terminal size.

Tip

Use the Terminal in Full Screen for the best results


• Supported Sources

• local video files
• youtube links (auto-download)


• Requirements

install dependencies:

pip install -r requirements.txt

Releases

No releases published

Packages

No packages published

Languages