Skip to content

pungys97/e2b_hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2B GPT Engineer

A tool that generates React applications from websites using AI with E2B sandboxes.

Project Structure

  • src/backend/: FastAPI backend service
    • main.py: Main FastAPI application
    • scraper.py: Website content extraction functionality
  • src/frontend/: React frontend
    • React components and application logic

Setup

Backend

  1. Install dependencies:
brew install uv
uv sync
source .venv/bin/activate
  1. Run the backend:
cd src/backend
python main.py

The backend will be available at http://localhost:8000.

Frontend

  1. Install dependencies:
brew install node@20
cd src/frontend
npm install
  1. Start the React development server:
npm start

The frontend will be available at http://localhost:3000.

Usage

  1. Enter a website URL in the input field
  2. Click "Generate React App"
  3. The application will analyze the website and generate a React app based on its content

Technologies

  • Backend: FastAPI, BeautifulSoup4, Python
  • Frontend: React
  • AI Integration: OpenAI
  • Sandboxes: E2B

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors