OpenStock: A Self-Hosted, Open-Source Market Dashboard
OpenStock puts TradingView charts, a heatmap and Reddit/X/Polymarket sentiment in one self-hosted dashboard. Free-tier quotes lag; real-time is paid Cloud.
Project facts
GitHub Ecosystem- License
- AGPL-3.0
- Language
- TypeScript
- Stars
- 19,590
- Data checked
- 2026-10-02
Snapshot figures reflect the check date and may change over time.
Market tools leave you two bad options: terminals with a monthly subscription, or free apps stuffed with ads and stock picks. OpenStock — recommended by X user lumxss (@bkdgiffug) on October 1 — takes a third path: open source, self-hosted, and free, pulling live quotes, TradingView charts and market sentiment into one dashboard. As of October 2, 2026 it has 19,590 stars on GitHub. Its most interesting trick is the sentiment card: each stock page pulls snapshots from Reddit, X, financial news and Polymarket’s prediction markets, so the disagreement around a ticker is visible at a glance.

Core features
- TradingView charts: candlesticks, advanced charts, baseline and technical indicators are official TradingView embeds, and each stock page carries company profile and financials widgets.
- Cross-source sentiment: the per-stock sentiment card aggregates structured snapshots from Reddit, X, financial news and Polymarket through a third-party Adanos API. It needs its own key, is optional, and the market features work without it.
- Watchlist and search: every user’s watchlist lives in MongoDB, Command+K searches tickers from anywhere, and the market page has a heatmap, quotes and top stories.
- AI email pipeline: Gemini writes a personalized welcome email at sign-up, and an Inngest cron sends a news summary every Monday at 9 AM; the AI backend can be swapped to MiniMax or Siray.
- Docker deployment: the official compose file brings up the app and MongoDB 7 together with a persistent volume; without Docker, Node 20+ and
pnpm devwork too.
Typical use cases
- Individual investors who follow US stocks but don’t want a subscription: the free tier covers quotes, charts, the heatmap and news.
- TradingView users who also want a watchlist and email digests: one site you control holds quotes, picks and the AI summary.
- Developers looking for a full-stack Next.js 15 reference: Better Auth, MongoDB and Inngest workflows are all wired up, and the README documents every environment variable.
Quick start
Register a free API key at finnhub.io (free-tier quotes are delayed), put it in .env, then:
git clone https://github.com/Open-Dev-Society/OpenStock.git
cd OpenStock
# fill in your MongoDB URI and Finnhub key in .env
docker compose up -d mongodb && docker compose up -d --build
Open http://localhost:3000 for the dashboard: sign up, add tickers to your watchlist, turn on the sentiment card, and the news summary email arrives every Monday morning. Without Docker, pnpm install && pnpm dev gets you there too.
Summary
OpenStock fits people who want a clean market dashboard and don’t mind maintaining one. Active traders who need millisecond pushes should look elsewhere for now: the default cached mode refreshes quotes hourly, the 15-second real-time mode and email price alerts are locked behind a $5/month Cloud service that hasn’t launched yet, free-tier quotes for non-US stocks are delayed 15+ minutes, and TradingView’s free tier restricts emerging markets like India’s NSE. It’s AGPL-3.0, so if you modify it and offer it as a service, you must release your changes. Founder ravixalgorithm credits Adrian Hajdin’s JavaScript Mastery tutorial as the starting point; the project now covers 30+ exchanges and claims 13,000+ registered users. For quant research, see our earlier entry on Microsoft Qlib.