A collection of utilities for MikoPBX module development, JavaScript compilation, and feature branch management.
| Tool | Description | Documentation |
|---|---|---|
| babel/ | ES6+ to ES5 JavaScript compiler with Docker support | babel/README.md |
| docker/ | Docker container & module management for dev environments | CLAUDE.md |
| modules/ | Scripts for creating new MikoPBX modules | modules/README.md |
| worktrees/ | Git worktree management for feature development | worktrees/README.md |
# Using pre-built Docker container (recommended)
docker pull ghcr.io/mikopbx/babel-compiler:latest
docker run --rm -v "/path/to/project:/project" \
ghcr.io/mikopbx/babel-compiler:latest \
"/project/sites/admin-cabinet/assets/js/src/main/form.js"cd /path/to/your/modules
./modules/create_module.sh 'ModuleMyFeature'# From MikoPBX Core directory
./worktrees/create-feature-worktree.sh my-feature developPre-built multi-architecture Docker image available at:
ghcr.io/mikopbx/babel-compiler:latest
Supports:
- linux/amd64 - Standard Linux/Windows
- linux/arm64 - Apple Silicon (M1/M2/M3), ARM servers
The image is automatically rebuilt when changes are pushed to the babel/ directory.
ExtensionsDevTools/
├── README.md # This file
├── CLAUDE.md # Claude Code instructions
├── LICENSE # MIT License
├── babel/ # JavaScript compiler
│ ├── README.md
│ ├── Dockerfile
│ ├── babel-compile.js
│ ├── babel.config.json
│ ├── docker-entrypoint.sh
│ ├── package.json
│ └── package-lock.json
├── docker/ # Dev container management
│ ├── dev-compose.sh # Module & container orchestration
│ └── modules.yml.example # Default module configuration
├── modules/ # Module creation tools
│ ├── README.md
│ ├── create_module.sh
│ ├── mod_replace.py
│ └── mod_replace.sh
├── worktrees/ # Feature branch management
│ ├── README.md
│ └── create-feature-worktree.sh
└── .github/
└── workflows/
└── docker-publish.yml # Auto-build Babel container
- Docker (recommended) or Node.js 18+
- Git
- Python 3.x with GitPython (optional, for
mod_replace.py)
- Git with worktree support
- Docker and Docker Compose
- Bash shell
This repository provides tools that integrate with Claude Code for MikoPBX development:
- Babel compilation - Compile JavaScript files directly using the Docker container
- Feature worktrees - Automatically generates
CLAUDE.local.mdwith project-specific configuration - Module scaffolding - Quick creation of new modules following MikoPBX conventions
MIT License - see LICENSE file.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
- MikoPBX Documentation
- ModuleTemplate - Base template for modules
- MikoPBX Core - Main MikoPBX repository