A custom bootable Raspberry Pi image with dual boot splash themes, pentesting tools, and automatic swapfile management. Works on CM4, CM5, Pi 4, and Pi 5.
Optimized for HackberryPi CM5 - Ultra portable handheld Linux device with 4" 720x720 TFT touch display and BlackBerry keyboard. See HackberryPi CM5 Repository for hardware details.
- Dual Boot Splash Themes:
- Wavy's World (Purple/Black) - Default theme
- Wavy's World BlackArch Style (Red/Black) - BlackArch-inspired theme
- Universal Compatibility: Works on CM4, CM5, Pi 4, Pi 5
- HackberryPi CM5 Optimized: Full support for HackberryPi CM5 hardware
- AI Companion: System monitoring with graphs (like Parrot OS)
- Enhanced Terminal: System info banner with kernel, firmware, battery, network stats
- Pentesting Tools: Pre-installed security testing suite (Kali, Parrot, BlackArch tools)
- Swapfile Service: Automatic swap management and monitoring
- Flipper Zero Integration: Auto-detection and auto-launch terminal
- Update System: Simple menu-driven updates (
wavy-update) - Auto-Update & Self-Healing: Fully automated system maintenance
Method 1: Quick Install on Existing Raspberry Pi OS
# SSH into your Pi
ssh pi@<PI_IP_ADDRESS>
# Install GhostPi
sudo apt-get update && \
sudo apt-get upgrade -y && \
sudo apt-get install -y git && \
cd ~ && \
git clone https://github.com/sowavy234/ghostpi.git && \
cd ghostpi && \
chmod +x scripts/*.sh && \
sudo ./scripts/quick_install.sh
# Reboot
sudo rebootMethod 2: Build Image on Debian/Ubuntu Linux
# Clone repository
git clone https://github.com/sowavy234/ghostpi.git
cd ghostpi
# Install dependencies
sudo apt-get update
sudo apt-get install -y python3 device-tree-compiler plymouth imagemagick git \
dosfstools fdisk parted kpartx
# Build for CM5 (default)
sudo ./scripts/build_linux.sh CM5
# Or build for CM4
sudo ./scripts/build_linux.sh CM4
# Image will be in: ~/Downloads/ghostpi/GhostPi-*.imgMethod 3: Flash Pre-built Image
- Download from Releases
- Flash to SD card using Raspberry Pi Imager or dd
- Insert into Pi and boot
Method 1: Use Docker (Recommended)
# Prerequisites: Install Docker Desktop
# Download from: https://www.docker.com/products/docker-desktop
# Start Docker Desktop, then:
cd ~/Downloads/ghostpi
./scripts/build_mac.sh CM5
# Image will be in: ~/Downloads/ghostpi/GhostPi-*.img
# Flash to SD card
./scripts/flash_to_sd_mac.shMethod 2: Use GitHub Actions (No Local Build)
- Push code to GitHub (if not already)
- Go to Actions tab โ "Build GhostPi Images"
- Click "Run workflow" โ Select CM5
- Download the .img file from artifacts
- Flash using Raspberry Pi Imager
Method 3: Use Linux VM
# Copy repository to Linux VM
scp -r ~/Downloads/ghostpi user@vm-ip:~/
# SSH into VM and build
ssh user@vm-ip
cd ~/ghostpi
sudo ./scripts/build_linux.sh CM5
# Download image back to Mac
scp user@vm-ip:~/Downloads/ghostpi/GhostPi-*.img ~/Downloads/Method 4: Flash Existing Raspberry Pi OS and Install
- Use Raspberry Pi Imager to flash Raspberry Pi OS Lite 64-bit
- Enable SSH in settings (gear icon)
- SSH into Pi and run quick install (see Debian section above)
# Clone repository
git clone https://github.com/sowavy234/ghostpi.git
cd ghostpi
# Install dependencies
sudo apt-get update
sudo apt-get install -y \
python3 python3-pip \
device-tree-compiler \
plymouth plymouth-themes \
imagemagick \
git \
dosfstools \
fdisk \
parted \
kpartx
# Build image
sudo ./scripts/build_linux.sh CM5
# Flash to SD card
sudo dd if=~/Downloads/ghostpi/GhostPi-*.img of=/dev/sdX bs=4M status=progress
syncQuick Install on Existing Pi:
# On your Raspberry Pi
cd ~
git clone https://github.com/sowavy234/ghostpi.git
cd ghostpi
chmod +x scripts/*.sh
sudo ./scripts/quick_install.sh
sudo rebootGhostPi includes two boot splash themes that you can switch between:
- Colors: Dark purple and black space background
- Style: Animated character with purple/black theme
- Theme: Classic Wavy's World aesthetic
- Colors: Dark red and black background (BlackArch-inspired)
- Style: Red-tinted character and animations
- Theme: Aggressive BlackArch Linux aesthetic
# On your Raspberry Pi
sudo ./scripts/switch_boot_splash.sh
# Select theme:
# 1. Wavy's World (Purple/Black)
# 2. Wavy's World BlackArch Style (Red/Black)
# Reboot to see new theme
sudo reboot- Download Raspberry Pi Imager: https://www.raspberrypi.com/software/
- Open Imager โ "Choose OS" โ "Use custom image"
- Select your
GhostPi-*.imgfile - Choose Storage โ Select your SD card
- Click Write and wait for completion
Linux:
# Find SD card
lsblk
# Unmount
sudo umount /dev/sdX*
# Flash
sudo dd if=GhostPi-*.img of=/dev/sdX bs=4M status=progress
syncmacOS:
# Find SD card
diskutil list
# Unmount
diskutil unmountDisk /dev/diskX
# Flash
sudo dd if=GhostPi-*.img of=/dev/rdiskX bs=4m
sync
# Eject
diskutil eject /dev/diskXOr use the helper script:
./scripts/flash_to_sd_mac.shGhostPi supports dual boot configuration with BlackArch tools integration:
# Install dual boot setup
sudo ./scripts/install_dual_boot.sh
# This will:
# - Install BlackArch-compatible tools
# - Create GRUB boot menu
# - Set up unified pentesting tools menu
# - Configure boot splash themesAfter installation, you'll have:
- Wavy's World boot option (default)
- BlackArch tools integrated
- Unified menu:
wavys-world-menu.sh
- Wavy's World: Purple/black space theme with animated character
- Wavy's World BlackArch: Red/black theme inspired by BlackArch Linux
- Both themes include:
- Animated 3D character with tattoos and Glock
- Animated stars background
- Pulsing text effects
- Smooth animations
- Information Gathering: nmap, masscan, recon-ng, amass, theharvester
- Vulnerability Assessment: nikto, openvas, nuclei, wpscan, lynis
- Web Application Analysis: burpsuite, sqlmap, commix, wfuzz, gobuster
- Password Attacks: john, hashcat, hydra, medusa, crunch
- Wireless Attacks: aircrack-ng, reaver, wifite, bettercap
- Exploitation Tools: metasploit, exploitdb, routersploit
- Post Exploitation: powersploit, empire, veil
- Forensics: autopsy, volatility, binwalk, testdisk
- Reverse Engineering: radare2, ghidra, apktool
- Swapfile Manager: Auto-creates and manages swapfile
- Battery Monitor: Real-time battery status (HackberryPi CM5)
- AI Companion: System monitoring with graphs
- Auto-Update: Automated system maintenance
- Self-Healing: Automatic service recovery
- See
INSTALL_ON_PI_OS.mdfor detailed installation guide - See
QUICK_INSTALL_COMMANDS.txtfor quick reference
- See
MAC_BUILD.mdfor macOS build options - See
BUILD_AND_FLASH.mdfor complete build and flash guide - Use
scripts/flash_to_sd_mac.shfor easy SD card flashing
- See
BUILD_NOW.mdfor build instructions - See
FLASHING_GUIDE.mdfor flashing instructions
# Check status
sudo systemctl status swapfile-manager.service
# Manual control
sudo /usr/local/bin/swapfile-manager.sh start
sudo /usr/local/bin/swapfile-manager.sh stop
sudo /usr/local/bin/swapfile-manager.sh status# Check battery
battery-status
# View in terminal
wavy-terminal # Shows battery in banner# Launch dashboard
wavy-companion
# Shows real-time graphs for:
# - CPU, Memory, Disk usage
# - Battery status
# - Network statistics
# - System healthMissing dependencies (Debian/Linux):
sudo apt-get install python3 device-tree-compiler plymouth imagemagick git \
dosfstools fdisk parted kpartxDocker not running (macOS):
- Open Docker Desktop and wait for it to start
- Check:
docker psshould work
Not enough disk space:
export BUILD_DIR=/path/to/large/disk
sudo ./scripts/build_linux.sh CM5# Switch theme
sudo ./scripts/switch_boot_splash.sh
# Update initramfs
sudo update-initramfs -u
sudo rebootSD card not detected:
- Try different USB port
- Check SD card adapter
- Use Raspberry Pi Imager (most reliable)
Image won't boot:
- Verify image file isn't corrupted
- Use quality SD card (Class 10 or better)
- Minimum 16GB recommended
- Try re-flashing
ghostpi/
โโโ README.md # This file
โโโ INSTALL_ON_PI_OS.md # Debian/Pi installation guide
โโโ MAC_BUILD.md # macOS build guide
โโโ BUILD_AND_FLASH.md # Complete build/flash guide
โโโ QUICK_INSTALL_COMMANDS.txt # Quick reference
โโโ scripts/
โ โโโ build_linux.sh # Linux build script
โ โโ๏ฟฝ๏ฟฝ๏ฟฝ build_mac.sh # macOS build script (Docker)
โ โโโ flash_to_sd_mac.sh # macOS SD card flasher
โ โโโ quick_install.sh # Quick install on Pi
โ โโโ switch_boot_splash.sh # Switch boot themes
โ โโโ install_dual_boot.sh # Dual boot setup
โ โโโ wavy-update.sh # Update system menu
โโโ boot-splash/
โ โโโ wavys-world.plymouth # Default theme (purple)
โ โโโ wavys-world.script # Default theme script
โ โโโ wavys-world-blackarch.plymouth # BlackArch theme
โ โโโ wavys-world-blackarch.script # BlackArch theme script
โโโ terminal/ # Enhanced terminal
โโโ ai-companion/ # AI companion
โโโ hackberry-cm5/ # HackberryPi CM5 support
โโโ flipper-zero/ # Flipper Zero integration
โโโ services/ # System services
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details
- HackberryPi CM5: https://github.com/ZitaoTech/HackberryPiCM5
- LinuxBootImageFileGenerator: https://github.com/robseb/LinuxBootImageFileGenerator
- Plymouth: Boot splash system
- Raspberry Pi Foundation: Hardware support
- Kali Linux, Parrot OS, BlackArch: Pentesting tools
- Issues: https://github.com/sowavy234/ghostpi/issues
- Discussions: https://github.com/sowavy234/ghostpi/discussions
- Releases: https://github.com/sowavy234/ghostpi/releases
Welcome to Wavy's World! ๐ฎ๐ซโจ
Made with โค๏ธ for the Raspberry Pi community