A full-stack application that summarizes articles using DeepSeek AI. Simply input an article URL, and get a concise summary powered by OpenRouter's DeepSeek model.
- Article URL input and validation
- AI-powered summarization using DeepSeek model via OpenRouter
- Clean, responsive UI built with React and Chakra UI
- FastAPI backend with error handling and CORS support
- React with TypeScript
- Vite for build tooling
- Chakra UI for components
- Axios for API calls
- FastAPI (Python)
- BeautifulSoup4 for article parsing
- OpenRouter API integration
- CORS middleware enabled
- Python 3.8+
- Node.js 14+
- OpenRouter 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- Create
.envfile:
OPENROUTER_API_KEY=your_openrouter_api_key_here
- Create a new React project with Vite:
cd frontend- Install required dependencies:
npm install- Create environment file
.env:
VITE_API_URL=you_api_url_here