by mauidude

mauidude / go-readability

A Go implementation of the readability algorithm by arc90 labs

128 Stars 31 Forks Last release: Not found 14 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


go-readability is library for extracting the main content off of an HTML page. This library implements the readability algorithm created by arc90 labs and was heavily inspired by https://github.com/cantino/ruby-readability.


go get github.com/mauidude/go-readability




doc, err := readability.NewDocument(html) if err != nil { // do something ... }

content := doc.Content() // do something with my content


To run tests

go test github.com/mauidude/go-readability

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.