[{"data":1,"prerenderedAt":393},["ShallowReactive",2],{"project-2698494":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":45,"post_text":46,"what":47,"said":67,"maker_in_thread":168,"shape":179,"grid":184,"attempts":357,"same_week":358,"maker_shows":40,"maker_hidden":385,"reader_version":386,"card":387},"2698494","lilqr","My weekend project, QR-codes for everybody","title","Show HN: My weekend project, QR-codes for everybody","http:\u002F\u002Flilqr.com\u002F","lilqr.com","siavash",1309109688,2011,203,65,34,1097,4,"notable","dev_tools","qr code generator","web_app",[21,24,25,26],"qr code","apache module","embed qr code","curious",0.195,{"positive":30,"neutral":31,"mixed":32,"critical":33},13,21,0,5,39,{"execution":36,"idea":38,"docs":41,"design":43,"performance":44},{"positive":37,"critical":37},2,{"positive":39,"critical":40},8,3,{"positive":42,"critical":32},1,{"positive":37,"critical":32},{"positive":32,"critical":32},[40,40,40,40,33,42,40,40,33,42,40,32,32,32,32,32,32,32,33,33,42,32,33,40,40,33,40,32,40,32,33,33,40,32,42,40,40,32,33,33],"I wanted QR codes to be really simple to implement everywhere and for everyone. So I spent some time on my weekends trying to write a fast QR generator module for Apache, and here are the results:\nab -n 5000 -c 100 http:\u002F\u002Flilqr.com\u002Fqr\nRequests per second:    4301.78 [#\u002Fsec] (mean)",{"problem":48,"audience":54,"pricing":54,"motivation":55,"time_to_build":54,"stack":59,"openness":64,"stage":65,"team_size":66},{"value":49,"source":50,"evidence":51},"Making QR codes easy to embed on any web page","maker",[52],{"id":53},"post",null,{"value":56,"source":50,"evidence":57},"Wanted QR codes to be simple to implement everywhere; built as a weekend project",[58],{"id":53},[60],{"value":61,"source":50,"evidence":62},"Apache module",[63],{"id":53},"unknown","launched","solo",{"praise":68,"objections":69,"requests":97,"questions":120,"alternatives":132},[],[70,86],{"value":71,"source":72,"evidence":73},"Unclear what QR codes are for or why a page would link to itself","commenter",[74,78,82],{"id":75,"by":76,"text":77},"2698538","LoonyPandora","I think you need a little more instruction. What does this do? My first thought was that it would generate a QR code for any string you provide, through url hacking. (i.e…",{"id":79,"by":80,"text":81},"2704743","palish","Yes, but what the hell is a QR code? Hehe. Or rather, why do I want one? I have no idea what this is used for. I'm 1\u002F5th of the way down http:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FQR_code and…",{"id":83,"by":84,"text":85},"2698737","aristidesfl","What is the poing of having a QR-code of a page in the page itself?",{"value":87,"source":72,"evidence":88},"Lacks documentation and customization such as sizes and custom URLs",[89,93],{"id":90,"by":91,"text":92},"2698539","brk","Great way to jump on QR trend. Amazingly simple implementation. Would be nice to have some way to put in the URL on a page and have it generate PNGs of different sized codes,…",{"id":94,"by":95,"text":96},"2698758","rakkhi","Any chance you could add an option to create a QR code based on a link entered? e.g. would like to create one for my Linked in page",[98,105,109],{"value":99,"source":72,"evidence":100},"Custom URL parameter to encode a different link",[101],{"id":102,"by":103,"text":104},"2699383","jiaaro","You could also add an optional GET param that allows the user to override the url for which a QR code is generated (so ?url=... would override the default functionality of…",{"value":106,"source":72,"evidence":107},"Multiple sizes and print formats",[108],{"id":90,"by":91,"text":92},{"value":110,"source":72,"evidence":111},"HTTPS support",[112,116],{"id":113,"by":114,"text":115},"2699397","pronoiac","That parameter would also be useful and needed for https urls - browsers aren't supposed to pass those along as referrers.",{"id":117,"by":118,"text":119},"2699768","elb0w","Anyone else have an issue with this generating a url for ssl? All of mine resolve to lilqr.com. Http works fine though.",[121],{"value":122,"source":72,"evidence":123},"How does caching interact with the image URL",[124,128],{"id":125,"by":126,"text":127},"2698980","randomwalker","One problem you're probably going to run into is caches (especially caching proxies) ignoring your nocache header, causing users to see the wrong QR code. A standard way to avoid…",{"id":129,"by":130,"text":131},"2698767","atuladhar","Pretty cool. One downside I see of the easy way of integration (as opposed to having to use a site-specific URL) is that the browser cache cannot be used (and as expected, the…",[133,144,154,161],{"value":134,"source":72,"evidence":135},"Google Chart API QR generator",[136,140],{"id":137,"by":138,"text":139},"2698555","matthew-wegner","Clever implementation! For anyone looking to do larger\u002Fsmaller\u002Fdifferent data, the Google Charts interface works well:…",{"id":141,"by":142,"text":143},"2700008","megamark16","This is very cool, and through this thread I discovered the Google Chart API for creating QR codes. Here's my snippet that does kind of the same thing you're doing: \u003Cimg…",{"value":145,"source":72,"evidence":146},"miniqr.com",[147,151],{"id":148,"by":149,"text":150},"2698588","bauchidgw","try http:\u002F\u002Fminiqr.com\u002F (with API) qr codes with png, doc, pdf support",{"id":152,"by":149,"text":153},"2698982","or http:\u002F\u002Fminiqr.com\u002F",{"value":155,"source":72,"evidence":156},"qrcode.kaywa.com",[157],{"id":158,"by":159,"text":160},"2698803","icebraining","http:\u002F\u002Fqrcode.kaywa.com\u002F",{"value":162,"source":72,"evidence":163},"SmallQR",[164],{"id":165,"by":166,"text":167},"2699515","alistair_uk","As with many things it has already been done I am afraid. http:\u002F\u002Fwww.smallqr.com\u002Fmagic :-)",{"comments":33,"answered":37,"key":169},[170,173,176],{"id":171,"text":172},"2699161","Your right, some proxies simply ignore the Cache-Control directive. In some cases even Google Chrome handles this directive poorly, as it will serve a cached version when you use…",{"id":174,"text":175},"2699494","This is true unless the image is served from https aswell. In that case referer is sent just as normal. I'm getting a certificate this week to serve https QRs!",{"id":177,"text":178},"2698565","Sorry, I just wanted to launch it as early as possible. Just put the img-tag on whatever page you would like to have a QR code for and it will create one to the URL of that page.",{"commenters":180,"max_depth":181,"maker_replies":33,"first_comment_mins":182,"lifespan_hours":183},47,6,17,40,[185,187,188,190,192,193,195,196,200,202,205,208,210,212,216,218,222,225,229,232,235,238,240,243,246,249,252,255,258,260,262,264,265,269,272,276,277,280,282,285,287,289,292,295,299,303,306,307,310,312,316,320,321,322,324,325,327,330,333,337,341,344,347,351,355],[125,32,40,186,126,32],"maker\u002Fneutral\u002Fexecution",[171,32,32,186,11,42],[102,32,40,189,103,32],"project\u002Fneutral\u002Fidea",[113,32,40,191,114,32],"project\u002Fneutral\u002Fexecution",[174,32,32,191,11,42],[75,42,40,194,76,32],"project\u002Fneutral\u002Fdocs",[177,42,32,194,11,42],[197,42,33,198,199,32],"2698709","project\u002Fpositive\u002Fdocs","noinput",[79,42,42,201,80,32],"project\u002Fcritical\u002Fidea",[203,42,40,189,204,32],"2698684","bgrohman",[206,42,40,189,207,32],"2698702","franze",[209,42,40,189,204,32],"2698720",[211,42,40,189,159,32],"2698801",[213,42,33,214,215,32],"2698899","project\u002Fpositive\u002Fidea","tathagatadg",[217,42,42,201,204,32],"2699248",[219,42,40,220,221,32],"2698934","project\u002Fneutral\u002Fdesign","geon",[223,37,40,189,224,32],"2698837","nostromo",[226,37,32,227,228,32],"2698849","other\u002Fneutral\u002Fnone","etherealG",[230,37,32,227,231,32],"2699829","Osiris",[233,37,32,227,234,32],"2699931","doublec",[236,37,32,227,237,32],"2700481","vetler",[239,37,32,227,149,32],"2698979",[241,37,32,227,242,32],"2698990","wccrawford",[244,37,32,227,245,32],"2698994","sad_hacker",[247,37,32,227,248,32],"2699573","kinkora",[250,37,32,227,251,32],"2699651","SgtMaximum",[253,37,32,227,254,32],"2699945","there",[256,37,32,227,257,32],"2700471","cstuder",[259,37,32,227,257,32],"2704243",[137,40,33,261,138,32],"project\u002Fpositive\u002Fexecution",[129,18,40,263,130,32],"project\u002Fneutral\u002Fperformance",[141,33,33,214,142,32],[266,181,42,267,268,32],"2700674","project\u002Fcritical\u002Fexecution","grepular",[270,181,32,271,91,32],"2700828","commenter\u002Fneutral\u002Fnone",[273,274,32,227,275,32],"2698946",7,"amanuel",[90,39,33,214,91,32],[278,39,32,279,11,42],"2698584","maker\u002Fneutral\u002Fidea",[281,39,40,189,91,32],"2699590",[283,39,40,191,284,32],"2702969","ultrasaurus",[148,39,40,286,149,32],"project\u002Fneutral\u002Fnone",[83,288,40,189,84,32],9,[290,288,33,214,291,32],"2698878","cjdavis",[293,288,40,189,294,32],"2699112","Peaker",[296,297,32,298,11,42],"2699203",10,"maker\u002Fneutral\u002Fnone",[300,301,32,227,302,32],"2699461",11,"ams6110",[304,305,33,214,149,32],"2698583",12,[165,30,42,201,166,32],[308,30,32,271,309,32],"2699543","18pfsmt",[311,30,32,271,166,32],"2700987",[313,314,33,261,315,32],"2698533",14,"tiwilliam",[317,318,33,319,95,32],"2698735",15,"project\u002Fpositive\u002Fdesign",[94,318,40,189,95,32],[158,318,40,189,159,32],[323,318,32,271,95,32],"2698928",[152,318,32,271,149,32],[117,326,42,267,118,32],16,[328,182,40,189,329,32],"2698595","abava",[331,332,40,189,329,32],"2698707",18,[334,335,40,189,336,32],"2699056",19,"Podenemos",[338,339,32,227,340,32],"2698869",20,"kasmura",[342,339,32,271,343,32],"2699403","spicyj",[345,31,33,319,346,32],"2699362","alvivar",[348,349,33,214,350,32],"2698600",22,"discover",[352,353,33,214,354,32],"2698724",23,"socialmediaking",[356,353,33,214,354,32],"2698730",[],[359,364,369,373,378,382],{"id":360,"name":361,"points":362,"category":363},"2709720","Freeversation",165,"productivity",{"id":365,"name":366,"points":367,"category":368},"2710660","Overlap.me",112,"consumer_social",{"id":370,"name":371,"points":372,"category":20},"2701908","Tigger",77,{"id":374,"name":375,"points":376,"category":377},"2698905","TinySearchEngine",43,"languages",{"id":379,"name":380,"points":183,"category":381},"2706170","BitWillet","web_saas",{"id":383,"name":384,"points":318,"category":381},"2701984","My project 72hdeals",false,"v2",{"id":388,"name":5,"line":6,"ai":385,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":389,"top":18,"kw":390,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":391,"url":9,"mix":392,"praise":-1,"objection":71,"sub":21},2698494,0.2,[21,24,25,26],"3333513351300000005510533530305530133055",[30,31,32,33],1793990873489]