Live data from Hacker News

Ivy: a minimalist static site generator in Python

github.com

1–10 of 58 posts

Re: Ivy: a minimalist static site generator in Python

#4
I don't mean to detract from Ivy, but...

As an interesting aside, the fact that you can organise your pages in a hierarchy reminds me of cat-v's "werc" website framework[0]. It's not a static site generator, but it will read the directory and file tree into a navigation menu, so you can navigate the tree using a sidebar. It will render pages using markdown on the fly.

Perhaps the "killer feature" is that you can run multiple subdomains using one instance. If you configure your web server correctly, a request to x.y.com will serve the website stored in the x.y.com directory etc.

It's also very small and extensible.

[0] http://werc.cat-v.org

Re: Ivy: a minimalist static site generator in Python

#7

  mysite/
    site.py      # site configuration file
    ext/         # extensions directory for plugins
    inc/         # includes directory for menus, etc.
    lib/         # library directory for themes
    out/         # output directory for html files
    res/         # resources directory for static assets
    src/         # source directory for text files
Isn't this way too messy?

What are the advantages of this over the other 1000000 static site generators?

Re: Ivy: a minimalist static site generator in Python

#8

Looks like a cool project. What made you choose to build this vs use an existing one like Pelican, Nikola, or Lektor? Have you thought about integrating a bundler like Webpack or something similar, and also support for Sass?

Not sure but I tried Pelican recently and found it clunky. Perhaps not fair as I was comparing it to Sphinx which I've a lot of experience with and is quite advanced.

Re: Ivy: a minimalist static site generator in Python

#9
post #4

I don't mean to detract from Ivy, but... As an interesting aside, the fact that you can organise your pages in a hierarchy reminds me of cat-v's "werc" website framework[0]. It's not a static site generator, but it will read the directory and file tree into a navigation menu, so you can navigate the tree using a sidebar. It will render pages using markdown on the fly. Perhaps the "killer feature" is that you can run…

Never took a close look at werc. Pretty cool idea. I wish it were a more modern theme, but I'm guessing that can be changed/fixed easily. The idea stands and it's written in a simple way which is nice.

Re: Ivy: a minimalist static site generator in Python

#10
post #7

mysite/ site.py # site configuration file ext/ # extensions directory for plugins inc/ # includes directory for menus, etc. lib/ # library directory for themes out/ # output directory for html files res/ # resources directory for static assets src/ # source directory for text files Isn't this way too messy? What are the advantages of this over the other 1000000 static site generators?

On the contrary, it appears hyper-organized.
Post reply on HN