OpenStock (Open-Dev-Society/OpenStock)

Searching Database…

What is this?OpenStock is an open-source, self-hosted stock market tracking app: track real-time prices, set personalized alerts, and explore company insights as a free alternative to paid market platforms.
Is this a hosted service or something I run myself?It's a self-hosted web app you deploy yourself, built with Next.js (App Router), shadcn/ui, and MongoDB, with TradingView widgets for charts and market views. There's no managed hosted version — it's community-built and not a brokerage.
How do I get it running?Clone the repo, create a .env file with your API keys, then run the Next.js dev server with pnpm/npm, or spin up the whole stack (app + MongoDB) with Docker Compose using docker-compose up.
What do I need before I can run it?Node.js 20+, a MongoDB connection (Atlas or local via Docker), a Finnhub API key for market data, and a Gmail account for sending emails; a Google Gemini API key is optional for AI-personalized welcome emails.
Do I get real-time data for every market?No — Finnhub and TradingView free tiers have limits: real-time data for non-US stocks is delayed by 15+ minutes, and some emerging markets (India NSE, Vietnam, etc.) have TradingView restrictions.
What's the catch with the AGPL-3.0 license?If you modify, redistribute, or deploy OpenStock (including as a web service), you must release your source code under the same AGPL-3.0 license and credit the original authors.
What stock exchanges does it support?Over 30 international exchanges via Finnhub, including NSE, LSE, and TSX, though free-tier restrictions apply to some emerging markets.
What AI features does it have?It uses Google Gemini (triggered through Inngest) to generate AI-personalized welcome emails and daily watchlist-based news summary emails on a cron schedule.
Does it include sentiment analysis?Yes, as an optional feature it shows cross-source sentiment insights from Reddit, X.com, news, and Polymarket on stock detail pages, alongside the core Finnhub/TradingView data.
What happens during onboarding?New users are asked for their country, investment goals, risk tolerance, and preferred industry so the app can personalize emails and recommendations.
Size
3.5 MB
Stars
22.4K
Age
1y
Commits · 90 Days