{"id":28061218,"url":"https://github.com/paulmagadi/github-business-card-generator","last_synced_at":"2026-05-19T19:13:41.731Z","repository":{"id":292183464,"uuid":"980072924","full_name":"paulmagadi/GitHub-Business-Card-Generator","owner":"paulmagadi","description":"A lightweight web app that lets you generate a stylish business card from any GitHub username or profile URL. You can download the card as a PDF , PNG or share it directly along with the GitHub link. Includes dark mode support!","archived":false,"fork":false,"pushed_at":"2025-05-08T14:35:56.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T10:07:05.727Z","etag":null,"topics":["css3","github-rest-v3","html2canvas","html5","javascript","jspdf","qrcode-api","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://paulmagadi.github.io/GitHub-Business-Card-Generator/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulmagadi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-08T14:16:19.000Z","updated_at":"2025-05-08T14:39:47.000Z","dependencies_parsed_at":"2025-05-08T15:47:50.724Z","dependency_job_id":null,"html_url":"https://github.com/paulmagadi/GitHub-Business-Card-Generator","commit_stats":null,"previous_names":["paulmagadi/github-business-card-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paulmagadi/GitHub-Business-Card-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulmagadi%2FGitHub-Business-Card-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulmagadi%2FGitHub-Business-Card-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulmagadi%2FGitHub-Business-Card-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulmagadi%2FGitHub-Business-Card-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulmagadi","download_url":"https://codeload.github.com/paulmagadi/GitHub-Business-Card-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulmagadi%2FGitHub-Business-Card-Generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048565,"owners_count":23868741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css3","github-rest-v3","html2canvas","html5","javascript","jspdf","qrcode-api","vanilla-javascript"],"created_at":"2025-05-12T09:53:13.379Z","updated_at":"2026-05-19T19:13:41.696Z","avatar_url":"https://github.com/paulmagadi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Business Card Generator 🧑‍💻\n\nA lightweight web app that lets you generate a stylish business card from any GitHub username or profile URL. You can download the card as a PDF , PNG or share it directly along with the GitHub link. Includes dark mode support!\n\n![Preview](preview.png)\n\n---\n\n## 🚀 Features\n\n- 🔍 Fetch GitHub profile data (name, avatar, bio, stats, etc.)\n- 📦 Calculate total public repositories and stars\n- 🌐 Generate a QR code linking to the GitHub profile\n- 📄 Download the business card as a PDF (via [jsPDF](https://github.com/parallax/jsPDF))\n- 📄 Download the business card as a png (via [html2canvas](https://github.com/niklasvh/html2canvas))\n- 📤 Share the card image + GitHub link (via Web Share API)\n- 🌙 Toggle between Light and Dark mode\n- 📱 Mobile-friendly layout\n\n---\n\n## 🔧 How It Works\n\n1. Enter a GitHub username or full profile URL.\n2. Click **Generate Card**.\n3. The app fetches profile data using the GitHub REST API.\n4. A visually styled business card is rendered.\n5. You can:\n   - Click **Download PDF** or Click **Download PNG** to save it.\n   - Click **Share** to send the card image and link.\n   - Toggle between light/dark mode.\n\n---\n\n## 🛠️ Tech Stack\n\n- Vanilla JavaScript (ES6)\n- HTML5 + CSS3\n- [GitHub REST API](https://docs.github.com/en/rest)\n- [jsPDF](https://github.com/parallax/jsPDF)\n- [html2canvas](https://github.com/niklasvh/html2canvas)\n- [QR Server API](https://goqr.me/api/)\n\n---\n\n## 📷 Screenshots\n\n| Light Mode | Dark Mode |\n|------------|-----------|\n| ![light](screenshots/light.png) | ![dark](screenshots/dark.png) |\n\n---\n\n## 📂 Project Structure\n\n```\n📁 github-business-card/\n├── index.html # Main web page\n├── style.css # Embedded CSS styles\n├── script.js # JavaScript logic (if separated)\n├── preview.png # Preview image for README\n└── README.md # You're here!\n```\n\n\n---\n\n## 📦 Installation\n\nNo installation required! Just open the `index.html` in your browser.\n\n---\n\n## Deploy it with GitHub Pages:\n\n```bash\ngit clone https://github.com/paulmagadi/github-business-card-generator.git\ncd github-business-card\n```\nThen open index.html or host it.\n\n---\n\n## 📤 Share and Download Limitations\nSharing uses the Web Share API, which is supported on most modern mobile browsers.\n\nIf unsupported, the image is automatically downloaded instead.\n\n---\n\n## 🔒 Privacy \u0026 Limitations\nThe app only fetches public GitHub profile and repository data.\n\nGitHub API rate limits may apply for unauthenticated requests (60/hour).\n\n---\n\n## 📃 License\nMIT License. Use freely, modify, and share!\n\n## 🙋‍♂️ Author\n**Paul Magadi**\n💼 LinkedIn\n📂 Portfolio\n💻 GitHub\n\n## ⭐️ Support\nIf you find this useful, star the repo and share it with fellow devs!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulmagadi%2Fgithub-business-card-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulmagadi%2Fgithub-business-card-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulmagadi%2Fgithub-business-card-generator/lists"}