Skip to content

A light but powerful tool to extract the file structure and code of a project to Markdown for AI/LMs.

License

Notifications You must be signed in to change notification settings

xxraincandyxx/CodeScribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeScribe

A light-weight but powerful tool to extract the file structure and code of a project to Markdown for AI/LLMs prompts.

Overview

Instruction

For backend:

# Terminal 1
cd backend
pip install -r requirements.txt
python server.py  # runs on port 5172

For frontend:

# Terminal 2
cd frontend
npm install
npm run dev       # runs on port 5173

# Then open http://localhost:5173 in browser

or if you prefer static mode:

# Terminal 2
cd frontend
npm install
npm run build
npx serve dist -l 5173

# Then open http://localhost:5173 in browser

File Structure (Older Ver., Deprecated)

project-extractor/
├── app.py                   # Main Flask/Socket.IO application
├── core/
│   ├── __init__.py
│   └── extractor.py         # The core logic for file extraction and processing
├── static/
│   ├── css/
│   │   └── style.css        # Frontend stylesheet
│   └── js/
│       └── script.js        # Frontend JavaScript logic
├── templates/
│   └── index.html           # The main HTML page for the UI
├── .gitignore               # To ignore common Python artifacts
└── requirements.txt         # Python dependencies

About

A light but powerful tool to extract the file structure and code of a project to Markdown for AI/LMs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published