A single-file static web app for managing and sharing contact information via QR codes. No build step, no server, works offline after first load.
Deployed via GitHub Pages: https://rorpage.github.io/digital-business-card/
- Edit mode - input cards for name, company name, email, phone, personal website, company website, LinkedIn, and GitHub; all fields saved to
localStorageon every keystroke - QR mode - the first QR is a Contact Card (vCard 3.0) encoding all filled fields; subsequent QRs are one per field; navigable with arrow buttons or keyboard arrow keys; position counter (e.g. "2 of 6"); each QR downloadable as a PNG
- Smart URI prefixing -
mailto:for email,tel:for phone, URLs passed through as-is; company website is listed first in the vCard for broadest Android compatibility - JSON export - "Export JSON" button downloads all contact fields as a
.jsonfile - Theme color picker - recolors the header and all interactive elements via CSS custom properties; default color is
#507c9b - Header logo - upload an image file or paste an HTTPS URL
The site is deployed automatically to GitHub Pages on every push to main via the workflow at .github/workflows/deploy.yml.
To enable GitHub Pages for a fork:
- Go to Settings > Pages in your repository.
- Under Source, select GitHub Actions.
- Push to
main(or trigger the workflow manually) to deploy.