[{"data":1,"prerenderedAt":351},["ShallowReactive",2],{"project-16606408":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":33,"aspects":34,"strip":39,"post_text":41,"what":42,"said":59,"maker_in_thread":138,"shape":140,"grid":145,"attempts":312,"same_week":313,"maker_shows":36,"maker_hidden":343,"reader_version":344,"card":345},"16606408","Makesite","A static site generator in 125 lines of Python","title","Show HN: Makesite – A static site generator in 125 lines of Python","https:\u002F\u002Fgithub.com\u002Fsunainapai\u002Fmakesite","github.com","sunainapai",1521284637,2018,146,60,275,2155,13,"notable","dev_tools","static site generator","cli",[21,24,25,26],"python","markdown","makefile","debated",-0.105,{"positive":30,"neutral":30,"mixed":31,"critical":32},2,0,3,7,{"idea":35,"execution":37,"design":38},{"positive":36,"critical":32},1,{"positive":31,"critical":31},{"positive":36,"critical":31},[31,31,31,31,31,40,31,36,32,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,32,31,31,31,40,36,31,36,31],5,null,{"problem":41,"audience":41,"pricing":41,"motivation":41,"time_to_build":41,"stack":43,"openness":58,"stage":58,"team_size":58},[44,50],{"value":45,"source":46,"evidence":47},"Python","maker",[48],{"id":49},"post",{"value":51,"source":52,"evidence":53},"CommonMark (Markdown rendering library)","inferred",[54],{"id":55,"by":56,"text":57},"16606520","foo101","This seems to use the commonmark library to render Markdown? Can it render Pandoc flavour of Markdown? How widespread commonmark really is? Any popular sites using it? If I write…","unknown",{"praise":60,"objections":76,"requests":91,"questions":96,"alternatives":105},[61,69],{"value":62,"source":63,"evidence":64},"Clean, concise code style","commenter",[65],{"id":66,"by":67,"text":68},"16607689","whalesalad","Can’t speak to the usefulness of the code but really admire the style. Very clean, concise and lots of composition. Love it.",{"value":70,"source":63,"evidence":71},"Interesting as a learning project",[72],{"id":73,"by":74,"text":75},"16609622","adamisntdead","Writing static site generators is my favourite way of learning a language. Usually covers all the basics, libraries, FS, error checking and so on",[77],{"value":78,"source":63,"evidence":79},"Counting lines of code is a poor measure of simplicity",[80,84,88],{"id":81,"by":82,"text":83},"16607983","jitans","how stupid is to measure code in terms of lines? Make all that a library then you can claim: A static site generator in only 3 lines of Python Measuring lines of codes is…",{"id":85,"by":86,"text":87},"16608036","make3","Please don't use the number of lines as a metric for simplicity, it really doesn't mean anything",{"id":89,"by":82,"text":90},"16609277","That's not the point. Trying to squeeze the code in less lines as much possible is not the way to go if you loose clarity. Python coders keep repeting the mantra \"less line of…",[92],{"value":93,"source":63,"evidence":94},"Support Pandoc-flavoured Markdown",[95],{"id":55,"by":56,"text":57},[97,101],{"value":98,"source":63,"evidence":99},"Can it render Pandoc flavour of Markdown?",[100],{"id":55,"by":56,"text":57},{"value":102,"source":63,"evidence":103},"Will CommonMark be widely supported in future?",[104],{"id":55,"by":56,"text":57},[106,113,120,127,131],{"value":107,"source":63,"evidence":108},"Hugo",[109],{"id":110,"by":111,"text":112},"16606671","Philipp__","Hugo is still most convenient, at least for me and my workflow. I just pull it with homebrew, created my theme\u002Ftemplate, write blogposts in Emacs org-mode (using ox-hugo), host…",{"value":114,"source":63,"evidence":115},"Jekyll",[116],{"id":117,"by":118,"text":119},"16607517","charlesdaniels","Personally, I used Jekyll for a while before switching to a simple Makefile based approach. I write everything in Markdown, which gets compiled via Pandoc, concatenated with a…",{"value":121,"source":63,"evidence":122},"Pelican",[123],{"id":124,"by":125,"text":126},"16607951","mwambua","This is cool, and if I had the time I'd want to do something like this for automatically generating a google-photos style site from my Pictures directory. Also, if you're looking…",{"value":128,"source":63,"evidence":129},"Makefile with Pandoc",[130],{"id":117,"by":118,"text":119},{"value":132,"source":63,"evidence":133},"tinysite",[134],{"id":135,"by":136,"text":137},"16608442","sigil","Fellow Jekyll refugee here. I also switched to the Makefile SSG approach for the much faster incremental rebuilds. Parallel speedup with make -j is also nice. My SSG is called…",{"comments":31,"answered":31,"key":139},[],{"commenters":141,"max_depth":142,"maker_replies":31,"first_comment_mins":143,"lifespan_hours":144},45,9,30,84,[146,150,151,155,157,159,160,164,166,168,171,175,179,183,185,188,190,193,196,199,202,204,208,211,214,217,220,223,225,228,232,234,236,238,241,245,248,251,254,257,260,263,266,268,271,273,275,278,281,284,286,288,292,294,299,301,304,305,307,309],[147,31,31,148,149,31],"16608742","other\u002Fneutral\u002Fnone","vram22",[117,36,31,148,118,31],[152,36,31,153,154,31],"16607700","commenter\u002Fneutral\u002Fnone","bArray",[156,36,31,153,118,31],"16607846",[158,36,31,153,154,31],"16611435",[135,36,31,148,136,31],[161,36,31,162,163,31],"16608691","other\u002Fneutral\u002Fperformance","dfox",[165,36,31,162,118,31],"16609358",[124,30,40,167,125,31],"project\u002Fpositive\u002Fidea",[169,30,31,153,170,31],"16609382","edwinksl",[172,32,36,173,174,31],"16608119","project\u002Fcritical\u002Fidea","dfee",[176,177,31,148,178,31],"16607726",4,"almata",[180,177,32,181,182,31],"16608413","maker\u002Fneutral\u002Fexecution","thisacctforreal",[184,177,31,153,178,31],"16608479",[186,40,31,148,187,31],"16610562","Animats",[73,189,31,148,74,31],6,[191,189,31,153,192,31],"16609805","pvinis",[194,189,31,148,195,31],"16609875","adventured",[197,189,31,148,198,31],"16633691","nkantar",[200,33,31,148,201,31],"16610276","gabrielcsapo",[110,203,31,148,111,31],8,[205,203,31,206,207,31],"16606802","other\u002Fneutral\u002Fdocs","devposter",[209,203,31,148,210,31],"16606832","paulgb",[212,203,31,148,213,31],"16607235","chiefalchemist",[215,203,31,148,216,31],"16607367","IanCal",[218,203,31,148,219,31],"16609089","seanwilson",[221,203,31,153,222,31],"16609253","aoeusnth1",[224,203,31,153,213,31],"16609898",[226,203,31,148,227,31],"16615182","kaushalmodi",[229,203,31,230,231,31],"16607032","commenter\u002Fneutral\u002Fdesign","citilife",[233,203,31,148,227,31],"16612769",[235,203,31,153,111,31],"16615155",[237,203,31,148,227,31],"16612752",[239,142,31,148,240,31],"16607219","mojoe",[242,243,31,148,244,31],"16606609",10,"est",[246,243,31,206,247,31],"16606675","secura",[249,243,31,148,250,31],"16606733","butz",[252,243,31,148,253,31],"16606995","cryptoz",[255,243,31,148,256,31],"16607140","rambojazz",[258,243,31,148,259,31],"16607293","52-6F-62",[261,243,31,148,262,31],"16608024","e12e",[264,243,31,153,265,31],"16609021","ariofrio",[267,243,31,153,259,31],"16609739",[269,243,31,153,270,31],"16609923","petercooper",[272,243,31,153,259,31],"16610139",[274,243,31,153,270,31],"16613834",[276,243,31,153,277,31],"16608683","noobermin",[55,279,32,280,56,31],11,"project\u002Fneutral\u002Fnone",[282,279,31,148,283,31],"16606637","reificator",[285,279,31,148,149,31],"16609618",[287,279,31,148,283,31],"16610924",[289,290,31,148,291,31],"16611960",12,"Avamander",[66,18,40,293,67,31],"project\u002Fpositive\u002Fdesign",[295,296,31,297,298,31],"16609988",14,"other\u002Fneutral\u002Fidea","CydeWeys",[81,300,36,173,82,31],15,[302,300,31,153,303,31],"16608361","z3t4",[89,300,31,153,82,31],[85,306,36,173,86,31],16,[308,306,31,153,82,31],"16608127",[310,306,31,148,311,31],"16609915","zeep",[],[314,319,324,329,334,338],{"id":315,"name":316,"points":317,"category":318},"16619580","URL Canary",273,"security_privacy",{"id":320,"name":321,"points":322,"category":323},"16591962","Where is Sci-Hub",247,"other",{"id":325,"name":326,"points":327,"category":328},"16626374","Word2Bits",221,"languages",{"id":330,"name":331,"points":332,"category":333},"16636935","Sheet2Site",145,"web_saas",{"id":335,"name":336,"points":337,"category":20},"16594515","Fossa-cli",104,{"id":339,"name":340,"points":341,"category":342},"16591878","Talent vs. Luck",86,"learning_science",false,"v2",{"id":346,"name":5,"line":6,"ai":343,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":347,"top":18,"kw":348,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":349,"url":9,"mix":350,"praise":62,"objection":78,"sub":21},16606408,-0.1,[21,24,25,26],"0000050130000000000000000000000300051010",[30,30,31,32],1794036564338]