Live data from Hacker News

Show HN: Publish a Markdown website in 5 minutes

markdownsites.com

121–130 of 159 posts

Re: Show HN: Publish a Markdown website in 5 minutes

#121

Earlier quoted context omitted.

Aw...this makes me so sad. I need to fix my brain. Every time I see "static sites", I think "oh great, no dynamic server or client code, just static HTML/CSS for fast loading". If I'm going to have to undergo a "compile step" for my website, it's going to do something worthwhile, darn it.

I keep waiting for someone to write a program that consumes as input Markdown text and emits as output a pure HTML/CSS site literally like this http://bettermotherfuckingwebsite.com/ except with the text from the Markdown file instead of swear words. Maybe it could even accept several Markdown files and make them into blog posts or something. If nobody else does I guess eventually I'll get fed up and build it myself…

Instead of HTML/CSS why not parse markdown to a something even more direct like terminal output. My biddle application does this. Try it out let me know what you thing. Here are some commands to get started:

  git clone git@github.com:prettydiff/biddle.git
  cd biddle
  node biddle    (parses the readme.md file to the terminal)

  node biddle get http://example.com/document.md
  node biddle markdown downloads/document.md

  node biddle markdown downloads/document.md 60 (word wrap at 60 character width)

Re: Show HN: Publish a Markdown website in 5 minutes

#122
post #102
post #30

This is excellent. There has been a lack of tools to solve this exact problem - wanting to get a basic site up very quickly and cheaply. Previously the best alternative was a free Firebase/Google account, and then setting up a HTML/CSS site, and deploying it. This is much faster. Thank you for building it! And please, don't be dissuaded by the other commenters. Sure, the market is much smaller than the market that Sq…

Sounds like you're looking for something similar to what i just released today. It's a service called Idnty and let's you create a simple and clean personal page in no time. No custom domains yet but it's in the pipeline. Please have a look, https://idnty.me

Nice. Timeline on custom domains?

And yes, this looks good for me. I won't use it for a personal homepage, I'll use it for other sites, but seems easy to use it for non-personal homepage sites too.

Re: Show HN: Publish a Markdown website in 5 minutes

#123

Earlier quoted context omitted.

Aw...this makes me so sad. I need to fix my brain. Every time I see "static sites", I think "oh great, no dynamic server or client code, just static HTML/CSS for fast loading". If I'm going to have to undergo a "compile step" for my website, it's going to do something worthwhile, darn it.

I keep waiting for someone to write a program that consumes as input Markdown text and emits as output a pure HTML/CSS site literally like this http://bettermotherfuckingwebsite.com/ except with the text from the Markdown file instead of swear words. Maybe it could even accept several Markdown files and make them into blog posts or something. If nobody else does I guess eventually I'll get fed up and build it myself…

I've used Pandoc.

You can generate a HTML fragment, or an HTML file, or HTML with table of contents, CSS, and footer, etc. http://pandoc.org/demos.html

It has some pretty heavy dependencies, but so far I haven't found anything better for generating a true static site from Markdown. I probably haven't looked hard enough either.

Re: Show HN: Publish a Markdown website in 5 minutes

#124

Earlier quoted context omitted.

Aw...this makes me so sad. I need to fix my brain. Every time I see "static sites", I think "oh great, no dynamic server or client code, just static HTML/CSS for fast loading". If I'm going to have to undergo a "compile step" for my website, it's going to do something worthwhile, darn it.

I keep waiting for someone to write a program that consumes as input Markdown text and emits as output a pure HTML/CSS site literally like this http://bettermotherfuckingwebsite.com/ except with the text from the Markdown file instead of swear words. Maybe it could even accept several Markdown files and make them into blog posts or something. If nobody else does I guess eventually I'll get fed up and build it myself…

Plenty of static site generators, as they're called, exist to do this. Good jumping-off points would be investigating Jekyll (written in Ruby) and Hugo (written in Golang).

https://github.com/jekyll/jekyll

https://github.com/spf13/hugo

Re: Show HN: Publish a Markdown website in 5 minutes

#125

If you want to roll your own, I have a Docker image that pulls Markdown out of git, runs Hugo over it and pushes the site to an S3 bucket. Also works with Bitbucket pipelines so you can get a site rebuild with a simple git push: https://github.com/rabidgremlin/hugo-s3

Now I feel old. I have a very small server running Apache, with mod_markdown installed. .md files are rendered as HTML by Apache, and there's a CSS file to tweak if I feel like it. https://github.com/hamano/apache-mod-markdown

That's similar to how I used to do it it but I got tired of paying for servers.... plus this approach let me play some "buzzword bingo"

BTW my first Internet facing thing was a CGI-BIN Perl script delivering call records for telcos, way back in 1995. I've been cutting code for 35+ years. Never feel old!

