[UNTESTED] [nad33mahm3d/OpenAI-ResumeParser] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,184 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:8080/api/parse-resume?promptType=detailed
http://localhost:8080/api/
Source: https://github.com/nad33mahm3d/OpenAI-ResumeParser
# Resume Parser with OpenAI
A production-ready resume parser built with Go and OpenAI that extracts structured data from PDF, DOCX, and TXT files. Features a modern web interface with drag-and-drop upload and real-time parsing results.
## Features
- **Multiple File Formats**: Supports PDF, DOCX, and TXT files
- **Advanced PDF Processing**: Uses MuPDF (via go-fitz) for superior text extraction
- **OpenAI Integration**: Leverages GPT-3.5-turbo for intelligent parsing
- **Multiple Prompt Types**: Basic, detailed, and skills-focused parsing with UI selection
- **Interactive Frontend**: Modern Alpine.js UI with drag-and-drop upload and real-time results
- **Comprehensive Logging**: Detailed logging with structured output
- **Production Ready**: Docker containerization with Go backend
- **Security Features**: Input validation, secure file handling, environment variable configuration
- **Responsive Design**: Mobile-friendly interface with modern styling and improved touch targets
## Prerequisites
- Go 1.21 or higher
- OpenAI API key
- Docker (optional, for containerized deployment)
## Local Development Setup
### 1. Clone the Repository
```bash
git clone https://github.com/nad33mahm3d/OpenAI-ResumeParser.git
cd OpenAI-ResumeParser
```
### 2. Backend Setup
```bash
cd backend
go mod tidy
```
### 3. Environment Configuration
Create a `.env` file in the `backend` directory:
```env
OPENAI_API_KEY=your_openai_api_key_here
GIN_MODE=debug
```
### 4. Run the Backend
```bash
cd backend
go run main.go
```
The server will start on `http://localhost:8080`
### 5. Test the API
```bash
# Health check
curl http://localhost:8080/health
# Parse a resume
curl -X POST -F "file=@resume.pdf" "http://localhost:8080/api/parse-resume?promptType=detailed"
```
### 6. Frontend Development
For local development, you can serve the frontend with:
```bash
cd frontend
python -m http.server 3000
```
Then visit `http://localhost:3000` and update the API calls to point to `http://localho