⚡ Feelin' Moody? Stack sats. ⚡
A pre-configured Raspberry Pi image that automatically sets up a complete Bitcoin full node with Lightning Network, Nostr client, and Electrum server. Built for non-technical users who want a plug-and-play Bitcoin node experience.
- Bitcoin Core 25.1 - Full Bitcoin node with RPC access and transaction indexing
- Lightning Network (LND) - Lightning Network node for instant payments
- Electrum Server - ElectrumX server for wallet connectivity
- BTCPay Server - Complete Bitcoin payment processor
- Flotilla - Nostr social media client
- Web Dashboard - Management interface at
http://moody-node.local:3000 - WiFi Configuration - Simple setup wizard with visual feedback
- Automatic RPC Credentials - Secure credential generation
- Systemd Services - All services run automatically on boot
- Storage Monitoring - Real-time disk usage and service status
- Optimized for 1TB SSD - Full node performance with fast sync
- Plug & Play - Perfect for non-technical users
For macOS/Linux:
# Clone the repository
git clone https://github.com/your-repo/bitcoin-node-image.git
cd bitcoin-node-image
# Save your GCP service account key as gcp-service-account-key.json
# (This is the same key used in your GitHub Actions GCP_SA_KEY secret)
# Run the download script
./download-image.shFor Windows:
# Clone the repository
git clone https://github.com/your-repo/bitcoin-node-image.git
cd bitcoin-node-image
# Save your GCP service account key as gcp-service-account-key.json
# (This is the same key used in your GitHub Actions GCP_SA_KEY secret)
# Run the download script
download-image.bat-
Download the latest image from our GCP storage:
curl -L 'https://storage.googleapis.com/bitcoin-node-artifact-store/raspberry-pi-bitcoin-node_latest.img.xz' -o bitcoin-node.img.xz xz -d bitcoin-node.img.xz -
Write to SD card:
sudo dd if=bitcoin-node.img of=/dev/sdX bs=4M status=progress
-
Insert SD card into Raspberry Pi and boot
See GCP_SETUP.md for instructions on setting up automated builds with GitHub Actions.
On first boot, connect:
- Power cable to the Moody Node
- HDMI monitor (temporarily, for WiFi setup)
- USB keyboard (temporarily, for WiFi setup)
The setup wizard will guide you through:
- Mode Selection: Choose Simple (recommended) or Advanced setup
- WiFi Configuration: Enter your network name and password
- Optional Services (Advanced mode): Select which services to enable
- Automatic Configuration: Secure credentials generated automatically
After setup completes, the system reboots and you can:
- Disconnect monitor and keyboard (no longer needed!)
- Access from your phone/laptop at
http://moody-node.local:3000
- SSH:
pi/raspberry- Change this immediately! - Bitcoin User:
bitcoin(system user, no login) - RPC Credentials: Auto-generated, view via dashboard or
/home/bitcoin/rpc-credentials.txt
Access from any device on your network: http://moody-node.local:3000
Features:
- Real-time Bitcoin sync status - See blockchain download progress
- WiFi management - Update WiFi settings without monitor
- Node configuration - Adjust Bitcoin Core parameters
- Lightning & Electrum status - Monitor all services
- System resources - CPU, memory, disk usage
- Nostr client access - Link to Flotilla at
:5173
- Port: 8332 (RPC), 8333 (P2P), 28332-28333 (ZMQ)
- Data Directory:
/home/bitcoin/.bitcoin - Config:
/home/bitcoin/.bitcoin/bitcoin.conf - Features: Full node, transaction indexing, ZMQ support
- Port: 9735 (P2P), 10009 (RPC), 8080 (REST)
- Data Directory:
/home/bitcoin/.lnd - Config:
/home/bitcoin/.lnd/lnd.conf - Features: Lightning payments, channel management
- Port: 50001 (TCP), 50002 (SSL)
- Data Directory:
/home/bitcoin/.electrumx - Config:
/home/bitcoin/.electrumx.env - Features: Wallet connectivity, transaction history
- URL:
http://moody-node.local(after setup via dashboard) - Setup Script:
/home/bitcoin/btcpayserver/start-btcpay.sh - Docker-based installation
- URL:
http://moody-node.local:5173 - Directory:
/home/bitcoin/flotilla - Purpose: Decentralized social communication on Nostr
- Port: 3000
- URL:
http://moody-node.local:3000 - Features: Bitcoin status, WiFi config, Lightning/Electrum monitoring, system resources
Configure WiFi in two ways:
- First boot wizard (recommended) - Interactive setup with password confirmation
- Web dashboard -
http://moody-node.local:3000→ WiFi Setup section - Manual (advanced) - Edit
/etc/wpa_supplicant/wpa_supplicant.conf
Adjust node settings:
- Web dashboard - Update max connections, dbcache, pruning
- Manual (advanced) - Edit
/home/bitcoin/.bitcoin/bitcoin.conf
Note: RPC credentials are auto-generated and preserved across config changes.
View credentials:
- Web dashboard - System info section
- SSH -
cat /home/bitcoin/rpc-credentials.txt - Via API -
http://moody-node.local:3000/api/bitcoin/status
-
Install dependencies:
sudo apt-get install -y qemu-user-static binfmt-support kpartx xz-utils curl git parted
-
Download base image:
curl -L -o raspios.img.xz https://downloads.raspberrypi.org/raspios_lite_arm64_latest unxz raspios.img.xz mv *.img raspi-custom.img -
Run customization script:
chmod +x scripts/customize-image.sh scripts/bootstrap-rpc-creds.sh sudo scripts/customize-image.sh raspi-custom.img scripts/bootstrap-rpc-creds.sh
scripts/customize-image.sh- Main image customization scriptscripts/bootstrap-rpc-creds.sh- Generate secure RPC credentialsscripts/firstboot-setup.sh- First boot configuration wizardscripts/test-syntax.sh- Test all shell scripts for syntax errorsdownload-image.sh- Download latest image from GCP storagedownload-image.bat- Windows version of download script
To use the download scripts, you need to save your GCP service account key as gcp-service-account-key.json in the project root. This should be the same key used in your GitHub Actions GCP_SA_KEY secret.
server/server.js- Express.js API serverserver/ui/- Web interface filesserver/package.json- Node.js dependencies
-
Image too large for SD card
- Use a 32GB+ SD card
- The image is ~8GB uncompressed
-
Bitcoin Core won't start
- Check RPC credentials in
/home/bitcoin/rpc-credentials.txt - Verify disk space:
df -h
- Check RPC credentials in
-
Web interface not accessible
- Verify you're on the same WiFi network as the Moody Node
- Try accessing via IP: Check router for device IP address
- Check if service is running:
sudo systemctl status btcnode-api - Verify port 3000 is open:
netstat -tlnp | grep 3000 - Try from SSH tunnel:
ssh -L 3000:localhost:3000 pi@moody-node.local
-
BTCPay Server issues
- Ensure Docker is installed:
docker --version - Check BTCPay logs:
docker logs btcpayserver_btcpayserver_1
- Ensure Docker is installed:
-
Hostname not resolving (moody-node.local)
- Some Android devices don't support mDNS/Bonjour
- Use IP address instead (check your router)
- Or install "Bonjour Browser" app to find the device
# Bitcoin Core logs
sudo journalctl -u bitcoind -f
# Web API logs
sudo journalctl -u btcnode-api -f
# BTCPay logs
docker logs btcpayserver_btcpayserver_1
# System logs
sudo journalctl -fIMPORTANT - Do these first!
- ✅ Change default SSH password:
passwd(current: raspberry) - ✅ Set up firewall: UFW is pre-installed, configure as needed
- ✅ Keep system updated:
sudo apt update && sudo apt upgrade - ✅ Monitor disk space: Bitcoin blockchain grows continuously
- ✅ Secure your network: Use strong WiFi password, consider VPN for remote access
- ✅ Back up credentials: Save
/home/bitcoin/rpc-credentials.txtsecurely
- ⚡ Lightning Network - Instant Bitcoin payments & routing
- 🟣 Nostr Client - Decentralized social communication
- 💼 Electrum Server - Connect your own Bitcoin wallet
- 💰 BTCPay Server - Optional payment processor for merchants
- 📊 Web Dashboard - Monitor everything from your phone
- 🔐 Auto RPC Credentials - Secure by default
This is more than just a Bitcoin node. It's your gateway to financial sovereignty.
Stack sats. Stay humble. Feelin' Moody.
- Built with ❤️ by the FML team
- Questions? Issues? Check the GitHub repo
- Community: Join us on Nostr using your Moody Node!