AI-Powered Context Assistant for GitHub, LinkedIn, and Notion Integration
Contexa is an intelligent assistant that analyzes and provides insights from your GitHub repositories, LinkedIn profile, and Notion pages using advanced AI capabilities. Built with React, FastAPI, and Google's Generative AI.
- Multi-Platform Integration: Connect GitHub, LinkedIn, and Notion accounts
- AI-Powered Analysis: Leverage Google's Generative AI for intelligent content analysis
- Interactive Chat Interface: Ask questions about your connected data sources
- Real-time Search: FAISS-powered vector search for fast information retrieval
- Modern UI: Beautiful, responsive interface built with React and Tailwind CSS
- Secure Authentication: Firebase-based user authentication and data management
- React 19 with Vite for fast development
- Tailwind CSS for modern styling
- Heroicons and React Icons for UI elements
- Axios for API communication
- React Markdown for rich text rendering
- FastAPI for high-performance API
- LangChain for AI orchestration
- Google Generative AI for content analysis
- FAISS for vector similarity search
- Firebase Admin for authentication
- Notion Client for Notion integration
- PyGithub for GitHub API integration
- Python 3.8+
- Node.js 16+
- Firebase project with credentials
- Google AI API key
-
Navigate to backend directory
cd backend -
Create and activate virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Configure environment variables Create a
.envfile in the backend directory:GOOGLE_API_KEY=your_google_ai_api_key FIREBASE_CREDENTIALS_PATH=./FireBase_Config.json
-
Add Firebase credentials Place your
FireBase_Config.jsonfile in the backend directory -
Run the server
uvicorn app.main:app --reload
-
Navigate to frontend directory
cd frontend -
Install dependencies
npm install
-
Start development server
npm run dev
-
Build for production
npm run build
Contexa/
├── README.md
├── .gitignore
├── backend/
│ ├── app/
│ │ ├── main.py # FastAPI application entry point
│ │ ├── routes/ # API route handlers
│ │ │ ├── ai_routes.py # AI processing endpoints
│ │ │ ├── chat_routes.py # Chat functionality
│ │ │ └── github_routes.py # GitHub integration
│ │ └── utils/ # Utility modules
│ │ ├── ai_utils.py # AI processing utilities
│ │ ├── firebase_utils.py # Firebase operations
│ │ ├── github_service.py # GitHub API service
│ │ └── notion_utils.py # Notion API service
│ ├── requirements.txt
│ └── README.md
└── frontend/
├── src/
│ ├── App.jsx # Main React component
│ ├── main.jsx # React entry point
│ └── index.css # Global styles
├── package.json
└── README.md
POST /api/analyze- Analyze content using AIPOST /api/chat- Interactive chat functionality
POST /api/github/analyze- Analyze GitHub repositoriesGET /api/github/repos- Fetch user repositories
POST /api/multi-agent-chat- Multi-agent conversationGET /api/chat-history- Retrieve chat history
- Environment variable configuration for sensitive data
- Firebase authentication integration
- Secure token management
- CORS configuration for cross-origin requests
- Input validation and sanitization
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google's Generative AI for powerful content analysis
- LangChain for AI orchestration capabilities
- FastAPI for the robust backend framework
- React team for the excellent frontend library
For questions, suggestions, or collaboration opportunities, feel free to reach out!
Built with ❤️ for intelligent context management