{
  "$type": "site.standard.document",
  "canonicalUrl": "https://www.adamdjbrett.com/blog/2025-10-09-qr-codes/",
  "description": "A practical macOS workflow for generating trustworthy QR codes with Homebrew and qrencode, avoiding fragile third-party shorteners and preserving links on domains you control.",
  "path": "/blog/2025-10-09-qr-codes/",
  "publishedAt": "2025-10-09T05:02:34.000Z",
  "site": "at://did:plc:3vmq5usrh3yvhbrrzf4ymo23/site.standard.publication/3mpfboadoa72e",
  "tags": [
    "notes",
    "website"
  ],
  "textContent": "Generating a QR code used to be so simple when goo.gl existed, as it was a great link shortener and QR code generator. However, Alphabet/Google, in their infinite wisdom, has decided to close the service, and then they were going to sunset all the links, which would have caused massive linkrot on a dying(dead?) internet. However, thanks to public outcry, Google has reversed its decision.  Google's decision further illustrates the importance of a domain of ones own. My dear friend and colleague, Eileen Campbell-Reed, understood this point. When she published her book, Pastoral Imagination: Bringing the Practice of Ministry to Life, she utilized her own domain name, linkshorter, and QR codes, ensuring that her book had little to no link rot.  \n\nThanks to the simplicity of Netlify's  file, I can easily run my own link shorteners. However, one ongoing issue I face is generating QR codes quickly and effortlessly. I dislike using standard link shortening QR code services because some of these services want to lock you into high monthly fees, inject their own tracking, and set arbitrary limits on the codes. Another concern is what happens if the service is case sensitive, which can cause users to accidentally visit a different site. I want to create branded shortlinks and QR codes on a domain I own so that users and scanners can trust both, without injecting third-party code. For a while, I considered building my own QR code generator website, but that seemed like overkill. Instead, I once again turned to my trusty homebrew solution for Mac.\n\nGenerating QR Codes on macOS\n1. Install homebrew\n2. install qrencode\n    1. Qrencode on Github\n    2. Qrencode official site\n\nI found the official documentation to be deeply unhelpful, however Nikhil Vemu has a very helpful explainer. Here is what was most helpful to me:\n\nThe default size of 3 is barely 99 pixels square, size 8 is almost 250 pixels which for me is a much more useful size.",
  "title": "How to Generate QR codes in macOS"
}