๐ FileSystem Ghost
A Cyberpunk Linux Command Learning Game
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โโโโโโ โโโโโโ โโโโโโ โโโโโโโโ โโโโโโโ โโโโโโโโ โ
โ โโโโโโ โโโโโโ โโโโโโ โโโโโโโโ โโโโโ โโโโโโโโ โ
โ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโ โ
โ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโ โ
โ โโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโโโโโโโโโโโโ
โ โโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโ โโโ โ
โ โโโ โโโโโโโโโโโโโโ โโโโโโโโโโโ โโโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโโ โโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฎ About
FileSystem Ghost is an immersive, cyberpunk-themed terminal game that teaches Linux commands through stealth-based gameplay. You play as an intrusive process that has awakened in a corporate server. To survive and escalate to Root, you must manipulate the environment using real Linux commands.
Features
- ๐ฅ๏ธ Beautiful TUI - Cyberpunk red aesthetic with glitch effects
- ๐ Learn Linux - Master essential commands:
ls, cd, cat, mkdir, rm, chmod, and more
- ๐ต๏ธ Stealth Mechanics - Avoid detection by security processes
- ๐ Progressive Difficulty - 4 levels from Apprentice to Root
- โจ๏ธ Fish-style Suggestions - Inline command autocompletion
- ๐ฏ Objectives System - Find keys, avoid guards, hack permissions
๐ Quick Install
โก One Command Install (Recommended)
go install github.com/sazardev/filesystem-ghost/cmd/ghost@latest
That's it! Now run:
ghost
From Source
# Clone the repository
git clone https://github.com/sazardev/filesystem-ghost.git
cd filesystem-ghost
# Install with make
make install
# Or run directly
make run
Script Install (Alternative)
curl -sSL https://raw.githubusercontent.com/sazardev/filesystem-ghost/main/install.sh | bash
๐ฆ Requirements
- Go 1.21+ (for building from source)
- Terminal with 256-color support
- Minimum size: 80x24 characters (recommended: 120x40)
| Platform |
Architecture |
Status |
| Linux |
amd64, arm64 |
โ
Fully Supported |
| macOS |
amd64, arm64 |
โ
Fully Supported |
| Windows |
amd64 |
โ ๏ธ Experimental (use WSL) |
๐ฎ How to Play
Controls
| Key |
Action |
Enter |
Execute command |
Tab |
Autocomplete / Cycle suggestions |
โ |
Accept inline suggestion |
โ/โ |
Navigate command history |
Ctrl+C |
Quit game |
Basic Commands
ls # List files in current directory
ls -la # List all files including hidden
cd <folder> # Change directory
cat <file> # Read file contents
pwd # Show current path
help # Show available commands
status # Show your current stats
disconnect # Complete level objective
disconnect --menu # Return to main menu
Game Tips
- Use
ls -a to find hidden files (files starting with .)
- Read everything with
cat - files contain clues and keys
- Watch your noise level - too much noise alerts security
- Find the keys before using
disconnect to advance
- Use
status to check your progress and objectives
๐ Levels
| Level |
Name |
Commands |
Objective |
| 1 |
Apprentice |
ls, cd, cat, pwd |
Find the level1.key |
| 2 |
Script Kiddie |
+ mkdir, touch, rm |
Locate admin.key |
| 3 |
Infiltrator |
+ mv, cp, chmod |
Retrieve root.key |
| 4 |
Root User |
+ ps, kill, grep |
Achieve root access |
๐ ๏ธ Development
Build Commands
make help # Show all available commands
make build # Build for current platform
make dev # Build with debug info
make run # Build and run
make test # Run tests
make clean # Clean build artifacts
make release # Build for all platforms
make install # Install system-wide (sudo)
make uninstall # Remove from system
Project Structure
filesystem-ghost/
โโโ cmd/ghost/ # Main entry point
โโโ internal/
โ โโโ adapter/
โ โ โโโ commands/ # Command handler
โ โ โโโ filesystem/ # Virtual filesystem
โ โ โโโ ui/ # TUI components
โ โโโ application/
โ โ โโโ levels/ # Level definitions
โ โโโ domain/
โ โโโ entity/ # Game entities
โโโ Makefile # Build automation
โโโ install.sh # Quick install script
โโโ README.md
Tech Stack
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Charm.sh for their amazing TUI libraries
- The Linux community for inspiring this educational game
- Cyberpunk aesthetics for the visual inspiration
Happy Hacking! ๐