Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

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

Repository files navigation

๐Ÿ‡ฉ๐Ÿ‡ช Zur deutschen Dokumentation wechseln | ๐Ÿ‡ฌ๐Ÿ‡ง Switch to English Documentation

๐ŸชŸ Cachy-WinBridge ๐Ÿง

The Ultimate Windows-to-Linux Migration, Drive-Automount & Gaming Bridge for CachyOS / Arch Linux

English Deutsch Platform Python License Desktop Gaming

Eliminate the #1 friction point for Windows switchers: Secondary drive automounting, Proton NTFS compatibility, command translations, native software equivalents, and savegame migration in one slick TUI & CLI tool.


Vorschau


๐Ÿ’ก The Problem Cachy-WinBridge Solves

When users migrate from Windows to Linux (especially CachyOS / Arch Linux), they face three frustrating hurdles:

  1. Invisible / Read-Only Secondary Drives: Existing NTFS, Btrfs, or ext4 storage drives containing games or data are not automatically mounted upon boot, or fail in Steam Proton due to missing Windows file permission options (uid=1000,gid=1000,windows_names,nofail).
  2. Rosetta Stone Friction: Muscle-memory Windows commands (taskmgr, services.msc, devmgmt.msc, ipconfig, sfc /scannow, cls, dir) don't work in bash/zsh, leaving switchers confused.
  3. Software & Savegame Hunting: Users don't know the exact Linux replacements for tools like MSI Afterburner (MangoHud), 7-Zip (PeaZip/Ark), Equalizer APO (EasyEffects), and their game saves remain buried inside Windows user directories.

Cachy-WinBridge bridges this gap effortlessly โ€” both for complete Linux beginners and experienced Arch/CachyOS power users who want rapid partition setup without manual fstab syntax headaches.


โœจ Key Features

  • ๐Ÿ’พ Drive & Gaming Automount Wizard:
    • Automatically scans block devices (lsblk -J) across NTFS, Btrfs, and ext4.
    • ๐Ÿ›ก๏ธ Pre-Flight Safety Check via findmnt --verify: Simulates and validates new fstab additions in an isolated temp environment before touching /etc/fstab.
    • โš ๏ธ NTFS Fast-Startup & Hibernation Advisor: Identifies locked dirty-bit partitions caused by Windows Fast Startup and gives direct resolution commands.
    • Generates bulletproof, Steam/Proton-optimized /etc/fstab entries (uid=1000,gid=1000,windows_names,nofail,x-gvfs-show).
    • Automatic timestamped backups (~/.config/cachy-winbridge/backups/).
    • 1-Click user mounting via udisksctl.
  • ๐Ÿ“– Windows-to-Linux Rosetta Stone:
    • Live interactive dictionary with 20+ core command translations (taskmgr โž” btop, services.msc โž” systemctl, devmgmt.msc โž” lspci, sfc /scannow โž” pacman -Qk).
    • Searchable by keyword or subsystem.
  • ๐Ÿ›’ Curated Software Catalog:
    • Maps Windows software to native Linux equivalents (MangoHud, CPU-X, Heroic Games Launcher, EasyEffects, Kate, Ark, Ventoy, Vesktop).
    • Dynamically probes your system to show which tools are already installed, along with 1-click pacman/yay install commands.
  • ๐ŸŽฎ Windows Savegame & Steam Proton Compatdata Migrator:
    • Scans installed Steam libraries (libraryfolders.vdf & appmanifest_*.acf) and maps Windows savegame directories directly to official Steam AppIDs.
    • 1-click migration straight into the Proton prefix (compatdata/<APPID>/pfx/drive_c/users/steamuser/...) with automated timestamped backup before overwrite.
  • ๐Ÿท Isolated Micro-Prefix Launcher:
    • Run standalone .exe and .msi installers inside sandboxed Wine prefixes without cluttering your system.
  • ๐Ÿ–ฅ๏ธ Dual Interface:
    • Rich CLI with tables for fast scripting and status checks.
    • Modern Textual TUI dashboard with tabs and keyboard navigation.

