Skip to main content

Ralsina.Me — Roberto Alsina's website

Nikola 1.2 is out!

Ver­sion 1.2 of Niko­la, my stat­ic site gen­er­a­tor and the soft­ware be­hind this very site, is out!

Why build stat­ic sites? Be­cause they are light in re­sources, they are fu­ture-proof, be­cause it's easy, be­cause they are safe, and be­cause you avoid lockin.

New Fea­tures:

  • Im­age gallery (just drop pics on a fold­er)

  • Built-in web­serv­er for pre­views (doit -a serve)

  • Helper com­mands to cre­ate new posts (doit -a new_­­post)

  • Google Sitemap sup­­port

  • A Hand­­book!

  • Full de­­mo site in­­­clud­ed

  • Sup­port for au­to­mat­ic de­ploy­ment (doit -a de­­ploy)

  • Clien­t-­­side redi­rec­­tions

And of course the old fea­tures:

  • Write your posts in re­Struc­­tured text

  • Clean, cus­­tom­iz­a­ble page de­sign (via boot­s­trap)

  • Com­­ments via Dis­­qus

  • Sup­­port any an­a­­lyt­ics you want

  • Build blogs with tags, feed­s, feeds for your tags, in­­dex­es, and more

  • Works like a sim­­ple CMS for things out­­­side your blog

  • Clean cus­­tom­iz­a­ble tem­­plates us­ing Mako

  • Pure python, and not a lot of it (about 600 lines)

  • Smart builds (doit on­­ly re­builds changed pages)

  • Easy to ex­­tend and im­prove

  • Code dis­­­played with syn­­tax high­­­light­ing

Right now Niko­la does lit­er­al­ly ev­ery­thing I need, so if you try it and need some­thing else... it's a good time to ask!

More in­fo at http://niko­la-­gen­er­a­tor.­google­code.­com

Martin Cerdeira / 2012-04-10 01:45:

Groso!
Pregunta, estás usando un estilo más "literate programming", o me pareció?

Roberto Alsina / 2012-04-10 03:46:

Si es así, es totalmente accidental...

Martín Gaitán / 2012-04-10 02:20:

Roberto, se ve muy piola.

btw, conocés Pelican [1] ?

[1] http://pelican.notmyidea.or...

me gusta el tip de usar github pages como hosting. Y en general, parece que la monada está toda en Github. Sé que lo tuyo no es lo trendy, pero capaz que es más facil que alguien te mande aportes

Roberto Alsina / 2012-04-10 03:34:

No, no lo conocía! Veo que tiene muchas cosas en común!

Me parece que le voy a chorear la idea de metadata en el documento :-)

Una de las cosas que yo necesitaba era poder decir exactamente adonde terminaban las páginas, para mantener las URLs que tenía de antes,
eso fue lo que me convenció de hacer mi propio programa. Por otro lado, Nikola es algo así como 1/10 del código de Pelican, pero no sé si eso es bueno o malo ;-)


Contents © 2000-2023 Roberto Alsina