IPO Tracker

A real-time aggregator for upcoming IPOs and pre-IPO markets. I designed it, built the three-part backend, a paid public API with keys, quotas and Stripe billing, and run all of it on my own VPS.

  • Next.js
  • Bun
  • Hono
  • SQLite
  • nginx
  • pm2
  • Stripe
  • wagmi

IPO Tracker helps people find the next IPO and compare every place a private company is already priced. No single number is the price of a private company: Hyperliquid HIP-3 pre-IPO perps, Coinbase International markets, Jupiter PreStocks, official IPO filings and broker listings can all imply different valuations. IPO Tracker groups them under one company so the spread itself becomes visible.

Architecture

Three services with strict boundaries, so each one can fail or restart without affecting the others.

  • Collectors: small Bun jobs scheduled by pm2 are the only code that talks to external APIs. Each one fetches a source, snapshots the raw data, normalises it, and writes prices into SQLite. A merge step then builds one canonical record per company.
  • API: a Bun and Hono server that only reads what the collectors produce. It holds no state that cannot be rebuilt, so it can be restarted at any time.
  • Frontend: Next.js polls that single API and never calls upstream providers from the browser.

The same data is sold as a public API, with the business logic in one place:

  • API keys, plans, usage quotas, per-minute rate limits and history windows per plan
  • Stripe subscriptions with signed webhooks and a customer portal
  • Request logging with automatic retention, stricter input validation, and an error format that never leaks a stack trace

Running it

  • Blue/green deploys: nginx points at whichever backend is active, so a new version goes live by switching the upstream, and a rollback is the same switch in reverse.
  • Hardened VPS: fail2ban and CrowdSec ban abusive IPs, unattended-upgrades applies security patches, and ClamAV scans for malware.
  • Two layers of rate limiting: per-IP limits in nginx in front of the app's own per-key limits.
  • Locked admin routes: admin endpoints are refused by nginx and only reachable over loopback from the frontend's server. The blog CMS sits behind GitHub OAuth, and no backend secret ever reaches the browser.
  • Safe defaults: every secret-protected route refuses requests when its secret is missing, instead of quietly opening up.
  • Guarded file serving: static logos are protected against path traversal.
  • Health checks and backups: a health endpoint reports the version and the last data refresh, and blog content is backed up by script.
  • Automated distribution: self-hosted bots repost the news feed to Telegram, X and LinkedIn. They remember what they already sent, so a restart never posts twice and a fresh deploy never floods a channel.

Product

Asset pages

Each company page is a focused market view: live prices, charts, source-specific data and links to external venues. A wallet is only needed to trade Hyperliquid HIP-3 markets from inside the app. Everything else is public, with no account required.

A command-palette search built for fast company lookup, with enough context to decide which page to open.

Positioning

IPO Tracker is a market-data product, not a broker, exchange or adviser. The interface says clearly that aggregated data can be delayed or incomplete and that pre-IPO instruments are high risk. That framing is a product decision as much as a legal one.