Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿค– ์‹œ๊ฐ์  ์›Œํฌํ”Œ๋กœ ๋นŒ๋”๋ฅผ ๊ฐ–์ถ˜ AI ๊ธฐ๋ฐ˜ ์›น ์Šคํฌ๋ž˜ํ•‘ ์—๋””ํ„ฐ์ž…๋‹ˆ๋‹ค. ์ž์—ฐ์–ด๋กœ ์›น ์Šคํฌ๋ž˜ํผ๋ฅผ ๊ตฌ์ถ•ํ•˜๊ณ  ํ…Œ์ŠคํŠธํ•˜๊ณ  ๋ฐฐํฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ScrapeGraphAI์™€ LangGraph๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ ๋ฐ ๋ถ„์„

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

What you can do

  • ๐Ÿค– AI-powered assistant using OpenRouter (Kimi-k2 model)
  • ๐Ÿ”— Multi-URL bulk scraping support
  • ๐Ÿ“‹ Dynamic schema definition with Pydantic
  • ๐Ÿ’ป Python code generation with async support

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

ScrapeCraft - AI-Powered Web Scraping Editor

ScrapeCraft is a web-based scraping editor similar to Cursor but specialized for web scraping. It uses AI assistance to help users build scraping pipelines with the ScrapeGraphAI API.

https://github.com/user-attachments/assets/defaf7ad-23da-40b7-82cd-3b2a4d1d22c9

API Banner

Features

  • ๐Ÿค– AI-powered assistant using OpenRouter (Kimi-k2 model)
  • ๐Ÿ”— Multi-URL bulk scraping support
  • ๐Ÿ“‹ Dynamic schema definition with Pydantic
  • ๐Ÿ’ป Python code generation with async support
  • ๐Ÿš€ Real-time WebSocket streaming
  • ๐Ÿ“Š Results visualization (table & JSON views)
  • ๐Ÿ”„ Auto-updating deployment with Watchtower

Tech Stack

  • Backend: FastAPI, LangGraph, ScrapeGraphAI
  • Frontend: React, TypeScript, Tailwind CSS
  • Database: PostgreSQL
  • Cache: Redis
  • Deployment: Docker, Docker Compose, Watchtower

Prerequisites

  • Docker and Docker Compose
  • OpenRouter API key (Get it from OpenRouter)
  • ScrapeGraphAI API key (Get it from ScrapeGraphAI)

Quick Start with Docker

  1. Clone the repository

    git clone https://github.com/ScrapeGraphAI/scrapecraft.git
    cd scrapecraft
    
  2. Set up environment variables

    cp .env.example .env
    

    Edit the .env file and add your API keys:

  3. Start the application with Docker

    docker compose up -d
    
  4. Access the application

  5. Stop the application

    docker compose down
    

Development Mode

If you want to run the application in development mode without Docker:

Backend Development

cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Frontend Development

cd frontend
npm install
npm start

Usage

  1. Create a Pipeline: Click "New Pipeline" to start
  2. Add URLs: Use the URL Manager to add websites to scrape
  3. Define Schema: Create fields for data extraction
  4. Generate Code: Ask the AI to generate scraping code
  5. Execute: Run the pipeline to scrape data
  6. Export Results: Download as JSON or CSV

Remote Updates

The application includes Watchtower for automatic updates:

  1. Push new Docker images to your registry
  2. Watchtower will automatically detect and update containers
  3. No manual intervention required

API Endpoints

  • POST /api/chat/message - Send message to AI assistant
  • GET /api/pipelines - List all pipelines
  • POST /api/pipelines - Create new pipeline
  • PUT /api/pipelines/{id} - Update pipeline
  • POST /api/pipelines/{id}/run - Execute pipeline
  • WS /ws/{pipeline_id} - WebSocket connection

Environment Variables

Variable Description How to Get
OPENROUTER_API_KEY Your OpenRouter API key Get API Key
SCRAPEGRAPH_API_KEY Your ScrapeGraphAI API key Get API Key
JWT_SECRET Secret key for JWT tokens Generate a random string
DATABASE_URL PostgreSQL connection string Auto-configured with Docker
REDIS_URL Redis connection string Auto-configured with Docker

License

MIT

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