- Overview
- Features
- Preview
- Setup Instructions
- Installation
- Configuration
- Usage Guide
- Usage Examples
- Troubleshooting
- FAQs
- Contributing
- Changelog
- Acknowledgments
- Contact Information
- License
The KIIT Digital ID Card Builder is a web application that allows users to generate digital ID cards for students. It provides a user-friendly interface to input student details, upload a profile photo, and generate a printable ID card in PDF format.
- Form Input: Enter student details such as name, course, branch, roll number, etc.
- Profile Photo Upload: Upload a profile photo to be displayed on the ID card.
- Preview Mode: Preview the ID card before generating the final version.
- Progress Indicator: Track form completion with a progress bar.
- Save/Load Data: Save entered data to localStorage and load it later.
- Reset Form: Clear all entered data and reset the form.
- PDF Export: Export the ID card as a PDF for printing.
- Dark/Light Theme Toggle: Switch between dark and light themes for better user experience.
- Barcode Generation: Generate a barcode for the student's roll number.
-
Clone the Repository:
git clone https://github.com/bebedudu/generate-kiit-id-card cd kiit-id-card-builder
-
Open the Project:
- Open the
index.html
file in your web browser to start using the application.
- Open the
-
Dependencies:
- The project uses the following external libraries:
- html2canvas for capturing the card as an image.
- jsPDF for PDF generation.
- JsBarcode for barcode generation.
- The project uses the following external libraries:
- Ensure you have a modern web browser installed.
- No additional installation steps are required.
- The application can be configured by modifying the default values in the
script.js
file.
-
Enter Student Details:
- Fill in the required fields in the form.
- Upload a profile photo.
-
Preview the ID Card:
- Click the "Generate ID Card" button to see how the ID card will look.
-
Save Data:
- Click the "Save Data" button to store the entered data in the browser's localStorage.
-
Load Data:
- Click the "Load Data" button to retrieve previously saved data.
-
Reset Form:
- Click the "Reset Form" button to clear all entered data.
-
Export to PDF:
- Click the "Export PDF" button to generate a PDF of the ID card.
-
Toggle Theme:
- Use the "Toggle Dark/Light Theme" button to switch between dark and light themes.
- Example 1: Generate an ID card for a student named John Doe.
- Example 2: Save the ID card data and load it later.
- Issue: The barcode is not showing in the PDF.
- Solution: Ensure that the JsBarcode library is correctly included and that the roll number is valid.
- Q: Can I use this application offline?
- A: Yes, the application works offline as it uses localStorage for data storage.
Contributions are welcome! Please feel free to submit a Pull Request.
- Version 1.0.0: Initial release.
- Thanks to all contributors and the libraries used in this project.
- For support, please contact bibeksha48@gmail.com.
This project is licensed under the MIT License.