|
| 1 | +--- |
| 2 | +title: StarPlex |
| 3 | +description: An AI-powered startup intelligence platform that helps entrepreneurs validate their business ideas and find the right resources to succeed. |
| 4 | +sidebar_position: 1 |
| 5 | +keywords: [startup, AI, business ideas, Perplexity, Sonar Pro, 3D globe, market validation, competitor research] |
| 6 | +--- |
| 7 | + |
| 8 | +# StarPlex |
| 9 | + |
| 10 | +StarPlex is an AI-powered startup intelligence platform designed to help entrepreneurs validate their business ideas and connect with the resources they need to succeed. Powered primarily by Perplexity Sonar Grounded LLM, it features an interactive 3D globe as its main UI. Simply enter your startup idea, and watch as the AI engine analyzes and visualizes insights directly on the globe—mapping out competitors, markets, demographics, VCs, and potential co-founders across the world in real-time. |
| 11 | + |
| 12 | +## Features |
| 13 | + |
| 14 | +- **Market Validation**: Analyzes if there's a need for the startup, market capitalization, geographic usage, historical growth, and projected growth. |
| 15 | +- **Competitor Research**: Identifies similar startups through an interactive map filter. |
| 16 | +- **Demographic Research**: Maps where the target market is located. |
| 17 | +- **VC & Co-Founder Discovery**: Helps find the best-fit VC and potential co-founders with interactive map filters. |
| 18 | +- **Interactive 3D Globe**: Visualizes all data and insights on an interactive globe. |
| 19 | +- **Slide Deck Generation**: Automatically generates a pitch deck based on the analysis. |
| 20 | +- **RAG Context-Aware Chatbot**: A chatbot that understands the user's business and data. |
| 21 | + |
| 22 | +## Prerequisites |
| 23 | + |
| 24 | +- Node.js (v18 or higher) |
| 25 | +- Python 3.8+ |
| 26 | +- Perplexity API Key |
| 27 | +- Mapbox Token |
| 28 | +- SERP API Key |
| 29 | + |
| 30 | +## Installation |
| 31 | + |
| 32 | +1. **Clone the repository:** |
| 33 | + ```bash |
| 34 | + git clone https://github.com/JerryWu0430/StarPlex.git |
| 35 | + cd StarPlex |
| 36 | + ``` |
| 37 | + |
| 38 | +2. **Backend Setup:** |
| 39 | + ```bash |
| 40 | + cd backend |
| 41 | + pip install -r requirements.txt |
| 42 | + ``` |
| 43 | + Create a `.env` file and add your API keys: |
| 44 | + ``` |
| 45 | + PERPLEXITY_API_KEY=your_api_key_here |
| 46 | + MAPBOX_TOKEN=your_api_key_here |
| 47 | + SERPAPI_KEY=your_api_key_here |
| 48 | + ``` |
| 49 | + Then run the backend server: |
| 50 | + ```bash |
| 51 | + python3 main.py |
| 52 | + ``` |
| 53 | + |
| 54 | +3. **Frontend Setup:** |
| 55 | + ```bash |
| 56 | + cd frontend |
| 57 | + npm i |
| 58 | + npm run dev |
| 59 | + ``` |
| 60 | + |
| 61 | +## Usage |
| 62 | + |
| 63 | +Once both the backend and frontend servers are running, open `http://localhost:3000` in your browser. Enter your startup idea in the input field to begin the analysis. Use the interactive globe and map filters to explore the generated data on market trends, competitors, and more. |
| 64 | + |
| 65 | +## Code Explanation |
| 66 | + |
| 67 | +StarPlex leverages the Perplexity API (primarily the Sonar Pro model) as its core intelligence engine. The backend, built with Python and FastAPI, handles requests for AI-powered analysis. It features a centralized client for Perplexity that includes caching to optimize API usage and structured prompts for reliable JSON outputs. |
| 68 | + |
| 69 | +The frontend is built with Next.js and uses Cobe for the 3D globe visualization and Mapbox GL for interactive maps. |
| 70 | + |
| 71 | +### Example Perplexity API Usage |
| 72 | + |
| 73 | +```python |
| 74 | +from perplexity import Perplexity |
| 75 | + |
| 76 | +client = Perplexity() |
| 77 | +response = client.chat.completions.create( |
| 78 | + model="sonar", |
| 79 | + messages=[ |
| 80 | + {"role": "system", "content": "You are a market analysis expert..."}, |
| 81 | + {"role": "user", "content": "Analyze the market for [startup idea]"} |
| 82 | + ], |
| 83 | + temperature=0.7 |
| 84 | +) |
| 85 | +``` |
| 86 | + |
| 87 | +## Links |
| 88 | + |
| 89 | +- [GitHub Repository](https://github.com/JerryWu0430/StarPlex) |
| 90 | +- [Devpost Submission](https://devpost.com/software/starplex) |
| 91 | +- [Live Demo](https://www.youtube.com/watch?v=iusCyDNzY60) |
| 92 | +- [Website](https://starplex.app) |
0 commit comments