[{"data":1,"prerenderedAt":156},["ShallowReactive",2],{"project-13058445":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":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":37,"post_text":29,"what":38,"said":68,"maker_in_thread":97,"shape":101,"grid":105,"attempts":116,"same_week":121,"maker_shows":18,"maker_hidden":149,"reader_version":150,"card":151},"13058445","ICanHazData","Data URI Swiss Army Knife","title","Show HN: ICanHazData – Data URI Swiss Army Knife","https:\u002F\u002Ficanhazdata.com","icanhazdata.com","chadscira",1480367412,2016,257,5,88,2264,4,"legend","dev_tools","data uri converter","web_app",[24,25,26,27],"data uri","base64","data url","file to base64","quiet",null,{"positive":31,"neutral":32,"mixed":32,"critical":31},1,0,2,{"idea":35,"execution":36},{"positive":32,"critical":31},{"positive":31,"critical":32},[31,32,15,32,32],{"problem":39,"audience":29,"pricing":29,"motivation":49,"time_to_build":54,"stack":58,"openness":67,"stage":67,"team_size":67},{"value":40,"source":41,"evidence":42},"Generating data URIs by hand is tedious when iterating on files, clipboard or drag-and-drop content","maker",[43,46],{"id":44,"by":11,"text":45},"13059200","This was made to make playing with Data URI's much easier. I find myself often needing a quick way to generate a Data URI when playing with files on jsfiddle, or codepen (due to…",{"id":47,"by":11,"text":48},"13059333","Yeah, but its a pain in the butt to iterate when doing that, especially when you just want to dump off clipboard, or drag & drop. Also wanted an excuse to play with a few browser…",{"value":50,"source":41,"evidence":51},"Make playing with data URIs easier and explore browser features",[52,53],{"id":44,"by":11,"text":45},{"id":47,"by":11,"text":48},{"value":55,"source":41,"evidence":56},"A couple of hours",[57],{"id":44,"by":11,"text":45},[59,63],{"value":60,"source":41,"evidence":61},"React",[62],{"id":44,"by":11,"text":45},{"value":64,"source":41,"evidence":65},"MobX",[66],{"id":44,"by":11,"text":45},"unknown",{"praise":69,"objections":78,"requests":89,"questions":90,"alternatives":91},[70],{"value":71,"source":72,"evidence":73},"Useful for iterating on data URIs with clipboard and drag-and-drop","commenter",[74],{"id":75,"by":76,"text":77},"13059471","orf","Ahh I see, I can imagine that being a pain (especially with the clipboard). Nice app!",[79],{"value":80,"source":72,"evidence":81},"Can be done with a one-line shell command",[82,85],{"id":83,"by":76,"text":84},"13059304","I get why you might want to make this, but isn't it just a one-liner? > echo \"data:$(file -b --mime-type somefile);base64,$(base64 somefile)\"",{"id":86,"by":87,"text":88},"13061422","pvsnp","How about this in OSX? echo \"data:$(file -b --mime-type filename);base64,$(base64 filename)\" | pbcopy or for linux, your favorite variant of pbcopy using xsel or xcopy? Not to…",[],[],[92],{"value":93,"source":72,"evidence":94},"Shell one-liner using file and base64",[95,96],{"id":83,"by":76,"text":84},{"id":86,"by":87,"text":88},{"comments":33,"answered":31,"key":98},[99,100],{"id":47,"text":48},{"id":44,"text":45},{"commenters":102,"max_depth":18,"maker_replies":33,"first_comment_mins":103,"lifespan_hours":104},3,112,10,[106,108,110,112,114],[83,32,31,107,76,32],"project\u002Fcritical\u002Fidea",[47,32,32,109,11,31],"maker\u002Fneutral\u002Fidea",[75,32,15,111,76,32],"project\u002Fpositive\u002Fexecution",[86,32,32,113,87,32],"commenter\u002Fneutral\u002Fnone",[44,31,32,115,11,31],"project\u002Fneutral\u002Fidea",[117,120],{"id":118,"t":119,"points":18,"comments":33},"13047679",1480220155,{"id":4,"t":12,"points":14,"comments":15},[122,126,131,135,140,145],{"id":123,"name":124,"points":125,"category":20},"13031492","CSS Reference",1117,{"id":127,"name":128,"points":129,"category":130},"13030603","Dply",673,"infrastructure",{"id":132,"name":133,"points":134,"category":20},"13053137","Antd",507,{"id":136,"name":137,"points":138,"category":139},"13056678","React Native Express",496,"learning_science",{"id":141,"name":142,"points":143,"category":144},"13065670","Anycomplete",390,"productivity",{"id":146,"name":147,"points":148,"category":130},"13048334","Migadu",336,false,"v2",{"id":152,"name":5,"line":6,"ai":149,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":153,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":154,"url":9,"mix":155,"praise":71,"objection":80,"sub":21},13058445,[24,25,26,27],"10500",[31,32,32,31],1794036550089]