Go Text processing

Open-source Go projects categorized as Text processing

Top 23 Go Text processing Projects

  • micro-editor

    A modern and intuitive terminal-based text editor

    Latest mention: Show HN: Micro – A platform for cloud native development in Go | news.ycombinator.com | 2021-01-25

    Isn't there [another editor](https://github.com/zyedidia/micro) written in golang called 'micro'?

  • GoQuery

    A little like that j-thing, only in Go.

    Latest mention: Travel Advisory Thursday | reddit.com/r/belgium | 2021-01-21

    Depends on your programming language of choice. In Go I like this one: https://github.com/PuerkitoBio/goquery

  • blackfriday

    Blackfriday: a markdown processor for Go

    Latest mention: My stack will outlive yours | reddit.com/r/programming | 2021-01-07

    Not being able to re-use html templates was a major problem for me (Web components could solve this when they get rid of the need for JS to use them, which I think will soon happen), and I also needed easy source code highlighting as I mostly write about code. So I wrote a Go generator that did just what I needed and now write my blog posts mostly in markdown, with support for code highlighting thanks to Blackfriday and bfchroma... both of which are simple Go libraries which I "vendor" (copy the source into my own project, so to speak) so if they stop maintaining them, it doesn't affect me much or at all.

  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt

  • toml

    TOML parser for Golang with reflection.

  • go-humanize

    Go Humans! (formatters for units to human friendly sizes)

  • bluemonday

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

  • gofeed

    Parse RSS, Atom and JSON feeds in Go

  • xurls

    Extract urls from text

  • commonregex

    🍫 A collection of common regular expressions for Go

  • slug

    URL-friendly slugify with multiple languages support.

  • whatlanggo

    Natural language detection library for Go

  • Dataflow kit

    Extract structured data from web sites. Web sites scraping.

  • Koazee

    A StreamLike, Immutable, Lazy Loading and smart Golang Library to deal with slices.

  • mxj

    Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.

  • gographviz

    Parses the Graphviz DOT language in golang

  • xpath

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

  • go-runewidth

    wcwidth for golang

  • htmlquery

    htmlquery is golang XPath package for HTML query.

    Latest mention: XPath package for HTML Query, No third-party library dependencies | reddit.com/r/golang | 2020-12-30
  • gotext

    Go (Golang) GNU gettext utilities package

  • gotabulate

    Gotabulate - Easily pretty-print your tabular data with Go

  • go-edlib

    Golang string comparison and edit distance algorithms library, featuring : Levenshtein, LCS, Hamming, Damerau levenshtein (OSA and Adjacent transpositions algorithms), Jaro-Winkler, Cosine, etc...

  • goq

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

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-01-25.

Index

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

Project Stars
1 micro-editor 15,964
2 GoQuery 9,709
3 blackfriday 4,626
4 sh 3,434
5 toml 3,405
6 go-humanize 2,493
7 bluemonday 1,759
8 gofeed 1,530
9 xurls 753
10 commonregex 717
11 slug 623
12 whatlanggo 473
13 Dataflow kit 447
14 Koazee 441
15 mxj 435
16 gographviz 411
17 xpath 367
18 go-runewidth 326
19 htmlquery 322
20 gotext 289
21 gotabulate 257
22 go-edlib 245
23 goq 186