Add bootstrap installer with UPX optimization

New lightweight installation method for Raspberry Pi:
- bootstrap.sh: Smart installer downloads UPX-compressed binary (1.6MB)
- Falls back to full package if GitHub release unavailable
- Auto-installs dependencies (tor, curl, upx-ucl)
- Generates secure config with random RPC password
- Enables Tor service automatically

Benefits vs full package:
- 68% smaller download (1.6MB vs 5.1MB)
- Faster setup on slow Pi connections
- Same final result as full install

Main package still uses uncompressed 5.1MB binary.
Bootstrap uses UPX version for initial download only.
This commit is contained in:
Krystie
2026-04-01 11:54:13 -07:00
parent 4309fadf21
commit 247db74393
3 changed files with 128 additions and 2 deletions
+15 -2
View File
@@ -8,7 +8,20 @@ Complete Triangles (TRI) cryptocurrency node package for Raspberry Pi 4/5 (64-bi
## Quick Start
### Download Latest Release
### 🚀 Bootstrap Installer (Recommended - Only 1.6MB!)
```bash
curl -sSL https://raw.githubusercontent.com/SamiAhmed7777/tri-pi/main/bootstrap.sh | sudo bash
```
**Ultra-fast setup:**
- Downloads compressed binary (1.6MB vs 5.1MB)
- Auto-installs all dependencies
- Generates secure config
- Enables Tor integration
- Ready to mine in 60 seconds!
### 📦 Full Package Download
```bash
# Get latest version
@@ -23,7 +36,7 @@ sudo ./install.sh
trianglesd
```
### Or Clone and Build from Source
### 🔧 Build from Source
```bash
git clone https://github.com/SamiAhmed7777/tri-pi.git