Go HTML

Open-source Go projects categorized as HTML | Edit details

Top 23 Go HTML Projects

  • GitHub repo semaphore

    Modern UI for Ansible

    Project mention: Ansible AWX - Any up to date docker-compose.yml they can share? | reddit.com/r/selfhosted | 2021-10-08

    Use https://ansible-semaphore.com/ instead of AWX

  • GitHub repo gotenberg

    A Docker-powered stateless API for PDF files.

    Project mention: Laravel development & production ready Docker build - help needed | reddit.com/r/laravel | 2021-11-11

    If you need it for PDF conversions, I suggest you take a bit larger container, but one that everyone else uses. Gotenberg is a popular project that has it's own API wrapper to provide access to libreoffice among others.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo chroma

    A general purpose syntax highlighter in pure Go

    Project mention: Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc. | reddit.com/r/planetemacs | 2021-09-23
  • GitHub repo minify

    Go minifiers for web formats (by tdewolff)

  • GitHub repo bluemonday

    bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS

    Project mention: HTML Sanitizer API | news.ycombinator.com | 2021-05-06

    My thoughts as a maintainer of a HTML sanitizer https://github.com/microcosm-cc/bluemonday

    1. Sanitizing is not difficult, defining the policy/config is difficult as your need is not someone else's. First glance of this proposal is that this needs a lot more work to cover people's needs. It's good enough, but will have a lot of edges and will need to evolve.

    2. If you allow a blocklist then people will use that by default as it's easier to say "I don't want " than it is to say "I only accept 3. Even if you sanitize something you should keep the raw input... you should store the raw input alongside the sanitized (in fact the sanitized is merely a cached version of the raw input having been sanitized). The reason for this is you will have issues you need to debug (and can't without the input) and you will have round-trip edits you should support (but it's not round-trippable when everything you return is different from the input, do not punish a user who pasted HTML thinking it was safe by then not allowing them to edit it out because you threw everything away). Additionally if you want to ever report on the input, i.e. topK values, and you've modified the input and not kept raw, then you can never do this.

    4. Provide a sane default. Most engineers simply do not know what is safe or not. I ship a policy in bluemonday for user generated content... it is safe by default and good enough for most people, and it can be taken and extended due to the way the API is structured so can cover other scenarios as a foundation policy.

    I think the proposal in general: specify a standard for a sanitization API has merit. But mostly it has merit if it specifies a standard for defining sanitization policies/configuration, allowing them to be portable across different languages and systems.

    The one I wrote is very heavily inspired by https://github.com/owasp/java-html-sanitizer which is the OWASP project one maintained by Mike Samuel. When I did my research before writing the Go one, this was far and away the best way to construct the policy/config and I already saw that this perspective was more valuable than whether it's a token based parser (GIGO but low memory) or a DOM builder (more memory)... no-one cares about the internals, they care about expressing what safe means to them.

  • GitHub repo render

    Go package for easily rendering JSON, XML, binary data, and HTML templates responses. (by unrolled)

    Project mention: Any good git repos made by a single dev? | reddit.com/r/golang | 2021-08-18
  • GitHub repo PufferPanel

    PufferPanel is an open source game server management panel, designed for both small networks and game server providers.

    Project mention: How would I make a panel like Pterodactyl, or Multicraft? | reddit.com/r/admincraft | 2021-03-23

    With that said pufferpanel is an.excellent starting point

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo go-wkhtmltopdf

    Golang commandline wrapper for wkhtmltopdf (by SebastiaanKlippert)

    Project mention: [Advice] Generating PDFs in Golang. | reddit.com/r/golang | 2021-11-23

    Simplest way is to use a Go package: https://github.com/SebastiaanKlippert/go-wkhtmltopdf

  • GitHub repo xpath

    XPath package for Golang, supports HTML, XML, JSON document query.

  • GitHub repo htmlquery

    htmlquery is golang XPath package for HTML query.

    Project mention: XPath package for HTML Query, No third-party library dependencies | reddit.com/r/golang | 2020-12-30
  • GitHub repo html-to-markdown

    ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules. (by JohannesKaufmann)

  • GitHub repo Jade

    Jade.go - pug template engine for Go (golang)

  • GitHub repo goview

    Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

  • GitHub repo renderer

    Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go

  • GitHub repo goq

    A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library

  • GitHub repo gomponents

    View components in pure Go, that render to HTML 5.

    Project mention: Daz: Composable HTML components in golang | reddit.com/r/golang | 2021-03-22

    reminds me of https://github.com/maragudk/gomponents

  • GitHub repo htmlgo

    A library for writing type-safe HTML in Golang

    Project mention: Chaining methods in go with struct inheritance | reddit.com/r/golang | 2021-02-25

    Good suggestion. This is similar to htmlgo which is another library I looked at to get ideas https://github.com/julvo/htmlgo

  • GitHub repo go-wkhtmltopdf

    Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface

  • GitHub repo go-premailer

    Inline styling for html mail in golang

  • GitHub repo gomodest

    A complex SAAS starter kit using Go, the html/template package, and sprinkles of javascript.

    Project mention: Ask HN: What novel tools are you using to write web sites/apps? | news.ycombinator.com | 2021-04-04
  • GitHub repo pgo

    Go library for PHP community with convenient functions

  • GitHub repo html2data

    Library and cli for extracting data from HTML via CSS selectors

  • GitHub repo pagser

    Pagser is a simple, extensible, configurable parse and deserialize html page to struct based on goquery and struct tags for golang crawler

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-23.

Go HTML related posts

Index

What are some of the best open-source HTML projects in Go? This list will help you:

Project Stars
1 semaphore 4,548
2 gotenberg 3,113
3 chroma 2,992
4 minify 2,814
5 bluemonday 2,126
6 render 1,558
7 PufferPanel 702
8 go-wkhtmltopdf 678
9 xpath 435
10 htmlquery 424
11 html-to-markdown 285
12 Jade 267
13 goview 254
14 renderer 229
15 goq 203
16 gomponents 201
17 htmlgo 85
18 go-wkhtmltopdf 79
19 go-premailer 77
20 gomodest 63
21 pgo 60
22 html2data 49
23 pagser 42
Find remote jobs at our new job board 99remotejobs.com. There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com