I needed a QR Code generator for a document. After long wandering on the web without finding a QR Code generator that doesn’t use a proprietary URL shortener, I discovered that you can easily do it inside LibreOffice.

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    7 days ago

    In case you want an alternative:

    https://gchq.github.io/CyberChef/#recipe=Generate_QR_Code('PNG'%2C5%2C4%2C'Medium')&input=VGVzdA

    The qchq in the url isn’t a coincidence, this was created by the British spy agency. It is used fairly commonly amongst cyber security folk, so its been fairly well vetted that its not uploading stuff to their cloud, but you can always load the page, disconnect your network and do what you want with it if you want to be paranoid.

    • zqps@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      It’s a really great app, good UI and options too.

      I used qrencode to create a few hundred QR codes for tickets for a band event, and BinaryEye to scan them at the entrance. Worked like a charm.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 days ago

    Online generators let you avoid the shortener if you tell them to encode “text”.

    Link QRs are just text QRs, but it’s a link. In a pinch you can use the “text” mode to encode whatever you need.

  • addie@feddit.uk
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    I wrote one of my own from scratch, back in the day. More to practice my algorithm coding skills than anything else, make sure that I could. Not very difficult - easier than barcodes, in a way.

    The thing that I found most interesting was that it uses the same Reed-Solomon error correcting code as CDs and DVDs, and for the same reason. Those codes guarantee that you don’t get too many 1s or 0s in a row. That would cause difficulties with laser tracking in a disc player, or big confusing areas of white or black in a QR code.

    The on-off-on-off pattern that joins the inside edge of the three squares isn’t usually that obvious either, but when reading it, makes it quite easy to decide how ‘big the boxes’ are. You can store a very long piece of text in a QR code, although the pattern gets very finely detailed after a while.

  • qjkxbmwvz@startrek.website
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    I have a keyboard hotkey to take the copy/paste buffer and display a QR code on screen. Straightforward to implement on macOS, and presumably Linux too.

    macOS: pbpaste | qrencode -t ANSI

    • Pup Biru@aussie.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      okay that’s a great idea and now i really want a dashboard widget on my phone that does that

  • Khanzarate@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    That’s good to know, actually. Thank you.

    Now it will take much less effort to make quick prank QR codes.