Live data from Hacker News

Static Site Generators

staticsitegenerators.net

71–80 of 123 posts

Re: Static Site Generators

#71
post #52

Is there any static site generators for photos? Something like "host your own flickr"? Something that uses exif tags, directory hierarchy, etc to make a static browsable list of your photos?

I can highly recommend Photofloat by Jason Donenfeld:

http://git.zx2c4.com/PhotoFloat/about/

Re: Static Site Generators

#72
I didn't see Hakyll [1] on the list. It is a minimal static site generator written in Haskell. I have just set it up for my first personal site [2]. It is my first experience using a static site generator, and so far I can highly recommend giving it a go.

[1] http://jaspervdj.be/hakyll/ [2] http://willsewell.name

Re: Static Site Generators

#73
post #20

My 60 yr old mother runs 2 small nonprofits, and is responsible for the web content and design. She's a pro with Word Perfect, but gets confused by simple HTML tags, and no interest, time, or aptitude to learn HTML/CSS/JavaScript. Last weekend, she asked for help with her website, and I was shocked to find out they still look like they're out of the late 90's. She does all of her editing with a 2006 copy of dreamweav…

Here's an interesting editor that I stumbled across recently, can't wait to use it somewhere: http://madebymany.github.io/sir-trevor-js/example.html.

Rather than offering extensive formatting options, it supports blocks for different types of content. This should make it easier to integrate into well-designed template without fear that the user will break it by abusing formatting, while still allowing to arrange the content freely.

It seems like it would be easy to integrate it with some simple back-end:

> The content of the editor is stored as markdown inside a JSON object, with the structure and the contents of the post serialized inside of it.

And, albeit it's not strictly on-topic, seems like you might be interested in just using a website builder. I don't know about pricing in this area of business, though. From the top of my head I remember http://www.weebly.com is one of these.

Re: Static Site Generators

#74
post #3

This is slightly off-topic, but are there any rich-text web editors that output to Markdown? I rarely need the full featureset of Markdown and would prefer a simple editor that gets me half way there, while still ultimately outputting Markdown for storage/use in something like a static site generator.

http://md-wysiwyg.sourceforge.net/ might fit your needs? There's a link to a demo page under the second header. It's a bit primitive, but I guess that's the point. Be sure to hit the "Return markdown text" checkbox.

The options for wysiwyg Markdown editing are few; they’re listed here.¹ Rich text editing for Markdown, still is an unsolved problem.²

¹ https://github.com/rhythmus/markdown-resources/blob/master/m...

² https://github.com/quilljs/quill/issues/74#issuecomment-4294...

Re: Static Site Generators

#75

Quickly scanned through - pretty sure jinja is a templating engine, not a static site generator...

You're right, thanks! https://github.com/jaspervdj/static-site-generator-comparison/commit/610b1b35742a281a84bfb18cf026842d1b92bf67

Also, the link to Heckle is dead. Did you mean my Heckle? https://github.com/marijnh/heckle

Re: Static Site Generators

#76
post #75

Earlier quoted context omitted.

You're right, thanks! https://github.com/jaspervdj/static-site-generator-comparison/commit/610b1b35742a281a84bfb18cf026842d1b92bf67

Also, the link to Heckle is dead. Did you mean my Heckle? https://github.com/marijnh/heckle

Not sure, I assume so. I think it was part of a bunch of SSGs imported from another listing.

    https://github.com/jaspervdj/static-site-generator-comparison/commit/96f23ed30db97067feb42b2f9100ec48c2596eb6

Re: Static Site Generators

#77

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

I wrote a very rudimentary Django module which does that:

https://github.com/stucchio/Stiletto

No idea if it works with the latest django, I haven't used it since roughly 1.4.

Re: Static Site Generators

#78
I've been using Pelican as my static site generator of choice, but I'm frustrated that Markdown and ReStructured Text are the only formats it can handle. I chose ReStructured Text over Markdown, but what I really want is to write org files. I've been meaning to roll my own solution in Emacs Lisp using org-publish plus some custom functions to generate RSS feeds, but I haven't gotten around to it yet.

Re: Static Site Generators

#80

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

Fog Creek City Desk used to do this - 10 years or so ago.
Post reply on HN