Go Specific Formats

Open-source Go projects categorized as Specific Formats

Top 23 Go Specific Format Projects

  • GoQuery

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

    Project mention: Show HN: Flyscrape – A standalone and scriptable web scraper in Go | news.ycombinator.com | 2023-11-11

    Your comment was posted 4 minutes ago. That means you still have enough time to edit your comment to change it so it contains real URLs:

    <https://github.com/PuerkitoBio/goquery>

    <https://github.com/dop251/goja>

    (Please do not reply to this comment—I won't be able to delete it once the previous post is fixed if it contains replies.)

  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

    Project mention: Show HN: Hucksh – A Shell with a Good Memory | news.ycombinator.com | 2023-12-21

    * The shell itself is https://github.com/mvdan/sh, a bash-like command interpreter

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • blackfriday

    Blackfriday: a markdown processor for Go

  • toml

    TOML parser for Golang with reflection. (by BurntSushi)

  • 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

    Project mention: Sponsor the open source projects you depend on | news.ycombinator.com | 2023-04-10

    I'm on the receiving end of donations from sourcegraph for this. It's around $10 per month from that single donation and is for the only Go HTML santizer, which you use when you have user generated / untrusted input that you need to display as HTML. https://github.com/microcosm-cc/bluemonday

    For me the library has been good enough for my own use for a very very long time. I mostly neglect it unless there's some critical issue. I don't improve it at all as my time is better spent on my day job.

    I've often thought that there's room for improvement such as a DOM style santizer to validate input rather than just a SAX style sanitizer, perhaps formatting of output in addition to sanitising input, transformation rules, etc.

    When I got the donation I was surprised, first ever bit of support for open source software I'd written (as this was not written on company dime).

    Even at $10 per month it's motivating enough to think someone values it. If it accrues into something significant I may actually feel motivated to improve it.

    Interesting is that I'd regard this as successful by usage, it's used by virtually everything in the Go world that makes a website.

    Perhaps people don't know it exists though? And for that awareness thanks to thanks.dev

  • gofeed

    Parse RSS, Atom and JSON feeds in Go

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • slug

    URL-friendly slugify with multiple languages support.

  • commonregex

    🍫 A collection of common regular expressions for Go (by mingrammer)

  • htmlquery

    htmlquery is golang XPath package for HTML query.

  • html-to-markdown

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

  • xpath

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

    Project mention: I have this code On Playground.. It is very simplified... but when reading from file it breaks and cannot handle rune characters.... The strings.Replace function just stops working | /r/golang | 2023-02-23

    It looks like you're trying to parse HTML by using the strings package. For reference, you might be better off using an xpath tool or the html package that has built-in tokenizers to do your tokenizing. That makes it easier to find the nodes you're looking for and the values contained within those nodes.

  • omniparser

    omniparser: a native Golang ETL streaming parser and transform library for CSV, JSON, XML, EDI, text, etc.

  • mxj

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

  • go-runewidth

    wcwidth for golang

    Project mention: Terminal Support for Emoji | news.ycombinator.com | 2023-08-08

    Is it windows or is it golang making the difference there? Golang's implementation of wcwidth is different, and a commonly used lib has an 'emoji' table which covers that bomb (1F4A3)

    https://github.com/mattn/go-runewidth/blob/master/runewidth_...

    The family emoji looks to have the wrong width, but it does resemble the behaviour supposed to be fixed by https://github.com/mattn/go-runewidth/pull/63 (see https://github.com/mattn/go-runewidth/issues/59 - like the flag example, that's multiple emojis with zwnj right?)

  • gographviz

    Parses the Graphviz DOT language in golang

  • gotext

    Go (Golang) GNU gettext utilities package

  • goq

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

  • go-nmea

    A NMEA parser library in pure Go

  • gospider

    ⚡ Light weight Golang spider framework | 轻量的 Golang 爬虫框架

  • github_flavored_markdown

    GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links.

  • editorconfig-core-go

    EditorConfig Core written in Go

  • podcast

    iTunes and RSS 2.0 Podcast Generator in Golang

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2023-12-21.

Go Specific Formats related posts

Index

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

Project Stars
1 GoQuery 13,357
2 sh 6,550
3 blackfriday 5,311
4 toml 4,388
5 go-humanize 3,929
6 bluemonday 2,909
7 gofeed 2,367
8 slug 1,057
9 commonregex 874
10 htmlquery 676
11 html-to-markdown 674
12 xpath 638
13 omniparser 610
14 mxj 596
15 go-runewidth 573
16 gographviz 538
17 gotext 414
18 goq 247
19 go-nmea 202
20 gospider 202
21 github_flavored_markdown 155
22 editorconfig-core-go 126
23 podcast 126
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com