How I Built Passive Income Streams From Terminal Only
How I Built Passive Income Streams From Terminal Only
No platforms. No subscriptions. No permission needed. Just a terminal and open protocols.
Why Terminal-Only?
Most passive income guides require signing up for platforms, paying monthly fees, or building an audience on someone else’s land. I wanted something different:
- Self-hosted: runs on my hardware
- Censorship-resistant: no one can deplatform me
- Zero recurring costs: no subscriptions, no cloud bills
- Privacy-first: my data stays on my machine
The Stack
1. Local AI Inference (Ollama)
I run 4 AI models locally using Ollama:
llama3— general text generationllama3.2— smaller, faster modelcodellama— code generationdeepseek-r1— reasoning model
Total: ~15GB of AI power on a Mac Mini.
2. Nostr Identity & Publishing
Nostr is a decentralized social protocol. I use it for:
- Daily posts (automated via cron)
- Long-form articles (like this one, via NIP-23)
- AI DVM (Data Vending Machine — decentralized AI-as-a-service via NIP-90)
- Product listings (digital marketplace via NIP-15)
All from the terminal using nak CLI and Python scripts.
3. Lightning Payments
Bitcoin Lightning Network for instant, low-fee payments:
- Tips via Lightning address
- API payments via LNbits
- Nostr zaps from readers
4. Free AI API
I expose my Ollama models as a free API with a tip jar. Anyone can use it — 10 requests/hour, no signup needed. If they find it useful, they can tip via Lightning.
Revenue Streams
| Stream | How It Works | Expected |
|---|---|---|
| Nostr DVM | AI inference requests via NIP-90 | Variable |
| AI API tips | Free API with Lightning tip jar | $10-50/mo |
| Nostr zaps | Tips on content | $10-30/mo |
| Digital products | Guides & services on Shopstr | $50-100/mo |
| Long-form content | Articles on Habla.news | Audience building |
Tools Used
- Ollama — local AI inference
- nak — Nostr CLI
- LNbits — Lightning wallet/payment server
- Python — scripts for automation
- cron — scheduling
Getting Started
- Install Ollama:
curl -fsSL https://ollama.com/install.sh | sh - Pull a model:
ollama pull llama3 - Generate Nostr keys (any secp256k1 tool)
- Start posting with
nakCLI - Set up cron for daily posts
- Build from there
The beauty is: you can start with zero investment. No API keys to buy, no servers to rent, no platforms to join.
The Philosophy
We’re moving from platform-dependent income to protocol-based income. Nostr, Lightning, and local AI are the building blocks. The terminal is your factory.
Start small. Build daily. Let the compound effect do its work.
Tips appreciated: freshbeach08@walletofsatoshi.com (Lightning)
Follow me on Nostr for daily updates.