[{"data":1,"prerenderedAt":335},["ShallowReactive",2],{"project-30676595":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":42,"post_text":44,"what":45,"said":82,"maker_in_thread":194,"shape":203,"grid":207,"attempts":298,"same_week":299,"maker_shows":196,"maker_hidden":327,"reader_version":328,"card":329},"30676595","MarkdownSite","An open-source web hosting platform for static sites","title","Show HN: I built an open-source web hosting platform for static sites","https:\u002F\u002Fgithub.com\u002Fsymkat\u002FMarkdownSite","github.com","symkat",1647284240,2022,217,38,252,2570,10,"notable","infrastructure","static site hosting","web_app",[21,24,25,26],"markdown","self-hosted","static site generator","mixed",0.122,{"positive":30,"neutral":18,"mixed":31,"critical":32},7,1,4,22,{"idea":35,"design":38,"docs":40,"privacy":41},{"positive":36,"critical":37},3,2,{"positive":39,"critical":39},0,{"positive":37,"critical":31},{"positive":39,"critical":31},[43,39,36,39,43,36,36,43,39,39,43,39,43,39,36,39,39,36,39,36,39,43,31,36,36,39,39,39,31,39,31,31,39,36,39,36,43,36],5,"HI Hacker News!\n\nI’m very excited to show you this project I have been working on, MarkdownSite.com.\n\nFor folks who interact with the website, it is a web hosting platform where you can add your repository and have a website built from the `public\u002F` directory.  Files in `site\u002F` with an `.md` extension are rendered from markdown to HTML, and the website is then available at a random subdomain.\n\nFor folks that set up their own instance, it can also become a framework for customized building.  The entire project is open source and I tried my best to document and explain the structure of the machi",{"problem":46,"audience":55,"pricing":55,"motivation":56,"time_to_build":55,"stack":62,"openness":79,"stage":80,"team_size":81},{"value":47,"source":48,"evidence":49},"Hosting static sites built from git repos, including self-hosted hosting","maker",[50,52],{"id":51},"post",{"id":53,"by":11,"text":54},"30679781","Thanks! I would love if this approach took off too. I think it could be pretty good — the friend who runs networking stuff could give people access to hosting and use simple…",null,{"value":57,"source":48,"evidence":58},"Maker has always liked web hosting technology and wants to share it",[59],{"id":60,"by":11,"text":61},"30680834","HI! Thanks for the question! If you’ve used and like GitHub Pages, and are just going to host a website as quickly as possible, it’s probably going to be the better option for…",[63,75],{"value":64,"source":65,"evidence":66},"Perl","commenter",[67,71],{"id":68,"by":69,"text":70},"30679343","HeckFeck","Sweet, a roll-your-own Geocities but in Markdown! I'd like it if this approach took off for personal websites\u002Fblogs\u002Fsocial media. Maybe share it with some of those lists of…",{"id":72,"by":73,"text":74},"30680951","trevcanhuman","I think it'd be a great fit to introduce some kind of 'git' hooks that could work just like github actions. Currently, I have a static blog served @ [0] and it is literally a git…",{"value":76,"source":48,"evidence":77},"Mermaid diagrams in readme docs",[78],{"id":51},"open_source","launched","unknown",{"praise":83,"objections":99,"requests":125,"questions":151,"alternatives":167},[84,91],{"value":85,"source":65,"evidence":86},"Docs and devops diagrams are well done",[87],{"id":88,"by":89,"text":90},"30681916","MathMonkeyMan","the docs are exquisite: https:\u002F\u002Fgithub.com\u002Fsymkat\u002FMarkdownSite\u002Ftree\u002Fmaster\u002Fdevops",{"value":92,"source":65,"evidence":93},"Interesting idea for self-hosted static sites",[94,95],{"id":68,"by":69,"text":70},{"id":96,"by":97,"text":98},"30681819","throwaway4837","Me too! I think this might be the next Hello World. Goodbye Todo list app.",[100,111,118],{"value":101,"source":65,"evidence":102},"Hosting static sites on Netlify or GitHub Pages is free and easier",[103,107],{"id":104,"by":105,"text":106},"30682304","jaza","It's nice to have the option of deploying static sites to your own server, more-or-less as easily as they can now be deployed to GitHub Pages, Netlify, Vercel, and friends. Funny…",{"id":108,"by":109,"text":110},"30680703","jaimex2","Just curious on when you would use this over GitHub Pages? https:\u002F\u002Fpages.github.com\u002F",{"value":112,"source":65,"evidence":113},"On-demand rendering makes it less purely static",[114],{"id":115,"by":116,"text":117},"30698873","account42","Does this really count as static site hosting if you use on-demand rendering instead of rendering everything? One of the big advantages of static sites is that the runtime…",{"value":119,"source":65,"evidence":120},"Build logs were publicly visible without authentication",[121],{"id":122,"by":123,"text":124},"30681530","nwithan8","Why are other people's logs exposed when I try to make a site? https:\u002F\u002Fmarkdownsite.com\u002Fstatus\u002F9?reject_job=1",[126,133,137,144],{"value":127,"source":65,"evidence":128},"WYSIWYG editor for building sites",[129],{"id":130,"by":131,"text":132},"30681640","ungawatkt","Any plans to add a WYSIWYG editor for building sites? I'm the friend who can run network stuff, but a github repo and markdown is beyond the people I'd run it for.",{"value":134,"source":65,"evidence":135},"Git hooks or GitHub Actions style integration",[136],{"id":72,"by":73,"text":74},{"value":138,"source":65,"evidence":139},"Add an open source license",[140],{"id":141,"by":142,"text":143},"30682878","henriquez","This looks great - please consider adding a Free\u002FLibre Open Source license such as AGPL. Or any license!",{"value":145,"source":65,"evidence":146},"Tutorial with a minimal example repo",[147],{"id":148,"by":149,"text":150},"30679679","jph","Great work, thank you for sharing this. I see an opportunity for you to create tutorial steps, to teach a developer step-by-step what an input repo should contain in order to…",[152,156],{"value":153,"source":65,"evidence":154},"Why use this over GitHub Pages",[155],{"id":108,"by":109,"text":110},{"value":157,"source":65,"evidence":158},"Does only the site\u002F directory get built",[159,163],{"id":160,"by":161,"text":162},"30683832","andybak","Any idea why this repo doesn't work? https:\u002F\u002Fgithub.com\u002Ficosa-gallery\u002Fopen-brush-docs I can't see anything other than 404's. I tried \u002Fresources.html etc EDIT - I think maybe it's…",{"id":164,"by":165,"text":166},"30684439","13hunteo","I believe it only builds anything in the site\u002F directory. I haven't tested it, but a workaround could be making another repo, and using git submodules to put your docs repo in…",[168,176,184],{"value":169,"source":65,"evidence":170},"GitHub Pages",[171,172],{"id":108,"by":109,"text":110},{"id":173,"by":174,"text":175},"30681743","maxloh","If I recalled it right, it can be done with GitHub Actions - just build and push to `gh-page` bramch whenever a new commit arrives. GitHub will do the job for you. No backend is…",{"value":177,"source":65,"evidence":178},"Netlify and Vercel",[179,180],{"id":104,"by":105,"text":106},{"id":181,"by":182,"text":183},"30687285","technobabbler","If you're willing to go off Amazon altogether and lose a lot of control (which can be good or bad), the serverless hosts like Vercel can easily do that. Each folder is just its…",{"value":185,"source":48,"evidence":186},"Netlify CMS and Prose.io for editing",[187,190],{"id":188,"by":11,"text":189},"30681767","That’s definitely something I want to explore. I saw this[0][1] a while ago and think a setup with it could work out well, but I haven’t tested any of it yet. If you do,…",{"id":191,"by":192,"text":193},"30688197","cweagans","See also https:\u002F\u002Fprose.io\u002F",{"comments":195,"answered":196,"key":197},9,6,[198,199,200],{"id":53,"text":54},{"id":188,"text":189},{"id":201,"text":202},"30679747","Thanks! I have some examples on markdownsite.com in the middle, I’ll post them here as well, thank you for asking: https:\u002F\u002Fgithub.com\u002Fsymkat\u002Fmds-example.markdownsite.net - A…",{"commenters":204,"max_depth":43,"maker_replies":195,"first_comment_mins":205,"lifespan_hours":206},28,214,261,[208,210,212,214,215,218,220,223,224,228,231,233,235,236,239,241,245,248,249,250,252,254,257,259,261,264,267,268,271,274,277,281,282,285,289,291,293,295],[68,39,43,209,69,39],"project\u002Fpositive\u002Fidea",[53,39,39,211,11,31],"maker\u002Fneutral\u002Fnone",[130,39,36,213,131,39],"project\u002Fneutral\u002Fdesign",[188,39,39,211,11,31],[216,39,43,217,131,39],"30683272","project\u002Fpositive\u002Fnone",[191,39,36,219,192,39],"project\u002Fneutral\u002Fnone",[221,39,36,213,222,39],"30683680","blitzar",[104,31,43,209,105,39],[225,31,39,226,227,39],"30682481","commenter\u002Fneutral\u002Fnone","mro_name",[229,31,39,226,230,39],"30682810","perfopt",[148,37,43,232,149,39],"project\u002Fpositive\u002Fdocs",[201,37,39,234,11,31],"maker\u002Fneutral\u002Fdocs",[88,36,43,232,89,39],[237,36,39,238,11,31],"30693723","maker\u002Fpositive\u002Fnone",[173,32,36,240,174,39],"project\u002Fneutral\u002Fidea",[242,32,39,243,244,39],"30681971","other\u002Fneutral\u002Fnone","isaacimagine",[246,32,39,226,247,39],"30682213","iRomain",[108,43,36,219,109,39],[60,43,39,211,11,31],[72,43,36,251,73,39],"project\u002Fmixed\u002Fdesign",[253,43,39,211,11,31],"30681012",[255,43,43,238,256,39],"30684472","mxuribe",[160,196,31,258,161,39],"project\u002Fcritical\u002Fdocs",[164,196,36,260,165,39],"project\u002Fneutral\u002Fdocs",[262,30,36,219,263,39],"30684260","97-109-107",[265,30,39,243,266,39],"30684288","fxtentacle",[181,30,39,243,182,39],[269,30,39,243,270,39],"30688244","JonM",[122,272,31,273,123,39],8,"project\u002Fcritical\u002Fprivacy",[275,272,39,276,11,31],"30681658","maker\u002Fneutral\u002Fprivacy",[278,195,31,279,280,39],"30683106","project\u002Fcritical\u002Fidea","adriangrigore",[115,18,31,279,116,39],[283,18,39,284,11,31],"30803919","maker\u002Fneutral\u002Fperformance",[286,287,36,219,288,39],"30711287",11,"EgeAytin",[290,287,39,234,11,31],"30803842",[141,292,36,219,142,39],12,[96,294,43,209,97,39],13,[296,297,36,260,161,39],"30683731",14,[],[300,305,310,315,318,322],{"id":301,"name":302,"points":303,"category":304},"30668137","HN Avatars",701,"dev_tools",{"id":306,"name":307,"points":308,"category":309},"30656961","arielroffe.quest",425,"creative",{"id":311,"name":312,"points":313,"category":314},"30688691","Devzat",391,"consumer_social",{"id":316,"name":317,"points":205,"category":304},"30675357","shot-scraper-template",{"id":319,"name":320,"points":321,"category":304},"30653916","Hubfs",160,{"id":323,"name":324,"points":325,"category":326},"30639160","Shadow Calculator",120,"web_saas",false,"v2",{"id":330,"name":5,"line":6,"ai":327,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":331,"top":18,"kw":332,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":333,"url":9,"mix":334,"praise":85,"objection":101,"sub":21},30676595,0.12,[21,24,25,26],"50305335005050300303051330001011030353",[30,18,31,32],1794036618059]