Pelican
Grav
Our great sponsors
Pelican | Grav | |
---|---|---|
23 | 84 | |
12,202 | 14,274 | |
1.3% | 0.3% | |
8.9 | 8.6 | |
22 days ago | 15 days ago | |
Python | PHP | |
GNU Affero General Public License v3.0 | 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.
Pelican
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
Pelican is a preferred option for Python developers.
- Why isn’t there a python version of Jekyll / Hugo
-
How to host final project (flask web application) on permanent server?
There's also Pelican but I haven't used it and seeing as Github serves static pages I'd imagine it builds and deploys your page and is done with it.
-
Ask HN: Which Python or Rust-based static site generators to use as of 2023?
I use Pelican (https://getpelican.com/) for my blog, which works decently for me. It is a static site generator written in Python.
But you probably won't learn much Python by using it (or Rust when using a generator written in it) since you probably won't need to change anything in it.
-
Creating a Python Wiki application
Surely a "local private wiki ... not web based ... on a desktop application" is not really a "wiki" at all, but rather a "static site generator" with a built-in "search". If that's what you want, there's a Python app called Pelican. Writing such an app from scratch isn't really a beginners project.
-
Top ten popular static site generators (SSG) in 2023
Pelican — best for Python developers
-
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.
-
Help me find a suitable static site generator
As you're familiar with Python, how about https://getpelican.com?
-
Over 280,000 WordPress Sites Attacked Using WPGateway Plugin Zero-Day Vulnerability
My own blog and portfolio site is hosted on github pages. Since I'm knowledgeable with web development, I use a static site generator, it's a software which generates your site pages for you on the fly based on pre-determined html/css structure and markdown posts. The setup exists in a single folder and all you have to do is push the generated html files to a github repo and the content becomes live on site! It's 100% static and hence 100% free, no PHP scripting or apache or whatsoever. Jekyll and Pelican are the most popular static site generators if you wish to go that route.
-
The flying start of your blog with Pelican and Github Pages
Pelican (anagram of the word calepin which means notebook in French) is what is called a Static Site Generator (SSG).
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
-
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!
-
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.
-
How to create a nice looking website for your game that is reasonably low effort and cost
As an alternative to a static site with Hugo you can use grav for dynamic sites. Can't use it with GitHub pages, of course, but it does allow you to add searches and such to your site, while still writing your content in markdown files.
-
Advice for a complete beginner who's learning how to create a novel hosting site
If not, then it's grav cms which is more than enough for you.
- Ask HN: Simplest CMS for blog type website
- Using PHP Forms to Update HTML Website
- Ask HN: What's on Your Home Server?
What are some alternatives?
Pico - Pico is a stupidly simple, blazing fast, flat file CMS.
Lektor - The lektor static file content management system
Nikola - A static website and blog generator
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.
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.
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
GetSimple CMS - GetSimple CMS
Kirby - Kirby's core application folder