Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

4 changes: 0 additions & 4 deletions .env.example

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env
.env*

# vercel
.vercel
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}
138 changes: 20 additions & 118 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,134 +1,36 @@
# 🎯 BullsEye
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

*"Making bad decisions faster with AI"*
## Getting Started

## What is BullsEye? 🤔

BullsEye is an open-source research chatbot that pretends to help you make better trading decisions. Because apparently, what the stock market really needed was another AI telling people when to buy high and sell low.

Built with the delusion that technology can solve human greed, this tool connects to Zerodha's Kite API and uses Groq's AI models to analyze your portfolio. Think of it as your digital *munimji* who never sleeps, never judges, and definitely won't steal from the cash drawer.

## Features That Actually Work 📈

- **Real-time Portfolio Analysis**: Watch your money disappear in high definition
- **AI-Powered Insights**: Get advice from machines that have never felt the pain of a margin call
- **Zerodha Kite Integration**: Because if you're going to lose money, do it through India's favorite broker
- **Modern UI**: Sleek interface to make your losses look aesthetic
- **Research Tools**: For when you want to feel scientific about your gambling addiction

## Tech Stack 🛠️

- **Next.js**: Because React wasn't complicated enough
- **Zerodha Kite API**: Your gateway to financial enlightenment (or bankruptcy)
- **Groq API**: AI that's faster than your portfolio's decline
- **TypeScript**: For when you want your code to be as type-safe as your investments aren't

## Prerequisites 📋

Before you begin this journey of self-discovery (and portfolio destruction), make sure you have:

- Node.js (preferably newer than your trading strategy)
- A Zerodha account (and the stomach for what's coming)
- Groq API key (free, unlike your trading education)
- Basic understanding of JavaScript (optional, just like risk management apparently)

## Installation 🚀
First, run the development server:

```bash
# Clone this repo (your first mistake)
git clone https://github.com/BullsEyeOrg/BullsEye.git

# Enter the danger zone
cd bullseye

# Install dependencies (and dependency on false hope)
npm install

# Set up environment variables
cp .env.example .env.local
```

## Environment Setup 🔧

Create a `.env.local` file with the following variables:

```env
KITE_API_KEY=your_kite_api_key
KITE_API_SECRET=your_kite_secret
GROQ_API_KEY=your_groq_api_key
NEXT_PUBLIC_APP_URL=http://localhost:3000
```

*Pro tip: Guard these keys like they're the last samosa at a corporate meeting - because unlike your trading strategy, these actually work*

## Getting Started 🏁

```bash
# Start the development server
npm run dev

# Open http://localhost:3000
# Prepare for enlightenment (or entertainment)
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

## How It Works 🧠

1. **Connect**: Link your Zerodha account (surrender your financial soul)
2. **Analyze**: AI processes your portfolio data (judges you silently)
3. **Chat**: Ask questions about your investments (receive existential crisis)
4. **Research**: Get insights based on market data (learn why you're wrong)
5. **Repeat**: Continue the cycle of hope and despair

## API Integration 🔌

BullsEye leverages:
- **Kite Connect API**: For real-time market data and portfolio information
- **Groq API**: For lightning-fast AI inference (faster than your money disappearing)
- **Next.js API Routes**: Because we needed more moving parts

## Contributing 🤝

Found a bug? Want to add a feature? Think you can make this tool actually profitable?

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Submit a pull request
5. Wait for review (like waiting for your stocks to recover)

## Disclaimer ⚠️

**IMPORTANT**: This tool is for research and educational purposes only. The AI's suggestions are about as reliable as a weather forecast.

- Past performance doesn't indicate future results
- Markets can remain irrational longer than you can remain solvent
- This tool won't make you the next Rakesh Jhunjhunwala
- Your mileage may vary (and probably will, downward)

*"Risk hai toh ishq hai"* - Every trader's last words

## License 📄

MIT License - Because even our legal framework should be open source.
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

Use this code freely, modify it wildly, and distribute it responsibly. Just don't blame us when your AI trading bot achieves consciousness and decides to short your entire portfolio.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

## Support 💬
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

Having issues? Join the club.
## Learn More

- Create an issue on GitHub
- Check existing discussions
- Remember: there are no stupid questions, only expensive ones
To learn more about Next.js, take a look at the following resources:

## Final Words 🎭
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

*"Yeh jo public hai, yeh sab jaanti hai"* - Naseeruddin Shah
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

The market knows everything, the AI knows patterns, but nobody knows when to actually buy or sell. BullsEye just makes the confusion more organized.
## Deploy on Vercel

Built with ❤️ and unrealistic expectations in India.
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

---

**Happy Trading! May your profits be high and your losses be tax-deductible** 📊🚀
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
176 changes: 0 additions & 176 deletions app/api/auth/route.ts

This file was deleted.

Loading