Free your apps from proprietary platforms
Liberator is a complete, end-to-end solution for "liberating" apps originally created in Base44, Replit, and other coding platforms that keep work product "captive" to proprietary backends. It provides the ability to duplicate, recreate, reverse-engineer, modify, and substitute code, dependencies, front-end, and everything else needed to take apps built in such environments and make them fully portable and open-source.
- π Automatic Platform Detection - Automatically detects Base44, Replit, and other platforms
- π¦ Complete Extraction - Extracts all code, dependencies, and configuration files
- π¬ Code Analysis - Reverse-engineers code structure, dependencies, and patterns
- π³ Docker Support - Generates Dockerfiles and docker-compose.yml for easy deployment
- π Standard Configs - Creates standard configuration files (package.json, requirements.txt, etc.)
- π Environment Management - Handles environment variables and secrets
- π Documentation Generation - Auto-generates comprehensive README files
- π Open Source Ready - Adds LICENSE, .gitignore, and open-source best practices
- π― Single-Click Setup Wizard - Guided setup in just a few clicks
- π€ AI-Powered Assistant - Code repair, refactoring, troubleshooting, and help
- π¬ Executive Producer - Guarantees apps work on Windows, macOS, Linux, iOS, Android
- π Project Management - Track and manage all liberated projects
Run the Setup Wizard for easy installation:
python3 run_setup_wizard.pyThe wizard will:
- Install all dependencies
- Configure AI assistant (optional)
- Verify everything works
- Get you ready in minutes!
From Source:
git clone https://github.com/yourusername/liberator.git
cd liberator
pip install -e .GUI Installation (macOS):
# Install GUI dependencies
./install_gui.sh
# Or manually:
pip install PyQt6
# Run the GUI
python3 liberator_gui.py
# Or
liberator-guiAI Assistant (Optional):
pip install openai anthropic
# Perplexity uses standard library (no package needed)
# Then configure API keys in setup wizard or ~/.liberator/ai_config.json
# Note: API keys are stored securely and never committed to GitTo create a native macOS app:
./build_macos_app.sh
open dist/Liberator.appIf you've cloned or created this repository locally and want to connect it to GitHub:
# Run the setup script
./setup_github.sh
# Or manually:
# 1. Create a new repository on GitHub
# 2. Add the remote:
git remote add origin https://github.com/YOUR_USERNAME/liberator.git
# 3. Push:
git push -u origin mainpip install -e ".[dev]"Launch the graphical interface:
python3 liberator_gui.py
# Or double-click Liberator.app if builtThe GUI provides:
-
Extract Tab: Visual interface for liberating projects
- Drag & drop project folders
- Platform selection
- Real-time progress tracking
- Extraction logs
-
Analyze Tab: Dependency and code structure analysis
- Visual dependency tree
- Language detection
- Code structure overview
# Liberate a project (auto-detect platform)
liberator extract /path/to/captive-project -o ./liberated-app
# Liberate from URL (GitHub, GitLab, etc.)
liberator extract https://github.com/user/repo -o ./liberated-app
# Liberate with OS compatibility (Windows, macOS, Linux)
liberator extract /path/to/project -o ./liberated-app --target-os windows macos linux
# Liberate and push to GitHub (create new repo)
liberator extract /path/to/project -o ./liberated-app --github "new:my-repo"
# Liberate and push to existing GitHub repo
liberator extract /path/to/project -o ./liberated-app --github "https://github.com/user/repo"
# Specify platform explicitly
liberator extract /path/to/replit-project -o ./liberated-app --platform replit
# Analyze dependencies only
liberator analyze /path/to/project
# Export to portable format
liberator export /path/to/project -o ./portable-appliberator extract ~/my-replit-project -o ./my-liberated-appThis will:
- Detect that it's a Replit project
- Extract all source files
- Analyze dependencies
- Generate standard config files
- Create Docker setup
- Generate README and LICENSE
liberator extract ~/my-base44-project -o ./my-liberated-app --platform base44liberator analyze /path/to/project --verboseThis will show:
- All detected dependencies by type (npm, pip, go, cargo)
- Code structure analysis
- Language detection
- β Base44 - Full support
- β Replit - Full support
- β Generic - Fallback for unknown platforms
After liberation, your project will have:
liberated-app/
βββ src/ # Your source code
βββ package.json # Node.js dependencies (if applicable)
βββ requirements.txt # Python dependencies (if applicable)
βββ go.mod # Go dependencies (if applicable)
βββ Cargo.toml # Rust dependencies (if applicable)
βββ Dockerfile # Docker configuration
βββ docker-compose.yml # Docker Compose setup
βββ .env.example # Environment variable template
βββ .gitignore # Git ignore rules
βββ LICENSE # MIT License
βββ README.md # Comprehensive documentation
- Detection - Automatically detects the platform type
- Extraction - Extracts all files, dependencies, and configuration
- Analysis - Analyzes code structure and dependencies
- Normalization - Normalizes dependencies across package managers
- Export - Creates portable, open-source project structure
- Documentation - Generates comprehensive documentation
Liberator performs deep code analysis to:
- Detect all imports and dependencies
- Identify functions, classes, and modules
- Understand project structure
- Find hidden dependencies
Automatically converts dependencies to standard formats:
- npm packages β package.json
- Python packages β requirements.txt
- Go modules β go.mod
- Rust crates β Cargo.toml
Liberator can reverse-engineer:
- Project structure
- Build configurations
- Runtime environments
- Deployment settings
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - See LICENSE file for details
Liberator is built on the principle that your code should be free. No platform should hold your work captive. This tool ensures that apps built on proprietary platforms can be fully extracted, understood, modified, and made portable.
- Support for more platforms (CodeSandbox, StackBlitz, etc.)
- GUI interface
- Cloud extraction (direct API access)
- Automated testing after extraction
- CI/CD pipeline generation
- Database migration tools
For issues, questions, or contributions, please open an issue on GitHub.
Made with β€οΈ for the open-source community