A Matrix-themed Terminal User Interface (TUI) operating system for software development, built with Python and Textual.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ โโโโ โโโโ โโโโโโ โโโโโโโโโโโโโโโโ โโโโโโ โโโ โ
โ โโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโ โโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโ โโโโโโ โ
โ โโโ โโโ โโโโโโ โโโ โโโ โโโ โโโโโโโโโโ โโโ โ
โ โโโ โโโโโโ โโโ โโโ โโโ โโโโโโโโโ โโโ โ
โ โ
โ Development Environment v0.1.0 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- ๐จ Matrix Digital Rain Effect - Iconic falling green characters animation
- ๐ป Terminal Emulator - Full PTY-based terminal with shell integration
- ๐ File Browser - Tree-view file navigation with icons
- ๐ Process Monitor - Real-time system process monitoring
- โ๏ธ Code Editor - Syntax highlighting for multiple languages
- ๐จ Theming System - Customizable Matrix green theme
- โก High Performance - 30+ FPS smooth animations
- ๐ Plugin Architecture - Extensible plugin system (coming soon)
- Clone the repository
git clone https://github.com/WietRob/matrix-os.git
cd matrix-os- Run Matrix OS
./run.shThe launcher script will automatically:
- Check Python version (3.10+ required)
- Create virtual environment
- Install dependencies
- Launch Matrix OS
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run Matrix OS
python3 -m src.core.app# Main Textual application (default)
./run.sh textual
# Rich-based demo (status dashboard)
./run.sh rich
# Curses-based demo (minimal dependencies)
./run.sh curses
# Development mode with DevTools
./run.sh dev
# Run tests
./run.sh test| Shortcut | Action |
|---|---|
Ctrl+Q |
Quit application |
F1 |
Toggle Matrix rain effect |
Ctrl+T |
Open terminal |
Ctrl+F |
Open file browser |
Ctrl+P |
Open process monitor |
F2 |
Show help |
matrix-os/
โโโ src/
โ โโโ core/
โ โ โโโ app.py # Main application
โ โ โโโ __init__.py
โ โ
โ โโโ ui/
โ โ โโโ widgets/
โ โ โ โโโ matrix_rain.py # Matrix rain effect
โ โ โ โโโ terminal.py # Terminal emulator
โ โ โ โโโ file_browser.py # File browser
โ โ โ โโโ process_monitor.py
โ โ โ โโโ code_editor.py
โ โ โ
โ โ โโโ themes/
โ โ โ โโโ matrix.tcss # Matrix theme CSS
โ โ โ
โ โ โโโ layouts/
โ โ
โ โโโ system/ # System integrations
โ โโโ effects/ # Visual effects
โ โ
โ โโโ utils/
โ โโโ config.py # Configuration
โ โโโ logger.py # Logging
โ
โโโ config/
โ โโโ default.yaml # Default configuration
โ
โโโ examples/
โ โโโ rich_demo.py # Rich library demo
โ โโโ curses_demo.py # Curses demo
โ
โโโ tests/ # Test suite
โโโ docs/ # Documentation
โ
โโโ run.sh # Launcher script
โโโ requirements.txt
โโโ pyproject.toml
โโโ README.md
Configuration is stored in YAML format at:
~/.config/matrix-os/config.yaml(user config)./config/default.yaml(default config)
matrix_os:
display:
fps: 30
true_color: true
effects:
rain:
enabled: true
density: 0.05
speed_min: 0.5
speed_max: 2.0
char_set: "mixed" # katakana, ascii, mixed
terminal:
shell: "/bin/bash"
scrollback: 10000
editor:
theme: "monokai"
tab_size: 4
syntax_highlighting: trueIconic digital rain effect with customizable:
- Character sets (Katakana, ASCII, mixed)
- Falling speed
- Density
- Color gradients
from src.ui.widgets.matrix_rain import MatrixRain
rain = MatrixRain(
char_set="mixed",
fps=30,
speed_min=0.5,
speed_max=2.0
)Full-featured terminal with:
- PTY (pseudo-terminal) support
- Shell integration
- Command execution
- Output streaming
from src.ui.widgets.terminal import Terminal
terminal = Terminal(shell="/bin/bash")
terminal.execute_command("ls -la")Tree-view file navigation with:
- Lazy loading
- File type icons
- Hidden files toggle
- Directory expansion
from src.ui.widgets.file_browser import FileBrowser
browser = FileBrowser(root_path=Path.home())Real-time process monitoring:
- CPU and memory usage
- Process status
- Sortable columns
- Auto-refresh
from src.ui.widgets.process_monitor import ProcessMonitor
monitor = ProcessMonitor(refresh_interval=2.0)- Python 3.10+
- Terminal with true color support
- Linux/macOS (Windows via WSL)
# Install dev dependencies
pip install -r requirements.txt
# Run in development mode
./run.sh dev
# Run tests
pytest tests/ -v
# Code formatting
black src/ tests/
# Type checking
mypy src/# All tests
pytest
# With coverage
pytest --cov=src tests/
# Specific test
pytest tests/test_widgets.py -v- Window management system
- Event bus implementation
- Plugin system
- Multi-tab support
- Git integration
- Debugger interface
- Search functionality
- Custom keybindings
- Remote SSH support
- Collaborative editing
- Plugin marketplace
- Theme customization UI
- Analysis Document - Comprehensive technical analysis
- API Documentation - API reference (coming soon)
- User Guide - Detailed user guide (coming soon)
- Plugin Development - Plugin creation guide (coming soon)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Textual - Modern TUI framework
- Rich - Beautiful terminal formatting
- The Matrix - Inspiration for the aesthetic
- GitHub: WietRob/matrix-os
- Issues: Report a bug
- Textual Documentation: textual.textualize.io
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Matrix OS - Development Environment โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ ๐ Files โ ๏ฝฑ๏ฝฒ๏ฝณ๏ฝด๏ฝต๏ฝถ๏ฝท๏ฝธ๏ฝน๏ฝบ๏ฝป๏ฝผ๏ฝฝ๏ฝพ๏ฝฟ๏พ๏พ๏พ๏พ๏พ๏พ
๏พ๏พ๏พ๏พ โ
โ ๐ป Terminal โ 0123456789ABCDEFGHIJK โ
โ ๐ Processes โ ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏พ๏ฝฆ๏พ โ
โ โ๏ธ Editor โ โ
โ โ [Matrix Rain Effect] โ
โ โ โ
โ โ๏ธ Settings โ System Status: ONLINE โ
โ โ Help โ Terminal: 80x24 โ
โ โ Processes: 142 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Built with ๐ using Python and Textual
"Welcome to the Matrix"