Code Monkey home page Code Monkey logo

qr-designer's Introduction

QR code designer

This is a QR design web app that you can use to create QR codes that have arbitrary designs in the middle section. Compared to other qr designs, this does not take advantage of error correction that QR codes use, but rather deterministically turns some pixels in the code pattern on or off without affecting what the QR code is pointing to.

Prerequisites

The designer is a Nuxt v2 app, statically generated. It had been part of a larger app that I have separated it from. There may be references to sw.ink and qr.new lying around; those were the domains I had that the app was being served from.

There are some prerequisites to making QR codes with the designer.

In order to maximize designer space, the url that the QR codes links to is expected to be exactly 25 characters long from the set of alphanumeric characters - 0โ€“9, Aโ€“Z (upper-case only), space, $, %, *, +, -, ., /, :

When I had the sw.ink and qr.new domains, it would direct to HTTPS://SW.INK/${QR_ID} where QR_ID would be a 10 alphanumeric-character long id set as part of the link shortening process.

If you want to change this you would do it in components/Design/QRGroup.vue at line 138.

Installing and running

Node version 16 is expected.

> npm i
> npm run generate
> npm run start

Examples

qr-designer's People

Contributors

kochrt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qr-designer's Issues

Library Usage2

Hello handsome guy, can you provide a method to create a QR code separately? I tried to run the installation but an error occurred. I also tried to get it from the code but unfortunately it was not successful. Thank you.

test

Library Usage

Is it possible to consume this as a library without having to run the entire editor?

25th character kills recognition

Amazing tool and thank you so much for fixing images.

I've discovered that I can now use the generator beautifully except for one weird issue I lack knowledge to debug. I'm trying to encode a URL - and it is recognisable all the way up to 24 characters, but very consistently then fails as soon as I increase the characters to 25.

Example strings:

25 chars (does not work)
HTTPS://SITE.LY/123456789

24 chars (works fine, as do all other lengths)
HTTPS://SITE.LY/12345678

I assume these examples are sufficient to replicate the problem but if you need images I can provide. For reference I tried an iPhone 13 pro and an 11 pro, both on iOS 16.5. However, the built in "scannability tool" also fails with 25 chars.

As I said, I lack the knowledge to delve deeper into this but am posting as an FYI. Thanks again for the very cool tool!

Uploading an image fails

Google Chrome Version 113.0.5672.126 (Official Build) (arm64)

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'auth')
    at d2ee081.js:1:16419
    at v (ef6d2b0.js:2:100583)
    at Generator._invoke (ef6d2b0.js:2:100371)
    at Generator.next (ef6d2b0.js:2:101008)
    at r (ef6d2b0.js:2:67863)
    at l (ef6d2b0.js:2:68066)
    at ef6d2b0.js:2:68125
    at new Promise (<anonymous>)
    at ef6d2b0.js:2:68006
    at f.refreshImages (d2ee081.js:1:16759)

Cannot add uploaded image to the QR code

Steps to reproduce

  • Using web app (http://robko.ch/qr-designer)
  • Upload any PNG or JPG under 5mb in size
  • See uploaded image available beneath file upload field
  • Drag and drop image onto QR code
  • BUG - Image is not uploaded to QR code preview, no errors are thrown in the console either

I'm not sure if I'm being stupid while trying to do this, but I have now tried with 5 different images, a variety of PNGs and JPGs. None of them appear to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.