pongo2
Publii
pongo2 | Publii | |
---|---|---|
12 | 97 | |
2,785 | 5,979 | |
- | - | |
1.0 | 9.2 | |
2 months ago | 7 days ago | |
Go | HTML | |
MIT License | GNU General Public License v3.0 only |
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.
pongo2
- 6 🔥 Awesome Golang packages (web devs)
-
pongo2 VS Salix - a user suggested alternative
2 projects | 31 Oct 2023
-
Salix alternatives - pongo2 and Plush
3 projects | 31 Oct 2023
-
What is the current ideal choice for server-side rendered web frameworks?
I've used https://github.com/flosch/pongo2 since it feels more dev friendly (like almost every other framework I've used). Check out https://github.com/avelino/awesome-go#template-engines for some others.
-
FastAPI Replacement - especially with openapi
Doesn’t it bother your that your templates aren’t really valid HTML? Because of the way html/template works, one isn’t really able to implement template inheritance properly. So you end up with opening and closing tags scattered around multiple files? You might want to look at Pongo2, which implements most of Django’s templating syntax (incl. inheritance) and is pretty stable: https://github.com/flosch/pongo2
-
Does Go have an equivalent to Python's Flask and Django?
At least template-wise, I've developed pongo2 mimicking Django's template engine which I use myself for various projects. For the rest I usually stick with the standard library (net/http), golang-jwt, the Gorilla toolkit (note that it's been archived recently) and some software architecture patterns for middlewares, database abstraction, etc.
-
Go template libraries: A performance comparison
pongo2 is a community-built template engine with syntax inspired by Django-syntax. It is built by the community for Go. It is very popular today, with more than 2K stars on GitHub.
-
Build a CMS with golang?
Django uses Jinja templating engine. Something similar is available at https://github.com/flosch/pongo2 Now you just have to pick which router you want and which ORM or not-ORM.
-
State of the Web: Static Site Generators
Yes, Go templating is quite hard. There was a feature request[1] to implement the Django/Jinja2-like Pongo2 template engine[2], but got rejected because it would have been a too big change.
[1]: https://github.com/gohugoio/hugo/issues/1359
[2]: https://github.com/flosch/pongo2
-
Writing a Jinja-inspired template library in Python
Yes, there is pongo2 [0] and my runner (basically a small Go software that runs the template engine) pongo2-runner [1].
I'm not the author of the library (pongo2), but I'm using pongo2-runner to dynamically create config files out of environment variables, with custom logic. Super recommended.
[0]: https://github.com/flosch/pongo2
[1]: https://github.com/swisscom/pongo2-runner
Publii
-
Soupault: A static website management tool
Those have complicated stacks that likely won't serve the person that can't grasp a CLI SSG.
https://getpublii.com has a simple GUI and is just a directory on your computer (inside the Dropbox directory for crude backup?).
-
Show HN: Pages CMS – A CMS for GitHub
Very nice! It looks a bit like Publii [0], but the editor part is cloud hosted instead of running as an app on your machine.
[0] https://getpublii.com/
-
No CMS? Writing Our Blog in React
Publii is one of the few competent attempts at a desktop CMS app.
https://getpublii.com/
They do a lot of things right.
-
Ask HN: Looking for lightweight personal blogging platform
Most SSGs, or if you want to have it easy: https://getpublii.com/ - generates static sites, can publish to github pages (among others), has themes.
- Let's make the indie web easier
- Ask HN: Local Wysiwyg HTML Editor for Mac
- Publii: Static CMS with GUI for Secure, Fast, and GDPR Compliant Websites
-
What's your favorite static site generator?
I also consider https://getpublii.com interesting, but I have not yet had any personal experience with it.
-
How to migrate my static website from GitHub to a NAS, while using Publii?
I'd like to ask for some help regarding on how to "migrate" my website to my personal storage, more specifically how to do that while having everything made with Publii.
-
The theory versus the practice of “static websites”
I haven't used it, but Publii[0] might be along the lines of what you're thinking of. I ran across it in a previous HN discussion, and it seems to be static site generator with a pretty user-friendly graphical interface.
[0]: https://getpublii.com/
What are some alternatives?
quicktemplate - Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
Jet Template Engine for GO - Jet template engine
Hugo - The world’s fastest framework for building websites.
sprig - Useful template functions for Go templates.
GDIndex - A Google Drive Index built with Vue Running on CloudFlare Workers
liquid - A Liquid template engine in Go
gatsby-source-sanity - Gatsby source plugin for building websites using Sanity.io as a backend.
mustache - The mustache template language in Go
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
fasttemplate - Simple and fast template engine for Go
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.