A web-based certificate generator application for creating participation certificates for AAKAR 2025 event participants. The application reads participant data from CSV and generates personalized certificates with proper team organization.
- CSV Data Processing: Automatically loads participant data from embedded CSV
- Team Organization: Groups participants by team ID and handles team relationships
- Multiple Event Support: Generates separate certificates for participants in multiple events
- Batch Certificate Generation: Creates certificates for all participants with progress tracking
- Flexible Download Options:
- Download team-wise ZIP files
- Download all certificates in a single ZIP file
- Template Support: Uses certificate template image or falls back to canvas generation
- Responsive Design: Modern, gradient-based UI with progress indicators
The application expects CSV data with the following columns:
ID: Participant/Team identifierName: Participant's full nameCollege: Institution nameEvents: Event name(s) - comma-separated for multiple events
- Participants with hyphenated IDs (e.g., "T001-1", "T001-2") are grouped under the same team
- The base team ID is extracted from before the hyphen
- Team leaders are identified as the first member or participants with non-hyphenated IDs
- Template Method: Uses
/certificate-template.pngas background with text overlays - Canvas Fallback: Generates certificates programmatically if template is unavailable
- Text Positioning:
- Participant name at position (380px, 455px)
- College name at position (70px, 515px)
- Event name at position (90px, 570px)
- Modern web browser with JavaScript enabled
- Certificate template image (optional, named
certificate-template.png)
- Save the HTML file to your web server or local directory
- Place the certificate template image in the same directory (optional)
- Update the CSV data in the
csvDatavariable within the script
ID,Name,College,Events
T001,John Doe,ABC College,Coding Competition
T002-1,Jane Smith,XYZ University,Web Design
T002-2,Bob Johnson,XYZ University,Web Design
T003,Alice Brown,DEF Institute,"Coding Competition,Web Design"
- Load Participants: Click "Load Participants" to process the CSV data
- Generate Certificates: Click "Generate All Certificates" to create certificate images
- Download Options:
- Download All Certificates: Downloads separate ZIP files for each team
- Download All as Single Zip: Downloads one ZIP file containing all certificates organized by team folders
project-directory/
├── index.html (main application file)
├── certificate-template.png (optional background image)
└── generated-certificates/
├── T001.zip
├── T002.zip
└── all_certificates.zip
- JSZip: For creating ZIP archives
- html2canvas: For converting HTML elements to images (with canvas fallback)
- JSZip 3.10.1 (loaded from CDN)
- html2canvas 1.4.1 (loaded from CDN)
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
- Dimensions: 1200px × 850px
- Format: PNG with transparent background support
- File name:
certificate-template.png - Location: Same directory as the HTML file
- Participant Name: Top: 455px, Left: 380px
- College Name: Top: 515px, Left: 70px
- Event Name: Top: 570px, Left: 90px
The application uses CSS custom properties and can be easily customized:
- Primary color:
#e91e63(Pink) - Secondary color:
#ad1457(Dark Pink) - Background gradient: Purple to Blue
Modify the CSS classes in the <style> section:
.name-overlay {
position: absolute;
top: 455px;
left: 380px;
/* ... other styles */
}Update the csvData constant in the JavaScript section with your participant data.
-
Certificate template not found
- Ensure
certificate-template.pngis in the same directory - Application will automatically fall back to canvas generation
- Ensure
-
Downloads not working
- Check browser popup blockers
- Ensure JavaScript is enabled
- Try using HTTPS instead of HTTP
-
Certificates not generating
- Verify CSV data format
- Check browser console for error messages
- Ensure all required columns are present
- "Certificate template image not found": Template image missing, using canvas fallback
- "No participants loaded": CSV data is empty or malformed
- "Error loading participants data": CSV parsing failed
- Generation time depends on the number of participants
- Large batches (100+ certificates) may take several minutes
- Progress bar shows real-time generation status
- Small delays between operations prevent browser freezing
This project is created for AAKAR 2025 event management. Modify and distribute as needed for educational purposes.
For technical issues or customization requests, refer to the inline code comments or contact the development team.