Categories

Text Processing

Libraries for parsing and manipulating texts.

Repos

234

Stars

153,886

30 days

+494

Markup Languages

JohannesKaufmann

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

Created May 2018

cli converter go golang html
Total 3,845
30 days +15
antchfx

htmlquery is golang XPath package for HTML query.

Created Dec 2017

go golang html html-parser xpath
Total 783
30 days +0
andrewstuart

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

Created Feb 2017

decoder golang goquery html html-unmarshaling
Total 270
30 days +1

Sanitation

microcosm-cc

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

Created Nov 2013

allowlist go golang html owasp
Total 3,736
30 days +10

Scrapers

foolin

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

Created Apr 2020

colly crawler deserialization go golang
Total 113
30 days +1

More

tdewolff

Go minifiers for web formats

Created May 2014

css go html javascript js
Total 4,160
30 days +11
tdewolff

Go parsers for web formats

Created Nov 2014

css go html javascript js
Total 512
30 days +1
k3a

Simple Go package to convert HTML to plain text

Created May 2017

go golang html package plain
Total 192
30 days +1
grokify

export stripTags from html/template as strip.StripTags

Created Nov 2016

golang html utilities
Total 146
30 days +0
mattn

Convert HTML into Markdown

Created Feb 2018

go golang html markdown
Total 125
30 days +0
nfx

Structured HTML table data extraction from URLs in Go that has almost no external dependencies

Created Sep 2022

data-extraction go go-generics html
Total 122
30 days +0
dyatlov

Golang package for parsing OpenGraph data from HTML into regular structures

Created Sep 2015

go golang html json-representation opengraph
Total 76
30 days +0
otiai10

Open Graph Parser for Go

Created Sep 2017

go html ogp ogp-image ogp-meta
Total 75
30 days +0
msoap

Library and cli for extracting data from HTML via CSS selectors

Created Jan 2016

cli css-selector extract-data golang homebrew
Total 71
30 days +0
h12w

A fluent and functional approach to querying HTML

Created Jan 2014

crawler dom go golang golang-package
Total 50
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.