[{"data":1,"prerenderedAt":161},["ShallowReactive",2],{"project-6987724":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":26,"sentiment":9,"stance_mix":27,"scored_comments":30,"aspects":31,"strip":34,"post_text":35,"what":36,"said":68,"maker_in_thread":103,"shape":108,"grid":112,"attempts":124,"same_week":125,"maker_shows":122,"maker_hidden":153,"reader_version":154,"card":155},"6987724","embedcurl.com","Pretty curl commands for your web site or blog","title","Show HN: embedcurl.com - Pretty curl commands for your web site or blog",null,"johns",1388445024,2013,32,5,748,1739,44,"shown","dev_tools","api documentation","web_app",[23,20,24,25],"curl","embed","command line","quiet",{"positive":28,"neutral":28,"mixed":29,"critical":28},1,0,3,{"idea":32,"execution":33},{"positive":28,"critical":29},{"positive":29,"critical":28},[14,28,29,29,30],"Hey all,\nAs a CEO of a growing startup I don't get to code as often as I like and when I do, I try not to annoy my team with my terrible code :) So to scratch the itch, I've built some of side projects related to what our company does. The latest is embedcurl.com\n\nI see a lot of API docs and blogs posting curl commands that are really hard to read and I figured I could make them easier to read and add some niceties like easier copy\u002Fpaste, tooltips on flags, etc. They also gracefully degrade if javascript isn't enabled back to a \u003Cpre> element.\n\nThe parsing is done in Python with shlex and argpa",{"problem":37,"audience":43,"pricing":9,"motivation":48,"time_to_build":9,"stack":52,"openness":65,"stage":66,"team_size":67},{"value":38,"source":39,"evidence":40},"curl commands in API docs and blogs are hard to read","maker",[41],{"id":42},"post",{"value":44,"source":45,"evidence":46},"API docs authors and bloggers","inferred",[47],{"id":42},{"value":49,"source":39,"evidence":50},"Scratch the coding itch as a busy CEO, while making curl commands readable",[51],{"id":42},[53,57,61],{"value":54,"source":39,"evidence":55},"Python",[56],{"id":42},{"value":58,"source":39,"evidence":59},"shlex",[60],{"id":42},{"value":62,"source":39,"evidence":63},"argparse",[64],{"id":42},"unknown","launched","team",{"praise":69,"objections":78,"requests":89,"questions":101,"alternatives":102},[70],{"value":71,"source":72,"evidence":73},"Cool idea, would like an embeddable hurl.it version","commenter",[74],{"id":75,"by":76,"text":77},"6987987","jongalloway2","This is really cool. Would be neat if the whole experience could be embedded using an embeddable version of hurl.it, too.",[79],{"value":80,"source":72,"evidence":81},"Unquoted URLs with multiple query parameters break parsing",[82,86],{"id":83,"by":84,"text":85},"6987947","shawncplus","Need to wrap the url in strings, having multiple query parameters (&) in the url will cause issues.",{"id":87,"by":84,"text":88},"6988134","Not sure what you mean by repro but this is a simple command that would cause issues if you were to run it. Not issues with your tool, but BASH will background the command up to…",[90,97],{"value":91,"source":72,"evidence":92},"Open source the project on GitHub",[93],{"id":94,"by":95,"text":96},"6991060","Pirate-of-SV","Long flags are more readable in my opinion. I always use long flags in scripts, the shorter version is nice on the command line though. Do you plan to open source this? Github…",{"value":98,"source":72,"evidence":99},"Embeddable hurl.it-style experience",[100],{"id":75,"by":76,"text":77},[],[],{"comments":28,"answered":29,"key":104},[105],{"id":106,"text":107},"6987982","Can you post an example command to repro so I can look into it more closely? Thanks!",{"commenters":109,"max_depth":30,"maker_replies":28,"first_comment_mins":110,"lifespan_hours":111},4,42,17,[113,115,117,119,121],[75,29,14,114,76,29],"project\u002Fpositive\u002Fidea",[83,28,28,116,84,29],"project\u002Fcritical\u002Fexecution",[106,28,29,118,10,28],"maker\u002Fneutral\u002Fnone",[87,28,29,120,84,29],"commenter\u002Fneutral\u002Fexecution",[94,122,30,123,95,29],2,"project\u002Fneutral\u002Fnone",[],[126,130,135,140,144,148],{"id":127,"name":128,"points":129,"category":19},"6996398","hash-n-slash",261,{"id":131,"name":132,"points":133,"category":134},"6985700","aeipsapps.tumblr.com",206,"games",{"id":136,"name":137,"points":138,"category":139},"6993981","Vidpresso",154,"creative",{"id":141,"name":142,"points":143,"category":19},"6969897","LightPaper for Mac",132,{"id":145,"name":146,"points":147,"category":139},"6984496","Dave Sapien",131,{"id":149,"name":150,"points":151,"category":152},"6966004","postcards.lekevicius.com",109,"consumer_social",false,"v2",{"id":156,"name":5,"line":6,"ai":153,"cat":19,"year":12,"points":13,"comments":14,"rec":26,"s":9,"top":17,"kw":157,"maker":10,"domain":158,"tier":18,"attempts":29,"strip":159,"url":-1,"mix":160,"praise":71,"objection":80,"sub":20},6987724,[23,20,24,25],"","51003",[28,28,29,28],1793990901204]