๐Ÿ—๏ธ Architecture

graph TD
    subgraph Core Engines
        DM[DriveManager<br/>lsblk & fstab parser]
        RE[RosettaEngine<br/>Command Dictionary]
        AD[AppDirectory<br/>Software Catalog]
        WM[WindowsMigrator<br/>Savegame Scanner]
        WR[WineRunner<br/>Micro-Prefix Launcher]
    end

    subgraph User Interfaces
        CLI[app.py CLI<br/>Rich Tables & Commands]
        TUI[ui/tui.py<br/>Textual Multi-Tab Dashboard]
    end

    DM --> CLI
    RE --> CLI
    AD --> CLI
    WM --> CLI
    WR --> CLI

    DM --> TUI
    RE --> TUI
    AD --> TUI
    WM --> TUI
Loading

๐Ÿš€ Quick Start

1. Clone & Setup

git clone https://github.com/Graba92/cachy-winbridge.git
cd cachy-winbridge
chmod +x setup.sh run.sh app.py
./setup.sh

2. Launch Interactive TUI Dashboard

./run.sh tui
# or
python3 app.py tui

Tip: Inside the TUI dashboard, press L to toggle dynamically between English and Deutsch!

3. Language Selection & CLI Commands

# Force language for CLI commands or save preference
python3 app.py --lang en status
python3 app.py --lang de status

# Check drive mounts, fstab status, and installed software
python3 app.py status

# Run full migration & Proton doctor check
python3 app.py doctor

# Unlock NTFS partition locked by Windows Fast-Startup or dirty-bit
python3 app.py unlock-ntfs /dev/sdd1

# List all partitions and print Proton-safe /etc/fstab lines
python3 app.py drives --generate-fstab

# Mount all unmounted storage drives via udisksctl
python3 app.py mount-all

# Look up Windows commands in the Rosetta Stone
python3 app.py rosetta taskmgr
python3 app.py rosetta services

# Show recommended Linux software equivalents
python3 app.py apps

# Scan mounted Windows drives for game saves
python3 app.py migrator

# Launch a Windows .exe inside an isolated prefix
python3 app.py run-exe /path/to/installer.exe

# Run test suite
python3 -m unittest discover -s tests -p "test_*.py"

๐Ÿ“ Repository Structure

cachy-winbridge/
โ”œโ”€โ”€ app.py               # Main CLI & TUI entry point
โ”œโ”€โ”€ core/
โ”‚   โ”œโ”€โ”€ apps.py          # Software catalog & live binary detector
โ”‚   โ”œโ”€โ”€ drives.py        # Block device scanner & fstab generator
โ”‚   โ”œโ”€โ”€ migrator.py      # Windows savegame & AppData scanner
โ”‚   โ”œโ”€โ”€ rosetta.py       # Windows-to-Linux Rosetta Stone engine
โ”‚   โ””โ”€โ”€ wine_runner.py   # Sandboxed Wine micro-prefix launcher
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ console.py       # Rich CLI table formatters & banner
โ”‚   โ””โ”€โ”€ tui.py           # Full Textual tabbed TUI dashboard
โ”œโ”€โ”€ preview_cli.png      # CLI showcase screenshot
โ”œโ”€โ”€ requirements.txt     # Python dependencies (rich, textual)
โ”œโ”€โ”€ setup.sh             # Dependency installer
โ”œโ”€โ”€ run.sh               # Quick launcher script
โ”œโ”€โ”€ LICENSE              # MIT License
โ”œโ”€โ”€ README.md            # English documentation
โ””โ”€โ”€ README_DE.md         # German documentation

๐Ÿ›ก๏ธ License

This project is licensed under the MIT License โ€” Copyright (c) 2026 Graba92.

About

๐ŸชŸ The Ultimate Windows-to-Linux Migration, Drive-Automount & Gaming Bridge for CachyOS / Arch Linux

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages