Open SourceOption Hub
    Trading tools

    Option Hub.

    India's most comprehensive open-source Options & Futures analytics terminal for NSE F&O. Runs locally on your machine with a React frontend on port 4001 and an Express proxy on port 4002 that relays data from Dhan, NSE, TradingView, and Yahoo Finance with automatic failover, caching, and WebSocket support.

    What you get

    • Dashboard (/)
    • Option Chain (/option-chain)
    • OI Analysis (/oi-analysis)
    • Strategy Builder (/strategy-builder)
    Run it

    Run it on your computer.

    Copy, paste, open the link. Nothing is installed outside the project folder.

    Setup stepsShow
    1. 1Install Node.js v18+ LTS from nodejs.org.
    2. 2Clone: git clone https://github.com/MrChartist/india-s-best-option-hub.git && cd india-s-best-option-hub
    3. 3Install: npm install (wait ~1-2 minutes on first install).
    4. 4Start both servers: npm run dev — this launches Vite on :4001 and proxy on :4002 simultaneously.
    5. 5Open http://localhost:4001 — live data populates automatically during market hours (Mon–Fri, 9:15 AM–3:30 PM IST).
    6. 6(Optional) For premium data: copy .env.example to .env, add DHAN_CLIENT_ID and DHAN_ACCESS_TOKEN from dhan.co, restart with npm run dev.
    7. 7(Optional) Add other broker keys via the /broker-settings page UI — stored in browser localStorage only.
    Install with AI

    Let an AI install it for you.

    Pick your tool, copy one prompt, paste it. It checks your computer, installs and tells you what to open.

    Claude

    Best when you want architecture explanation, codebase understanding, and a clean implementation plan before edits.

    Repo accessREADME contextTerminal if using Claude Code

    How to use: Paste the prompt with the GitHub link. Ask Claude to read the README, map modules, list risks, and produce a practical plan before using Claude Code or another agent to implement.

    Best Next Step

    Run npm run dev, open localhost:4001 during market hours to see live data, then ask an AI to map the proxy-server.mjs data flow before customizing any widget.

    Frequently Asked Questions

    Questions about Option Hub.

    Answers about how Option Hub works, where its data comes from, and how to run it yourself.