Welcome to create pull requests for bugfix, new component, doc, example, suggestion and anything.
All development happens directly on main. Submit pull requests to main.
- Node.js ≥22.0.0 (recommended LTS, older versions ≥18.0.0 may work)
- Rust ≥1.85.0 (required for edition2024 support in dependencies)
- Platform-specific build tools:
- macOS: Xcode Command Line Tools (
xcode-select --install) - Windows: Visual Studio Build Tools with MSVC
- Linux:
build-essential,libwebkit2gtk, system dependencies
- macOS: Xcode Command Line Tools (
# Clone the repository
git clone https://github.com/tw93/Pake.git
cd Pake
# Install dependencies
pnpm install
# Start development (Tauri only)
pnpm run dev
# Start development (CLI Wrapper + Tauri) - Recommended for CLI changes
pnpm run cli:dev -- https://web.telegram.org/k/# Run all tests (unit + integration + builder)
pnpm test
# Build CLI for testing
pnpm run cli:build-
Use
--iterative-buildflag during development to skip some hefty checks and use app bundle format for faster debugging:pnpm run cli:dev --iterative-build
The project uses streamlined GitHub Actions workflows:
- Quality & Testing: Automatic code quality checks and comprehensive testing on all platforms
- Claude AI Integration: Automated code review and interactive assistance
- Release Management: Coordinated releases with app building and Docker publishing
If you're running macOS 26 Beta and encounter compilation errors related to mac-notification-sys or system frameworks (errors about CoreFoundation, _Builtin_float modules), create a src-tauri/.cargo/config.toml file with:
[env]
# Fix for macOS 26 Beta compatibility issues
# Forces use of compatible SDK when building on macOS 26 Beta
MACOSX_DEPLOYMENT_TARGET = "15.0"
SDKROOT = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"This file is already in .gitignore and should not be committed to the repository.
Root Cause: macOS 26 Beta uses newer system frameworks that aren't yet fully compatible with Tauri's dependencies. This configuration uses the universal SDK symlink which automatically points to your system's available SDK version.
- Rust compilation errors: Run
cargo cleaninsrc-tauri/directory cargocommand not found after installation: Pake CLI now reloads the Rust environment automatically, but if the issue persists reopen your terminal or runsource ~/.cargo/env(macOS/Linux) /call %USERPROFILE%\.cargo\env(Windows) before retrying- Node dependency issues: Delete
node_modulesand runpnpm install - Permission errors on macOS: Run
sudo xcode-select --reset
See the Advanced Usage Guide for project structure and customization techniques.
It is a good habit to create a feature request issue to discuss whether the feature is necessary before you implement it. However, it's unnecessary to create an issue to claim that you found a typo or improved the readability of documentation, just create a pull request.