SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go HTML Projects
-
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.
-
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.
-
-
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 -
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-24I'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
-
render
Go package for easily rendering JSON, XML, binary data, and HTML templates responses. (by unrolled)
-
-
Gomponents is also a great way to deal with HTML in Go.
https://www.gomponents.com/
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
pufferpanel
PufferPanel is an open source game server management panel, designed for both small networks and personal use
-
-
-
-
-
-
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.
-
goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
-
ide
A Go code editor. With debugging and Autocomplete. 一个 Go 代码编辑器,具有 DEBUGGING 和 AUTOCOMPLETE (by thestrukture)
-
-
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)
-
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.
-
go-wkhtmltopdf
Handcrafted Go bindings for wkhtmltopdf and high-level HTML to PDF conversion interface (by adrg)
-
goq
A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library
-
-
renderer
Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go (by thedevsaddam)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go HTML discussion
Go HTML related posts
-
Semaphore UI: Modern UI/API for Ansible, Terraform, OpenTofu, PowerShell
-
Semaphore UI – Modern UI and Powerful API for Ansible, Terraform
-
Show HN: Gomponents, HTML components in pure Go
-
Show HN: A simple and powerful RSS reader for the web
-
File Uploads with HTMX and Golang
-
HTMX + Go : Build a CRUD App with Golang and HTMX
-
Don't try to sanitize input. Escape output. (2020)
-
A note from our sponsor - SaaSHub
www.saashub.com | 24 May 2025
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 |