Skip to content

Conversation

@dricazenck
Copy link
Contributor

@dricazenck dricazenck commented Jan 5, 2026

Description

Add comprehensive certificate generation system:

  • Update Python script for generating certificates (PPTX/PDF)
  • QR code generation and embedding
  • Certificate registry for verification
  • Support different certificate types, for example: (mentee, mentor, volunteer, leader and etc)
  • Public verification page

Screenshots:

  • Invalid Certificate
image
  • Valid Certificate
image

Features:

  • Unique certificate IDs (SHA256-based)
  • QR codes linking to verification page
  • JSON-based certificate registry
  • Template-based certificate generation
  • Duplicate detection
  • WCAG-compliant verification UI

dricazenck and others added 2 commits January 4, 2026 23:47
Add comprehensive certificate generation system:

- Python script for generating certificates (PPTX/PDF)
- QR code generation and embedding
- Certificate registry for verification
- Support for 4 certificate types (mentee, mentor, volunteer, leader)
- Public verification page (verify.html)
- Comprehensive test suite with 50+ test cases
- Documentation and usage guides

Features:
- Unique certificate IDs (SHA256-based)
- QR codes linking to verification page
- JSON-based certificate registry
- Template-based certificate generation
- Duplicate detection
- WCAG-compliant verification UI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update certificate automation to preserve all formatting from templates
and make QR code position configurable in centimeters.

Changes:
- Preserve all text formatting (font, size, color, bold, italic, underline) from template placeholder
- Remove font_name and font_size from config (now auto-preserved from template)
- Add configurable QR code position in centimeters (qr_left_cm, qr_top_cm, qr_width_cm, qr_height_cm)
- Update README with new configuration options and formatting explanation
- Update all tests to match new function signatures (45 tests passing)

Benefits:
- Simpler configuration - style placeholder text in PowerPoint, formatting auto-applies
- Flexible QR positioning - precise placement using centimeters
- Cleaner config files - only essential parameters needed
@dricazenck dricazenck requested a review from a team as a code owner January 5, 2026 13:42
@Sowmiya07 Sowmiya07 self-requested a review January 5, 2026 13:50
@Sowmiya07
Copy link
Contributor

Sowmiya07 commented Jan 5, 2026

@dricazenck Will the registry json file be persisted across deployments?

@dricazenck
Copy link
Contributor Author

@dricazenck Will the registry json file be persisted across deployments?

The idea is we persist that file to be validated yes. If you run locally you can check the output
I will update the description and you can see how it is going to work. But probably I will move to _data folder where it is now other information.

…tools directory

- Install certificate_automation/requirements.txt for qrcode and other dependencies
- Run pytest from tools directory to fix module import paths
- Exclude build directories (_site, .venv, myenv) from test collection
- Fixes GitHub Actions test failures with ModuleNotFoundError
- Export PYTHONPATH to include tools directory
- Allows tests to import modules like file_utils, meetup_import, etc.
@dricazenck dricazenck self-assigned this Jan 5, 2026
dricazenck and others added 3 commits January 5, 2026 20:53
- Update verify.js to fetch from _data/certificates_registry.json
- Add publish_registry.py script to merge and publish certificates
- Update README with publishing workflow documentation
- Add unit tests for verify.js (11 passing tests)
- Add unit tests for publish_registry.py (9 passing tests)
- Publish certificate registry to _data for website verification
- Clean up excessive comments for better code readability
… methods

- Replace deprecated .click() and .keypress() with .on() event binding
- Change keypress event to keydown for better browser compatibility
- Extract handleEnterKeyPress function for better code organization
- Remove code smell comments and use self-documenting variable names (isOnVerifyPage, isEnterKey)
- Update tests to use .trigger() instead of deprecated .click()
- All tests passing (12/12)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@dricazenck dricazenck force-pushed the certificate-qr-verification branch from c462f39 to bb24e46 Compare January 6, 2026 21:13
@dricazenck dricazenck merged commit 50b9120 into Women-Coding-Community:main Jan 6, 2026
2 checks passed
@dricazenck dricazenck deleted the certificate-qr-verification branch January 6, 2026 21:17
@dricazenck dricazenck restored the certificate-qr-verification branch January 6, 2026 21:19
@dricazenck dricazenck deleted the certificate-qr-verification branch January 6, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants