Go HTML

Open-source Go projects categorized as HTML

Top 23 Go HTML Projects

  1. chroma

    A general purpose syntax highlighter in pure Go (by alecthomas)

    Project mention: Create a Hugo Theme from Scratch - III | dev.to | 2024-10-15

    Hugo uses chroma for code highlighting. It works well with the default configuration, but I want to go further, such as having the code block theme switch along with the light and dark modes, and providing code block copying functionality.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. minify

    Go minifiers for web formats (by tdewolff)

  4. bluemonday

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

    Project mention: Don't try to sanitize input. Escape output. (2020) | news.ycombinator.com | 2024-07-13
  5. html-to-markdown

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

    Project mention: Show HN: We made an MCP Server so that Cursor can build anything from API Docs | news.ycombinator.com | 2025-03-24

    I'm frequently constructing context based on up-to-date docs using curl + html2markdown[0] and custom css selectors, which is extremely tedious. MCP servers for docs would be very useful for me.

    That said, I don't really expect the AI itself to come up with docs to read (maybe some day). I want it predominantly so I can manually reference it in my prompt (in e.g. the Zed assistant panel) like `/npmdocs packagename packageversion`.

    But even for AI "self-driven" use-cases, I primarily see the value in read-only MCP servers that provide more context, just in an "as-needed" way, instead of me putting it there explicitly.

    [0]: https://github.com/JohannesKaufmann/html-to-markdown

  6. render

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

  7. docconv

    Converts PDF, DOC, DOCX, XML, HTML, RTF, etc to plain text

  8. gomponents

    HTML components in pure Go.

    Project mention: Building HTML in Go | news.ycombinator.com | 2024-12-05

    Gomponents is also a great way to deal with HTML in Go.

    https://www.gomponents.com/

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pufferpanel

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

  11. go-wkhtmltopdf

    Golang commandline wrapper for wkhtmltopdf

  12. xq

    Command-line XML and HTML beautifier and content extractor

  13. statusnook

    Effortlessly deploy a status page and start monitoring endpoints in minutes

  14. htmlquery

    htmlquery is golang XPath package for HTML query.

  15. xpath

    XPath package for Go, supports HTML, XML, JSON document query and more

  16. nmap-formatter

    A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot), sqlite, excel and d2-lang. Simply put it's nmap converter.

  17. goview

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

  18. ide

    A Go code editor. With debugging and Autocomplete. 一个 Go 代码编辑器,具有 DEBUGGING 和 AUTOCOMPLETE (by thestrukture)

  19. Jade

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

  20. reader

    reader is for your command line what the “readability” view is for modern browsers: A lightweight tool offering better readability of web pages (and EML files!) on the CLI. (by mrusme)

  21. elem-go

    Type-safe Go library for creating and manipulating HTML elements (with htmx helpers).

    Project mention: Local First HTMX Part 2 | dev.to | 2024-07-28

    Going in one level of detail in the main thread we have HTML and some HTMX — not that much as this is a very simple example app that I modified to make Local First. We have a service worker that is running a Go program compiled to WASM. This service worker is responsible for proxying the fetch requests and returning rendered HTML to the main thread. The server runs the same code. In a real world example the server would have some additional code and be authoritative, but I'm bypassing that for the purpose of this POC. If for some reason the service worker is not installed when a fetch request is made, that request will go to the server, be handled by the server and rendered HTML will be returned just as if it was a SSR app. The difference is that once the service worker is installed we do not have to make a full round trip request to the server, instead we make a very fast request to the service worker. Finally in the background we have a simple sync that will run to keep our data somewhat in sync.

  22. go-wkhtmltopdf

    Handcrafted Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface (by adrg)

  23. goq

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

  24. dmarc-report-converter

    Convert dmarc reports from xml to human-readable formats

  25. renderer

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

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Go HTML discussion

Log in or Post with

Go HTML related posts

  • Semaphore UI: Modern UI/API for Ansible, Terraform, OpenTofu, PowerShell

    1 project | news.ycombinator.com | 11 Dec 2024
  • Semaphore UI – Modern UI and Powerful API for Ansible, Terraform

    1 project | news.ycombinator.com | 9 Dec 2024
  • Show HN: Gomponents, HTML components in pure Go

    8 projects | news.ycombinator.com | 17 Oct 2024
  • Show HN: A simple and powerful RSS reader for the web

    4 projects | news.ycombinator.com | 20 Aug 2024
  • File Uploads with HTMX and Golang

    3 projects | dev.to | 19 Aug 2024
  • HTMX + Go : Build a CRUD App with Golang and HTMX

    4 projects | dev.to | 15 Jul 2024
  • Don't try to sanitize input. Escape output. (2020)

    2 projects | news.ycombinator.com | 13 Jul 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 chroma 4,582
2 minify 3,874
3 bluemonday 3,391
4 html-to-markdown 2,838
5 render 1,965
6 docconv 1,694
7 gomponents 1,553
8 pufferpanel 1,510
9 go-wkhtmltopdf 1,116
10 xq 954
11 statusnook 897
12 htmlquery 766
13 xpath 716
14 nmap-formatter 676
15 goview 438
16 ide 360
17 Jade 356
18 reader 344
19 elem-go 335
20 go-wkhtmltopdf 269
21 goq 265
22 dmarc-report-converter 265
23 renderer 263

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?