{"id":13666796,"url":"https://github.com/leesalminen/bulk-boltcards","last_synced_at":"2026-01-25T07:44:39.347Z","repository":{"id":57448148,"uuid":"527050132","full_name":"leesalminen/bulk-boltcards","owner":"leesalminen","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-31T02:45:06.000Z","size":34235,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-11T01:35:17.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leesalminen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-20T22:08:28.000Z","updated_at":"2023-09-17T17:10:34.000Z","dependencies_parsed_at":"2023-01-20T19:15:54.391Z","dependency_job_id":null,"html_url":"https://github.com/leesalminen/bulk-boltcards","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/leesalminen%2Fbulk-boltcards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesalminen%2Fbulk-boltcards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesalminen%2Fbulk-boltcards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesalminen%2Fbulk-boltcards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leesalminen","download_url":"https://codeload.github.com/leesalminen/bulk-boltcards/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250986556,"owners_count":21518536,"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-08-02T06:01:25.325Z","updated_at":"2026-01-25T07:44:39.341Z","avatar_url":"https://github.com/leesalminen.png","language":"PHP","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Bulk Boltcards\n\n![Example Output](https://github.com/leesalminen/bulk-boltcards/raw/main/img/example_output.png \"example output\")\n\n## To run\n\nFirst, install pre-requisites:\n\nDebian 10\n\n```\nsudo apt install chromium curl php php-gmp php-mbstring php-gd php-curl libcurl4-openssl-dev git flock\n```\n\nUbuntu\nIf you need to downgrade from php 8.1 to 7.4 follow this [tutorial](https://thecodebeast.com/downgrade-php-8-0-to-7-4-ubuntu-digital-ocean/) and install this extra dependencies later\n\n\n```\nsudo apt install curl php php-gmp php-mbstring php-gd php-curl libcurl4-openssl-dev git flock\n```\n\n```\nsudo apt-get install php7.4-gmp \nsudo apt-get install php7.4-bcmath\nsudo apt-get install php7.4-curl\n\n```\n\n\n\n\nThen, clone this repository.\n\n```\ngit clone https://github.com/leesalminen/bulk-boltcards.git\ncd bulk-boltcards/\nchmod 755 run.sh\n```\n\nSecond, open `constants.php` and set your LNBits domain name in `DOMAIN_NAME`. You can customize the other available settings here, too. Each field is documented inline.\n\nThen, run `./run.sh {mac|linux} {card_uid}`. Ex: `./run.sh linux 12345678900070`. The script will run and return an error message in the terminal, or will open Chrome/Chromium with the template \u0026 injected data. Using this method, the generated data including all keys is ephemeral. As soon as you close the browser tab, that data is gone and cannot be recovered.\n\nAnother option is to run `./run.sh {pdf|html} {card_uid}`. Ex: `./run.sh pdf 12345678900070 \u003e wallet.pdf`. The script will run and return an error message in the terminal, or will send pdf or html to stdout which you can then use to save to a file on disk. Using this method, the generated data including all keys is saved to disk. This could pose a security risk if you aren't careful with your files. You should consider deleting these files from disk after printing them.\n\nPrint to A4 size paper on Landscape if no margins if supported by your printer. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleesalminen%2Fbulk-boltcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleesalminen%2Fbulk-boltcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleesalminen%2Fbulk-boltcards/lists"}