top | item 25481772

Show HN: Create a QR code with text in the code pattern

126 points| koch | 5 years ago |qr.new | reply

32 comments

order
[+] kbaker|5 years ago|reply
Just a note, instead of encoding the picture in the full destination URL, you can encode the picture into the padding section between the URL and the Reed-Solomon section, thus permitting the use of any URL.

I used this technique a long time ago on qrpixel.com but forgot to renew the domain, oops...

http://web.archive.org/web/20160423015339/http://www.qrpixel...

Also for information about how this works, Russ Cox did a good article on it, calculating using the R-S section as well: https://research.swtch.com/qart

[+] StavrosK|5 years ago|reply
Can you deploy it somewhere? It seems very useful. Netlify should work great if it's a static page.
[+] torgoguys|5 years ago|reply
Wow, I really like what qrpixel did! Do you know of any alternative tools (that are still around) that work the same way?
[+] nondeveloper|5 years ago|reply
This is the first use of an expensive (~$500?) .new domain I’ve seen in the wild not associated with a global brand.

For those who don’t know, this domain is constrained to applications where a new file or process is created by visiting the domain, e.g., Google’s http://doc.new creating a new Google Doc file.

https://icannwiki.org/.new

[+] nimih|5 years ago|reply
Is there a place where those constraints are laid out? The linked page only provides the following:

>Charleston Road Registry believes that given its wide variety of uses, the .new gTLD will best add value to the gTLD space by remaining purely open and unencumbered by registrant restrictions. There will, therefore, be no restrictions on second-level domain name registrations in the proposed gTLD, .new.

[+] 74ls00|5 years ago|reply
ZSA, the mechanical keyboard company, has layout.new —- that’s the smallest institution owning one of the .new domains I’d seen prior to this. Not exactly a global brand
[+] anonytrary|5 years ago|reply
The site is really confusing to use or maybe creating links don't work on the latest version of Chrome? Also, the resolution is extremely low -- for example "5SszZ2" is completely indistinguishable from "555222", "SSSZZZ", etc.
[+] koch|5 years ago|reply
I think it's probably just confusing, which is a bug in itself. There are a few text fields that all look like they could be what you redirect to, but only the "Link QR" will redirect you to the link you enter.

> the resolution is extremely low

Yeah no argument there. I do actually have space for a 4x3 font instead of a 3x3 font, that may be worth working on.

[+] difosfor|5 years ago|reply
Looks cool, but the generated QR codes link to qr.new instead of the domain I entered to link to. This is on iPad Safari. Is it required to register before this will work as expected? It's unclear to me.
[+] koch|5 years ago|reply
There are two 'types' of codes you can make, one is a regular redirect to the link you enter (Link QR), the other takes you to a qr.new page that has the information you entered on it (Everything QR). So make sure you have the right type selected and that you've put your link in the link field.

Action item for me though, I need to make that clearer on the site.

[+] sm4rk0|5 years ago|reply
The page won't load if www.googleapis.com is blocked.
[+] pog92|5 years ago|reply
Really cool, but my phone currently can't recognize it as a QR code..
[+] circuit_|5 years ago|reply
This is so awesome but Sign in with Google doesn't work :/
[+] koeng|5 years ago|reply
This is cool! thanks and noted. I like the font, feels natural.
[+] miguelrochefort|5 years ago|reply
Can the text be different from the content of the QR code?
[+] lights0123|5 years ago|reply
Yeah, the "Inner message" on the right is a completely separate field from the actual QR contents on the left.
[+] koch|5 years ago|reply
Yes! The text in the QR code is completely independent of the content, just edit the text field under the QR code.
[+] boogies|5 years ago|reply
Yes (source: 30 seconds spent trying it)
[+] bayangan|5 years ago|reply
love the sass you get when you enter "scan me"