-
Notifications
You must be signed in to change notification settings - Fork 0
Home
BASIL LAL edited this page May 30, 2026
·
1 revision
Cardify is a JavaFX desktop app that converts an HTML template + Excel data into printable cards.
- Template-based card generation
- Image & QR support
- Excel import/export
- Preview & print
- Java 11+
- Maven
- JavaFX setup
mvn clean install- Open app → Template tab
- Upload HTML template (
{{placeholders}}) - Download Excel template
- Fill data (1 row = 1 card)
- Upload Excel
- Preview → Print
- Data Section
* Template and excel section
* "How to use" Section
* Dark Mode
- Upload HTML template
- Download Excel template
- Save templates
- Upload Excel
- View & filter rows
- Select rows
- Template Preview
- Row Preview
- Print Selected Rows
{{name}}
{{photo}}<img src="{{photo}}">Use names like:
qr_code
employee_qr
- Use fixed CSS sizes
- Test preview before printing
- Prefer local image paths
| name | department | photo | qr_code |
- Text → normal values
- Image → file path
- QR → text
UI → Controller → Services → Utilities
- MainApp.java → entry
- MainController.java → UI
- Services → template, excel, print
- Model → SpreadsheetRow
Template → Excel → Parse → Render → Preview/Print
controller/
service/
model/
util/
- Import as Maven project
- Configure JavaFX
- Keep services separate
- Avoid UI logic in services
- Add unit tests
- Detect placeholders
- Render HTML
- Handle images & QR
- Create template
- Read Excel
- Export data
- Print cards
- Images not showing → check file path
- QR not working → use
qr_in name - Layout issues → fix CSS size
- Re-upload template
- Use preview before print
- Fork repo
- Create branch
- Submit PR
- Tests added
- Build passes
- Docs updated
- v0.1.0 → Initial release
- v0.1.1 → QR & image improvements
Add your license here (MIT / etc.)
Add:
- Screenshots (UI, preview)
- Sample HTML template
- Sample Excel files