Re: Show HN: Publish a Markdown website in 5 minutes

#126

Earlier quoted context omitted.

Aw...this makes me so sad. I need to fix my brain. Every time I see "static sites", I think "oh great, no dynamic server or client code, just static HTML/CSS for fast loading". If I'm going to have to undergo a "compile step" for my website, it's going to do something worthwhile, darn it.

I keep waiting for someone to write a program that consumes as input Markdown text and emits as output a pure HTML/CSS site literally like this http://bettermotherfuckingwebsite.com/ except with the text from the Markdown file instead of swear words. Maybe it could even accept several Markdown files and make them into blog posts or something. If nobody else does I guess eventually I'll get fed up and build it myself…

Org-mode can do everything you're describing.

Re: Show HN: Publish a Markdown website in 5 minutes

#127

Earlier quoted context omitted.

Aw...this makes me so sad. I need to fix my brain. Every time I see "static sites", I think "oh great, no dynamic server or client code, just static HTML/CSS for fast loading". If I'm going to have to undergo a "compile step" for my website, it's going to do something worthwhile, darn it.

I keep waiting for someone to write a program that consumes as input Markdown text and emits as output a pure HTML/CSS site literally like this http://bettermotherfuckingwebsite.com/ except with the text from the Markdown file instead of swear words. Maybe it could even accept several Markdown files and make them into blog posts or something. If nobody else does I guess eventually I'll get fed up and build it myself…

Pandoc does this. However I've found that you really quickly run into limits. I prefer a slightly-more-elaborate-but-still-no-database solution like Kirby. Throw it onto any budget web hoster with php enabled and you get easy Markdown-based content management, but still separation of content and templates, plugins for a contact form or picture gallery etc.

Re: Show HN: Publish a Markdown website in 5 minutes

#128

Earlier quoted context omitted.

Now I feel old. I have a very small server running Apache, with mod_markdown installed. .md files are rendered as HTML by Apache, and there's a CSS file to tweak if I feel like it. https://github.com/hamano/apache-mod-markdown

That's similar to how I used to do it it but I got tired of paying for servers.... plus this approach let me play some "buzzword bingo" BTW my first Internet facing thing was a CGI-BIN Perl script delivering call records for telcos, way back in 1995. I've been cutting code for 35+ years. Never feel old!

I have several almost-zero-traffic sites running from an Odroid (ARM board) at home. The largest site has only 30k requests in the Apache log for October, but it's a photo gallery, so there's 150GB of pictures behind it. There's also a backup of my desktop, which is another 2TB or so.

I set its ancestor up when I was about 16, using Debian -- and invested a fair amount of time in it, learning a lot.

When I bought it in 2013, the cost of cloud storage for a few years was far greater than the cost of the board + a hard drive, but setting up the obscure hardware took more effort than I expected. Nevertheless, I have no plan to switch to cloud services. I like owning my own stuff, and keeping the flexibility to add whatever service I need on the network at home is very useful. For example, I can SSH into it, and control my fancy central heating system, and a while back I added a UPNP media server, which can stream to a Chromecast.

Re: Show HN: Publish a Markdown website in 5 minutes

#129

Earlier quoted context omitted.

That's similar to how I used to do it it but I got tired of paying for servers.... plus this approach let me play some "buzzword bingo" BTW my first Internet facing thing was a CGI-BIN Perl script delivering call records for telcos, way back in 1995. I've been cutting code for 35+ years. Never feel old!

I have several almost-zero-traffic sites running from an Odroid (ARM board) at home. The largest site has only 30k requests in the Apache log for October, but it's a photo gallery, so there's 150GB of pictures behind it. There's also a backup of my desktop, which is another 2TB or so. I set its ancestor up when I was about 16, using Debian -- and invested a fair amount of time in it, learning a lot. When I bought it…

Nice!

Re: Show HN: Publish a Markdown website in 5 minutes

#130
post #2

I have many informational websites like http://www.krister.ee and sometimes I register domains on a whim when I get a really good idea for a website. I decided to create a simple tool to help manage these microsites and in addition to buying a domain I can immediately fill it with demo-content using markdown. Before I get into feature creep (hero image, forms, analytics) I'd like to work on reaching an audience. Prob…

Your target market is somebody that wants to create lots of minimalist websites quickly. (those creating one personal website whose priority is getting things done likely skip the "evaluate best alternatives" step and go straight to Tumblr/Wordpress or their favourite social network.) Unfortunately, apart from polymaths that just want to share their expertise on as many discrete subjects as possible which I'm not con…

Some legitimate use cases:

- Single page property websites/subdomains created by brokers (www.123mainstreet.com)

- parked domain landing pages

Post reply on HN