Scrapify is a powerful web application that allows users to scrape text content from any website, summarize the extracted text, and chat with an AI using advanced language models. Whether you're conducting research, analyzing content, or just curious, Scrapify has you covered!
✅ Web Scraping - Extracts meaningful text from any webpage effortlessly.
✅ AI-Powered Summarization - Generates concise and insightful summaries.
✅ Smart AI Chatbot - Engage in intelligent conversations with contextual awareness.
✅ Model Selection - Switch between Gemma2 💎 and Mixtral 🚀 for different AI experiences.
- Flask - Backend framework
- BeautifulSoup - Web scraping
- Groq API - AI model integration
- JavaScript, HTML, CSS - Frontend development
🔹 Python 3.x
🔹 Pip
1️⃣ Clone the repository:
git clone https://github.com/your-repo/scrapify.git
cd scrapify2️⃣ Install dependencies:
pip install -r requirements.txt3️⃣ Run the application:
python app.py4️⃣ Open in browser:
http://127.0.0.1:5000/
GET /
Serves the frontend UI.
POST /scrape
- Request:
{ "url": "<website_url>" } - Response:
{ "scraped_text": "Extracted text from the website", "summary": "Summarized text output" }
POST /chat
- Request:
{ "message": "User's input", "context": "Scraped content summary" } - Response:
{ "response": "AI-generated reply" }
POST /select_model
- Request:
{ "model": "Gemma2 💎" | "Mixtral 🚀" } - Response:
{ "message": "Model changed to <selected_model>" }
1️⃣ Enter a URL and click Scrape and Summarize.
2️⃣ View the extracted text and its summary.
3️⃣ Use the chatbox to interact with the AI assistant.
4️⃣ Select a different AI model for a varied experience.