Nikola
Grav
Nikola | Grav | |
---|---|---|
10 | 84 | |
2,555 | 14,304 | |
0.5% | 0.2% | |
7.9 | 8.5 | |
3 days ago | 2 days ago | |
Python | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Nikola
-
5 Best Static Site Generators in Python
Nikola is a feature-rich static site generator that supports a variety of formats for content creation, including reStructuredText, Markdown, and Jupyter Notebooks. It offers a flexible architecture, allowing you to use different template engines and supports plugins for extending functionality. Nikola is suitable for both simple blogs and complex websites.
- Nikola – Static Site Generator
-
Trying to work around a Jekyll site-building tutorial without using Jekyll
You can - you'd basically just create a python script that parses your HTML/CSS files and replaces strings with values from your YAML. However I wouldn't recommend that unless you're just using this as an opportunity to learn Python. If you want to standup a real site and you want to use python, I'd recommend a Python static site generator like Pelican or Nikola.
-
I'm building a personal website. Should I bother doing it in Python or just use a template?
I tend to prefer static site generators for this kind of use case. I use Nikola, which is written in and based on Python. You should be able to pick whatever html5up template you like and turn it into a Nikola template, too.
- Building a personal blog using Django
-
Ask HN: How to build a light weight personal blog?
I switched to Nikola recently: https://getnikola.com/
Reads every kind of plaintext format, but will also just publish a Jupyter notebook which means you can do drag and drop image and graph inlining which makes everything so much simpler (and thus makes me more likely to keep it up).
-
What is the best Python static site generator?
I've been using Nikola and am happy with it: https://github.com/getnikola/nikola
-
Ask HN: Great tools for solo SaaS founders?
Might be this static site generator: https://getnikola.com/
Found it by searching [nikola software].
-
Emacs markdown export
I know you say you're comfortable with your workflow, but just wanted to throw out that if you're not dependent on Jekyll, and are simply looking for the best way to create a static site/blog from org-mode files, you could consider Nikola as an alternative. It has an excellent org-mode plugin which would likely solve your complication.
-
Static site generators to watch in 2021
I also know that there is also Python-based Lektor [2], however I found Nikola more intriguing than this one.
[0] https://getnikola.com/
Grav
-
Ask HN: What products other than Obsidian share the file over app philosophy?
There are flat-file CMSes (content management systems) like Grav: https://getgrav.org/
I guess, in some vague/broad sense, config-as-code systems also implement something similar? Maybe even OpenAPI schemas could count to some degree...?
In the old days, the "semantic web" movement was an attempt to make more webpages both human- and machine-readable indefinitely by tagging them with proper schema: https://en.wikipedia.org/wiki/Resource_Description_Framework. Even Google was on board for a while, but I guess it never saw much uptake. As far as I can tell it's basically dead now, both because of non-semantic HTML (everything as a React div), general laziness, and LLMs being able to parse things loosely.
-------------
Side thoughts...
Philosophically, I don't know that capturing raw data alone as files is really sufficient to capture the nuances of any particular experience, or the overall zeitgeist of an era. You can archive Geocities pages, but that doesn't really capture the novelty and indie-ness of that era. Similarly, you can save TikTok videos, but absent the cultural environment that created them (and a faithful recreation of the recommendation algorithm), they wouldn't really show future archaeologists how teenagers today lived.
I worked for a natural history museum for a while, and while we were there, one of the interesting questions (well, to me anyway) was whether our web content was in and of itself worth preserving as a cultural artifact -- both so that future generations can see what exhibits were interesting/apropos for the cultures of our times, but also so they could see how our generation found out about those exhibitions to begin with (who knows what the Web will morph into 50 years later). It wasn't enough to simply save the HTML of our web pages, both because they tie into various other APIs and databases (like zoological collections) and because some were interactive experiences, like games designed to be played with a mouse (before phones were popular), or phone chatbots with some of our specimens. To really capture the experience authentically would've required emulating not just our tech stacks and devices, among other things.
Like for the earlier Geocities example, sure you could just save the old HTML and render it with a modern browser, but that's not the same as something like https://oldweb.today/?browser=ns3-mac#http://geocities.com/ , which emulates the whole OS and browser too. And that still isn't the same as having to sit in front of a tiny CRT and wait minutes for everything to download over a 14.4k modem, only to be interrupted when mom had to make a call.
I guess that's a longwinded of critiquing "file over app": It only makes sense for things that are originally files/documents to begin with. Much of our lives now are not flat docs but "experiences" that take much more thought and effort to archive. If the goal is truly to preserve that posterity, it's not enough to just archive their raw data, but to develop ways to record and later emulate entire experiences, both technological and cultural. It ain't easy!
- Soupault: A static website management tool
- Grav is a modern open-source flat-file CMS
- Grav – A Modern Flat-File CMS Using PHP and Markdown
-
It Took Me a Decade to Find the Perfect Personal Website Stack – Ghost+Fathom
I took a more traditional approach, focusing on something that's "good enough", which in my case was a cheap VPS and an install of Grav: https://getgrav.org/
Some optional customization for page templates/fonts/CSS, some CI so I can build and deploy it inside of a Docker container, Matomo for analytics that respect privacy (which I already use elsewhere) and some additional web server configuration to hide anything interesting behind an additional login and I'm good. Maybe backups and uptime monitoring if I'm feeling brave, which is what most sites should also have (so copy + paste there).
All of that for under 100 euros per year (could also pay half of that if I didn't host anything else on the server), the blog has actually survived getting on the front page of HN once or twice and requires relatively little maintenance, at least a bit less than a proper install of WordPress, due to its larger surface area.
The best thing is that it's simple enough for me to understand how it works, to be able to move it anywhere as needed and use more or less plain Markdown for writing the blog posts. Here's a quick example of a recent post: https://blog.kronis.dev/articles/ever-wanted-to-read-thousan...
Now all that's left is to find motivation to write more, but at least 90% of my time doesn't go into tinkering with custom fancy solutions, no matter how much I'd love that. Then again, nothing wrong with the alternatives either: 400 euros might be perfectly worth it for some, whereas working with static site generators or even custom CMSes would be a fun experience for others!
- Grav: Modern, open-source, flat-file CMS
-
Is it possible to convert a WordPress site into a static site that can still be easily edited?
I'd check out Grav. https://getgrav.org/
-
Gravity - A new, open source DNS/DHCP server with Adblocking and inbuilt config replication
Also, there is a CMS called Grav. Both Gravity and Grav use a very similar (but not identical) font for their logo.
- Mercredi Tech - 2023-06-28
-
website with unlimited pages ??
I would use a flat file cms like https://getgrav.org
What are some alternatives?
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
Pico - Pico is a stupidly simple, blazing fast, flat file CMS.
Lektor - The lektor static file content management system
october - Self-hosted CMS platform based on the Laravel PHP Framework.
Hugo - The world’s fastest framework for building websites.
Bolt - Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
Bludit - Simple, Fast, Secure, Flat-File CMS
Hyde - A Python Static Website Generator
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
Cactus - Static site generator for designers. Uses Python and Django templates.
GetSimple CMS - GetSimple CMS