Skip to content

Latest commit

 

History

History
266 lines (208 loc) · 6.85 KB

IDEAS.md

File metadata and controls

266 lines (208 loc) · 6.85 KB

💡 Ideas for Open Source Projects

Focus: Problems with NO good free solution and expensive paid alternatives.


🥇 Tier 1 - Real Gaps in the Market

1. feature-flag-cli / toggle-cli

The problem: Feature flags are essential for safe deploys. But LaunchDarkly costs $10/user/month.

Current options:

  • LaunchDarkly: $10/user/month (expensive for small teams)
  • Flagsmith: Self-hosted is complex
  • Unleash: Same, complex to self-host
  • Environment variables: Not dynamic, requires redeploy

What to build:

npx toggle-cli init
# Creates toggles.json + simple dashboard

npx toggle-cli serve
# Dashboard at localhost:3000
# API at localhost:3001/api/flags
  • JSON file as database (simple!)
  • Web dashboard to toggle flags
  • API endpoint for apps to fetch flags
  • Optional: Sync to GitHub Gist for "cloud" storage
  • SDK for Node/React

Why it's unique: No simple self-hosted solution exists. Everyone either pays or uses env vars.


2. uptime-cli

The problem: Monitor if your sites are up. UptimeRobot free = 50 monitors only. BetterUptime = $20/month.

Current options:

  • UptimeRobot: 50 monitors free, then $7/month
  • BetterUptime: $20/month
  • Pingdom: $15/month
  • Self-hosted solutions: Complex (Uptime Kuma needs server)

What to build:

npx uptime-cli add https://mysite.com
npx uptime-cli add https://api.mysite.com

npx uptime-cli status
# mysite.com     → UP (245ms) ✅
# api.mysite.com → DOWN since 5min ago ❌

npx uptime-cli watch --notify slack
# Runs in background, sends alerts
  • Store config locally in ~/.uptime-cli/
  • Run as background process or cron
  • Slack/Discord/Email notifications
  • Status page generator (static HTML)

Technical: Could run as GitHub Action for free "cloud" monitoring


3. webhook-dev-cli

The problem: Testing webhooks locally is painful. ngrok is limited, webhook.site expires.

Current options:

  • ngrok: Limited free tier, $8/month for more
  • webhook.site: Requests expire, can't forward to localhost
  • localtunnel: Unreliable
  • RequestBin: Discontinued

What to build:

npx webhook-dev-cli
# → Webhook URL: https://abc123.webhook.dev
# → Forwarding to: localhost:3000/webhooks
# 
# Incoming webhooks:
# POST /stripe  → 200 OK (45ms)
# POST /github  → 500 Error (12ms) [click to see body]
  • Get public URL for webhooks
  • Forward to localhost
  • Log all requests with body/headers
  • Replay requests
  • Web UI to inspect

Technical: Use Cloudflare Tunnel (free) or similar


4. env-sync-cli

The problem: Sharing .env with team is a mess. People use Slack (insecure), email (worse), or commit (terrible).

Current options:

  • Doppler: $20/month per user
  • 1Password: $8/month per user
  • Infisical: Complex to self-host
  • Vault: Enterprise complexity

What to build:

# You encrypt
npx env-sync-cli push .env --password "team-2024"
# → Encrypted and saved to: .env.encrypted
# → Safe to commit to git!

# Teammate decrypts
npx env-sync-cli pull .env.encrypted --password "team-2024"
# → .env restored

# Or use GitHub Gist for sync
npx env-sync-cli push --gist
npx env-sync-cli pull --gist
  • Encrypt with password (AES-256)
  • Store encrypted file in git (safe!)
  • Or sync via GitHub Gist (private)
  • Diff: show what changed
  • Multiple environments: dev, staging, prod

Why it's unique: No dead-simple solution. Everything is SaaS or complex.


5. db-snapshot-cli

The problem: Backing up local dev databases is always manual. Restoring to test data is painful.

Current options:

  • pg_dump/mysqldump: Manual, forget to do it
  • No unified tool for multiple DBs

What to build:

npx db-snapshot-cli save "before-migration"
# → Saved: postgres://localhost/myapp → before-migration.sql.gz

npx db-snapshot-cli list
# before-migration  (2.3 MB) - 2 hours ago
# clean-state       (1.1 MB) - 3 days ago

npx db-snapshot-cli restore "before-migration"
# → Restored!
  • Support: PostgreSQL, MySQL, SQLite, MongoDB
  • Compress snapshots
  • Name your snapshots
  • Quick restore

Why it's unique: Nobody made a simple unified CLI for this.


🥈 Tier 2 - Strong Opportunities

6. mailtrap-local-cli

The problem: Testing emails locally. Mailtrap is $15/month. MailHog is hard to install.

What to build:

npx mailtrap-local-cli
# → SMTP server: localhost:1025
# → Web UI: localhost:8025
# 
# Send emails to any address, they'll appear in the UI
  • One command SMTP server
  • Web UI to see emails
  • No Docker needed
  • API to check emails (for tests)

7. api-health-cli

The problem: Monitor API endpoints, not just "is it up" but "is it returning correct data".

What to build:

npx api-health-cli init
# Creates api-health.yml

npx api-health-cli check
# GET /users       → 200 OK, has 'data' field ✅
# GET /products    → 200 OK, but 'items' is empty ⚠️
# POST /auth/login → 401 (expected) ✅
  • Define expected responses in YAML
  • Check status codes, response structure, timing
  • Run in CI to catch API regressions

8. changelog-cli

The problem: Generating changelogs from commits. Existing tools are confusing or ugly.

What to build:

npx changelog-cli generate
# Reads commits since last tag
# Groups by type (feat, fix, docs)
# Outputs beautiful CHANGELOG.md
  • Parse conventional commits
  • Beautiful markdown output
  • Link to PRs/issues
  • Customize template

9. secrets-scan-cli

The problem: Accidentally committing API keys. GitGuardian is paid.

What to build:

npx secrets-scan-cli
# Scanning...
# ⚠️ Found 2 potential secrets:
#   .env.example:3 → AWS_SECRET_KEY (looks like real key)
#   config.js:15   → API key pattern detected
  • Scan for common secret patterns
  • Pre-commit hook integration
  • Ignore false positives

10. cronjob-monitor-cli

The problem: Know when cronjobs fail or don't run. Cronitor is $20/month.

What to build:

# In your cron:
0 * * * * /path/to/job.sh && npx cronjob-monitor-cli ping "hourly-job"

# Check status:
npx cronjob-monitor-cli status
# hourly-job  → Last run: 5 min ago ✅
# daily-job   → MISSED! Last run: 26 hours ago ❌
  • Heartbeat monitoring
  • Alert if job doesn't ping
  • Slack/Discord notifications

🎯 Top 3 Recommendations

# Tool Why
1 feature-flag-cli LaunchDarkly = $10/user. No simple free alternative exists.
2 env-sync-cli Doppler = $20/user. Current solutions are complex.
3 uptime-cli Everyone needs it. Free tiers are too limited.

💡 What Makes These Different

  1. Real cost savings - Replace $10-20/month tools
  2. No existing good free solution - Checked thoroughly
  3. Simple to build - No complex infrastructure needed
  4. Self-hosted by design - No server costs for you
  5. Can grow - Start CLI, add web dashboard later