launch-ih
v1.0.0
Published
Ship your product to Indie Hackers from the terminal
Maintainers
Readme
LAUNCH — Ship your product to Indie Hackers from the terminal
— Add a terminal recording here
Install
npx launch-ih
# or
npm install -g launch-ihQuick Start
launch login → Log into Indie Hackers and save session
launch new → Create a new product launch session
launch draft → Generate or edit a post draft
launch preview → Dry-run preview in browser
launch publish → Submit the approved draftFull Command Reference
All commands support --json (global flag) for JSON output mode.
launch login
Log into Indie Hackers and save session.
| Flag | Description |
|------|-------------|
| --yes | Skip interactive prompts |
launch new
Create a new product launch session.
| Flag | Description |
|------|-------------|
| --yes | Skip confirmation prompts |
| --name <name> | Product name |
| --tagline <tagline> | Product tagline |
| --problem <problem> | Problem it solves |
| --features <features> | Comma-separated features |
| --link <url> | Product URL |
| --audience <audience> | Target audience |
| --stage <stage> | pre-launch, just-launched, or growing |
| --resume | Resume existing drafting session |
launch draft
Generate or edit a post draft.
| Flag | Description |
|------|-------------|
| --yes | Skip editor prompt |
| --session <id> | Session ID |
launch preview
Dry-run preview: fill Indie Hackers form and take a screenshot. Never submits.
| Flag | Description |
|------|-------------|
| --yes | Skip prompts |
| --session <id> | Session ID |
| --headful | Run browser in visible mode |
launch publish
Submit the approved draft to Indie Hackers.
| Flag | Description |
|------|-------------|
| --yes | Skip confirmation |
| --session <id> | Session ID |
| --headful | Run browser in visible mode |
launch history
View past launch sessions.
| Flag | Description |
|------|-------------|
| --limit <n> | Max results (0 = all, default 10) |
launch status
Show current session state and next steps.
| Flag | Description |
|------|-------------|
| --session <id> | Session ID |
How It Works
Three key components:
- Orchestrator-driven AI drafting — Post drafts are generated by an AI orchestrator (not a paid API). Templates and structured prompts produce Indie Hackers–style posts without API costs.
- Playwright browser automation — Preview and publish commands use Playwright to fill Indie Hackers forms, take screenshots, and submit posts. All browser actions are safe — preview never submits.
- Session persistence — Product info and post drafts are saved as JSON session files. Resume mid-flow with
--resumeor--session.
Requirements
- Node.js 18+
- Chrome/Chromium (installed via
npx playwright install) - An Indie Hackers account
Links
License
MIT
