{"id":19223773,"url":"https://github.com/coldcard/coldcard-paper-wallet-templator","last_synced_at":"2025-05-13T10:49:44.823Z","repository":{"id":91672996,"uuid":"208125620","full_name":"Coldcard/coldcard-paper-wallet-templator","owner":"Coldcard","description":"Convert PDF template files into specialized PDF files the Coldcard can use to construct paper wallets","archived":false,"fork":false,"pushed_at":"2019-11-25T15:37:52.000Z","size":892,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-20T23:32:48.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Coldcard.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":"2019-09-12T19:04:08.000Z","updated_at":"2023-12-31T20:07:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"80bba11b-7a03-4e6c-a195-9eaabc920523","html_url":"https://github.com/Coldcard/coldcard-paper-wallet-templator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coldcard%2Fcoldcard-paper-wallet-templator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coldcard%2Fcoldcard-paper-wallet-templator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coldcard%2Fcoldcard-paper-wallet-templator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coldcard%2Fcoldcard-paper-wallet-templator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coldcard","download_url":"https://codeload.github.com/Coldcard/coldcard-paper-wallet-templator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253928431,"owners_count":21985793,"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":[],"created_at":"2024-11-09T15:09:30.938Z","updated_at":"2025-05-13T10:49:44.807Z","avatar_url":"https://github.com/Coldcard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Templator for Coldcard Paper Wallets\n\nJust looking for some cool paper wallet templates? Go to [outputs subdir](outputs) \nand take any of the PDF files for use on Coldcard. You can view them with normal\nPDF programs, but they have been specially prepared for editing by the Coldcard.\n\n# How It Works\n\n- an artist creates the PDF with background artwork, blank spots for QR's\n- locations for pubkey, privkey QR's and any text blocks are defined mm by mm, in `build.py`\n- run `build.py` to add placeholders objects for the 2 QR codes, related variable text\n- a template file--which looks and acts like a PDF---is constructed, in `./outputs`\n- use the resulting (pdf) file on Coldcard via a MicroSD card\n- the Coldcard can find what it needs inside the PDF template and will modify it with final values\n\n## Design Tips\n\n- you must include whitespace around the QR code: more the better, and should be fully 'quiet'\n- QR will have background white with black pixels ... so do not place over gradient\n\n# TODO\n\nThis project isn't done yet!\n- [ ] make it easier to add new templates; pull meta data out of `build.py` into other files\n- [ ] build a gallery of useful examples\n- [ ] make many seasonal templates, starting with Nov/Dec holidays\n\n# References\n\n- [PDF 1.3?](https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf)\n- [PDF 1.7?](https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf)\n\n- [ReportLab manual](https://www.reportlab.com/docs/reportlab-userguide.pdf)\n\n# QR Sample images\n\n- Made a zero-border verion 4 image here: \u003chttps://www.nayuki.io/page/qr-code-generator-library\u003e\n- With 8 pixels per module, like we will be doing.\n- Edited with Preview.app\n- Command to go from PNG with alpha and some text into simple PNM file:\n\n    `pngtopam -mix -background=#FFF qrsample-pk.png | pamditherbw -threshold | pamtopnm \u003e qrsample-pk.pnm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldcard%2Fcoldcard-paper-wallet-templator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldcard%2Fcoldcard-paper-wallet-templator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldcard%2Fcoldcard-paper-wallet-templator/lists"}