Enhanced OpenRouter AI Resume Generator
A comprehensive resume generator with dynamic lists, profile photos, section toggles, and AI-powered content editing.
š New Features
Dynamic Lists Management
ā
Education : Course name, university, duration, SGPA/percentage
ā
Skills : Categorized skills (Technical, Soft, Languages, Other)
ā
Experience : Job role, organization, duration, description
ā
Projects : Name, technologies/languages, description
ā
Interests : Individual interest items
Profile Photo Management
ā
Upload profile photos (PNG, JPG, JPEG, GIF)
ā
Preview and remove functionality
ā
Toggle show/hide on resume
Section Control
ā
Show/hide toggles for all resume sections
ā
Professional summary toggle
ā
Dynamic section rendering
Inline Editing
ā
Click-to-edit AI-generated content
ā
Save, cancel, and regenerate options
ā
Real-time content updates
ā
No full regeneration needed
Enhanced UX
ā
Language selector for projects
ā
Improved form validation
ā
Better responsive design
ā
Enhanced error handling
š Quick Start
Install Dependencies
```bash
pip install -r requirements.txt
```
Run the Application
```bash
python run.py
```
Access the App
Configure OpenRouter API
š How to Use
Creating a Resume
Personal Information : Fill in basic details
Profile Photo : Upload and toggle visibility
Education : Add multiple education entries
Skills : Categorize your skills
Experience : Add work experience entries
Projects : Select technologies and describe projects
Interests : Add personal interests
Section Toggles : Choose which sections to show
Generate : Click to create AI-powered resume
Edit : Click on AI content to edit inline
Download : Save as PDF
Inline Editing
Click any highlighted AI-generated content
Edit directly in the preview
Use controls to:
Save : Keep your changes
Cancel : Discard changes
Regenerate AI : Get new AI content
Dynamic Lists
Use Add buttons to create new entries
Click Ć to remove items
All lists maintain at least one item
Form validates required fields
šØ Customization
Adding Languages for Projects
Edit the language tags in the JavaScript section of templates/index.html:
```javascript
YourLanguage
```
Custom Skill Categories
Modify the skill category options in the form:
```html
Your Category
\`\`\`
š§ Technical Details
Database Schema
templates : Resume templates with HTML/CSS
settings : Configuration including API keys
admin_users : Admin authentication
user_resumes : Draft resume storage (optional)
File Structure
```
āāā app.py # Main Flask application
āāā run.py # Application runner
āāā requirements.txt # Dependencies
āāā resume_generator.db # SQLite database
āāā templates/ # HTML templates
āāā static/
ā āāā profile_photos/ # Uploaded profile photos
ā āāā uploads/ # Other uploads
```
API Endpoints
POST /generate_resume - Generate resume with AI
POST /upload_profile_photo - Upload profile photo
POST /update_ai_content - Regenerate specific content
GET /get_templates - Fetch available templates
š”ļø Security Features
Password hashing for admin accounts
File type validation for uploads
SQL injection prevention
XSS protection
Session-based authentication
Secure file handling
š Troubleshooting
Common Issues
Photo Upload Fails
Check file size (max 16MB)
Ensure valid image format
Verify upload directory permissions
AI Content Not Generating
Verify OpenRouter API key
Check account balance
Ensure internet connection
Inline Editing Not Working
Check JavaScript console for errors
Ensure html2pdf.js is loaded
Try refreshing the page
š Performance
Optimized for large forms with many list items
Efficient AI API usage
Responsive design for all devices
Fast PDF generation
š¤ Contributing
Fork the repository
Create feature branch
Test all new features
Submit pull request
š License
MIT License - Free for personal and commercial use.
Enhanced with ā¤ļø for better resume creation experience!