GenieFramework / Genie.jl

🧞The highly productive Julia web framework
https://genieframework.com
MIT License
2.21k stars 185 forks source link

Genie as Static site generator #431

Open schlichtanders opened 2 years ago

schlichtanders commented 2 years ago

Problem description

I am currently using Franklin to create my static website, however this comes with a couple of downsides which a pure julia Genie version would simplify I think.

Core components I use for creating my static sides:

Difficulties when using Franklin:

My wish for simplifying the toolset:

Solution sketch

What it needs:

Really nice to have extra:

Alternatives considered

rikhuijzer commented 2 years ago

Why not collaborate with @tlienart on Franklin.jl to address these issues? Thibaut is very open to contributions

schlichtanders commented 2 years ago

Franklin has a different approach as far as I understood it. More markdown focussed.

As described, I myself am looking more for a julia focussed static site builder. In addition, the question was also briefly asked on genie gitter where @essenciary asked to create an issue like this for it. So there also seems to be interest from Genie for static site generation.

tlienart commented 2 years ago

To be fair to @schlichtanders, he did give a lot of useful feedback over at Franklin.jl. I think the points raised as difficulties for Franklin are unlikely to get solved easily:

so if those points matter to a user, and if that's addressed by Genie or some other framework, then that's a win for users who get more choice!

essenciary commented 2 years ago

Our short term goal is to provide a way to export Genie websites as static web pages. Basically to allow decoupling the backend of a Genie app. It's very appealing to have the full power of a web framework without having to pay for the server. With the exception of a dedicated Genie VSCode extension (which is not planned soon but it's something we'd really like to have at some point), I'd say that the features are already there.

I see this as a solution complementary to Franklin in the sense that it will target Genie users which are comfortable working with a full MVC framework, use databases for dynamic generation of content, etc. If we take into account the plugin ecosystem, we could even export Stipple based reactive data dashboards as static webpages (as long as they don't need to update the data from the server).

ShalokShalom commented 5 days ago

Can this be put on a milestone?