AI-powered stock & crypto analysis for Robinhood traders
Demo β’ Features β’ Installation β’ Backend Repo
π€ AI-Powered Insights
- GPT-4 market analysis via OpenRouter
- Real-time sentiment scoring from news sources
- Technical indicators and trend detection
π Live Market Data
- Stock prices from Alpha Vantage
- Cryptocurrency data from CoinGecko
- Breaking news via NewsAPI
π Secure by Design
- Google OAuth 2.0 authentication
- Token-based API authorization
- No browsing or trading data collected
β‘ Seamless Integration
- Works directly on Robinhood.com
- Auto-detects stock tickers
- Clean, non-intrusive overlay
# Clone the repository
git clone https://github.com/yourusername/stockly-extension.git
cd stockly-extension
# Install dependencies
npm install- Open
chrome://extensions/ - Enable Developer mode (top right)
- Click Load unpacked
- Select the
stockly-extensionfolder - Pin the extension and sign in with Google
Create a .env file using the template:
cp .env.example .envUpdate with your backend URL:
API_BASE_URL=https://your-backend.railway.app
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.comOn Robinhood:
- Navigate to any stock page (e.g.,
robinhood.com/stocks/AAPL) - Extension auto-detects the ticker
- Click the Analyze button
- View AI-generated insights
Anywhere else:
- Highlight a ticker symbol (e.g., "TSLA")
- Right-click β Analyze with Stockly
|
Frontend
|
Backend (repo)
|
APIs
|
ββββββββββββββββββββββββ
β Chrome Extension β
β content-script.js β
β popup.js β
ββββββββββββ¬ββββββββββββ
β
β POST /analyze
β POST /auth/google
βΌ
ββββββββββββββββββββββββ
β Express API β
β (Railway) β
ββββββββββββ¬ββββββββββββ
β
ββββΊ PostgreSQL
ββββΊ OpenRouter (AI)
ββββΊ Alpha Vantage
ββββΊ NewsAPI
ββββΊ CoinGecko
stockly-extension/
βββ manifest.json # Extension configuration
βββ content-script.js # Robinhood page integration
βββ popup.html # Extension popup UI
βββ popup.js # Popup logic
βββ popup.css # Styling
βββ Stockly_Logo.png # Brand assets
βββ stocklydemo.gif # Demo video
βββ .env.example # Config template
βββ stockly-landing/ # OAuth landing page
# Start the backend locally
cd stockly-backend
npm install
npm startUpdate API endpoint:
// In your config
const API_BASE_URL = 'http://localhost:8080';Reload extension:
- Go to
chrome://extensions/ - Click reload icon on Stockly
- Content script: Open DevTools on Robinhood page
- Service worker:
chrome://extensions/β Inspect views - Popup: Right-click extension icon β Inspect
// User authenticates with Google
const response = await fetch(`${API_BASE_URL}/auth/google`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ idToken: googleToken })
});
const { user } = await response.json();
// Store user.token for subsequent requests// Analyze a ticker
const response = await fetch(`${API_BASE_URL}/analyze`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
ticker: 'AAPL',
isCrypto: false,
token: userToken
})
});
const { result } = await response.json();
// result contains formatted HTML analysis- All requests authenticated via JWT tokens
- User credentials encrypted in PostgreSQL
- HTTPS-only communication
- Rate limiting on backend
- No sensitive data stored in extension
Permissions:
activeTab- Detect tickers on current pagestorage- Save auth tokens locallyidentity- Google OAuthhost_permissions- Inject UI on Robinhood
- Support for TD Ameritrade, E*TRADE
- Portfolio tracking dashboard
- Price alerts and notifications
- Options analysis with Greeks
- Historical performance charts
- Community sentiment integration
Contributions welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add feature') - Push to branch (
git push origin feature/amazing) - Open a Pull Request
MIT License - see LICENSE for details
Educational purposes only. Stockly is not financial advice. All investments carry risk of loss. Past performance does not guarantee future results. Consult qualified financial advisors before making investment decisions.
![]() Riad Benyamna Computer Science @ USM Graduating May 2027 π§ Email β’ πΌ LinkedIn β’ π» GitHub |
![]() Hossam Darwish π§ Email β’ πΌ LinkedIn β’ π» GitHub |
Built at USM β’ Powered by AI β’ Made for Traders
β Star this repo if you find it useful!


