An AI-powered astrology platform built with FastAPI and Google Gemini API.
It generates personalized Vedic astrology predictions based on birth details.
- Horoscope predictions using Google Gemini API
- REST API backend powered by FastAPI
- In-memory caching for repeated queries
- Modular design for future integration with mobile/web clients
- Backend: FastAPI
- AI/LLM: Google Gemini API
- Language: Python 3.10+
- Server: Uvicorn
- Backend: FastAPI (folder:
backend/) - Frontend: React (folder:
frontend/)
git clone https://github.com/ntrivedi30/astro-genai-app.git cd astro-genai-app cd backend python -m venv .venv source .venv/bin/activate # On Linux/Mac .venv\Scripts\activate # On Windows pip install -r requirements.txt uvicorn app.main:app --reload cd frontend npm install npm run dev
This project uses the following APIs and services:
- Google Gemini → AI-powered astrology predictions
- Nominatim (OpenStreetMap) → City name to latitude/longitude conversion
- Jyotisham Astro API → Kundali/horoscope planetary data
Special thanks to the open-source community 🌍
