pongo2

Django-syntax like template-engine for Go (by flosch)

Pongo2 Alternatives

Similar projects and alternatives to pongo2

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pongo2 alternative or higher similarity.

pongo2 reviews and mentions

Posts with mentions or reviews of pongo2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • 6 🔥 Awesome Golang packages (web devs)
    6 projects | dev.to | 4 Dec 2023
  • 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?
    13 projects | /r/golang | 8 Jun 2023
    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
    9 projects | /r/golang | 19 Jan 2023
    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?
    13 projects | /r/golang | 8 Dec 2022
    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
    2 projects | dev.to | 8 Sep 2022
    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?
    5 projects | /r/golang | 7 May 2022
    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
    21 projects | news.ycombinator.com | 30 Jan 2022
    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
    3 projects | news.ycombinator.com | 28 May 2021
    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

  • A note from our sponsor - WorkOS
    workos.com | 24 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic pongo2 repo stats
12
2,779
1.0
about 2 months ago

flosch/pongo2 is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of pongo2 is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com