Getting Started
Get Lighthouse running in 5 minutes.
Prerequisites
- Go 1.22+ (for building from source)
- Node.js 20+ (for frontend build)
- Or Docker (alternative)
Quick Install
Option 1: From Source (Recommended)
# Clone the repository
git clone https://github.com/gmonarque/lighthouse.git
cd lighthouse
# Build and run
make build
./lighthouse
Option 2: Docker
git clone https://github.com/gmonarque/lighthouse.git
cd lighthouse
docker-compose up -d
First Run
- Open http://localhost:9999 in your browser
- Complete the Setup Wizard:
- Generate or import a Nostr identity
- Select relay presets
- Configure enrichment APIs (optional)
- You’re ready to go!
Setup Wizard Steps
Step 1: Identity
Choose one of:
- Generate new identity - Creates a new Nostr keypair
- Import existing - Use your existing nsec
Your identity is used to:
- Sign published torrents
- Follow other users for Web of Trust
- Publish moderation decisions (if acting as curator)
Step 2: Relays
Select a relay preset:
| Preset |
Description |
| Public |
Major public relays (recommended for beginners) |
| Private |
No default relays (for advanced users) |
| Custom |
Specify your own relay URLs |
Step 3: Enrichment (Optional)
Add API keys for automatic metadata enrichment:
- TMDB - Movie/TV metadata, posters
- OMDB - Ratings, plot summaries
Both services offer free API keys.
Integrating with *arr Apps
Lighthouse provides a Torznab API compatible with Prowlarr, Sonarr, Radarr, and other *arr applications.
Setup Steps
- Go to Settings in Lighthouse
- Copy your API Key
- Note the Torznab URL:
http://localhost:9999/api/torznab
In Prowlarr
- Go to Indexers > Add Indexer
- Select Generic Torznab
- Configure:
- Name: Lighthouse
- URL:
http://localhost:9999/api/torznab
- API Key: (paste from Lighthouse)
- Test and Save
In Sonarr/Radarr
- Go to Settings > Indexers > Add
- Select Torznab
- Configure with the same URL and API key
- Test and Save
Basic Usage
Dashboard
The dashboard shows:
- Total indexed torrents
- Recent additions
- Indexer status
- Curation statistics
Search
Search for content using:
- Keywords - Title, name
- Categories - Movies, TV, Audio, etc.
- Filters - Size, seeders, date
Publishing
To publish a torrent:
- Go to Publish
- Upload or paste a
.torrent file
- Edit metadata if needed
- Click Publish to Nostr
The torrent metadata is signed with your identity and broadcast to configured relays.
Next Steps
Troubleshooting
Port Already in Use
Change the port in config.yaml:
Or use environment variable:
LIGHTHOUSE_SERVER_PORT=8080 ./lighthouse
Cannot Connect to Relays
- Check your internet connection
- Verify relay URLs are correct
- Some relays may require authentication
No Torrents Appearing
- Check that the indexer is running (green status in sidebar)
- Verify relays are connected (Relays page)
- Check Web of Trust settings (Trust page)
- With Trust Depth 0, you need to manually whitelist publishers
Build Errors
# Ensure Go is installed
go version
# Ensure Node.js is installed
node --version
# Clean and rebuild
make clean
make deps
make build