BLE Bridge Migration to Separate Repository β
The Meshtastic BLE Bridge has been extracted to its own repository.
New Repository β
URL: https://github.com/Yeraze/meshtastic-ble-bridge
What Was Done β
Removed from MeshMonitor β
- β
tools/ble_tcp_bridge.py- Main bridge application - β
tools/Dockerfile- Container build - β
tools/.dockerignore- Build exclusions - β
tools/README_BLE_BRIDGE.md- User documentation - β
tools/CLAUDE_BLE_BRIDGE.md- Claude context - β
docs/BLE_TCP_BRIDGE_ANALYSIS.md- Technical analysis - β
DEPLOY_BLE_BRIDGE.md- Deployment guide
Updated in MeshMonitor β
- β
docker-compose.ble.yml- Now references external imageghcr.io/yeraze/meshtastic-ble-bridge:latest - β
tools/README.md- Created to explain the move and point to new repo
Package for New Repository β
- β
meshmonitor-ble-bridge.tar.gz- Complete source and docs (17 KB) - β
TARBALL_MANIFEST.md- Package documentation
Setting Up the New Repository β
Create GitHub Repository
bash# On GitHub: Create new repo "meshtastic-ble-bridge"Initialize from Tarball
bashmkdir meshtastic-ble-bridge cd meshtastic-ble-bridge tar -xzf ../meshmonitor-ble-bridge.tar.gz --strip-components=1 git init git add . git commit -m "Initial commit: BLE bridge extracted from MeshMonitor" git remote add origin git@github.com:Yeraze/meshtastic-ble-bridge.git git push -u origin mainSet Up GitHub Container Registry
- Enable GitHub Actions in the repository
- Create
.github/workflows/docker-publish.ymlfor automatic builds - Images will be published to
ghcr.io/yeraze/meshtastic-ble-bridge
Integration with MeshMonitor β
Users can now use the BLE bridge with MeshMonitor in two ways:
Option 1: Pre-built Image (Recommended) β
bash
# Create .env file
echo "BLE_ADDRESS=AA:BB:CC:DD:EE:FF" > .env
# Start with overlay
docker compose -f docker-compose.yml -f docker-compose.ble.yml up -dOption 2: Build Locally β
bash
# Clone both repositories
git clone https://github.com/Yeraze/meshmonitor.git
git clone https://github.com/Yeraze/meshtastic-ble-bridge.git
# Update docker-compose.ble.yml to use local build
# (uncomment the build section)
# Start services
cd meshmonitor
docker compose -f docker-compose.yml -f docker-compose.ble.yml up -dBenefits of Separation β
- Independent Development: BLE bridge can evolve independently
- Separate Issues/PRs: Clearer separation of concerns
- Easier Testing: Can test bridge in isolation
- Reusability: Other projects can use the BLE bridge
- Smaller MeshMonitor Repo: Focused on core functionality
- Dedicated Claude Instance: Separate context for BLE bridge work
Documentation β
All BLE bridge documentation now lives in the new repository:
- README.md - Overview and quick start
- QUICK_START.md - 5-minute setup guide
- docs/CLAUDE_BLE_BRIDGE.md - Technical context for Claude Code
- docs/BLE_TCP_BRIDGE_ANALYSIS.md - Comprehensive analysis
- docs/README_BLE_BRIDGE.md - User guide
- docs/DEPLOY_BLE_BRIDGE.md - Production deployment
Cleanup Completed β
- [x] Remove BLE bridge source files from MeshMonitor
- [x] Remove BLE bridge documentation from MeshMonitor
- [x] Update docker-compose.ble.yml to reference external image
- [x] Create tools/README.md pointing to new repo
- [x] Package complete BLE bridge in tarball
- [x] Document migration process
Next Steps (For New Repository) β
- Extract tarball to new repository
- Set up GitHub Actions for automated builds
- Configure GitHub Container Registry
- Add repository description and topics
- Create initial release (v1.0.0)
- Add links back to MeshMonitor in README