Go Parser

Open-source Go projects categorized as Parser | Edit details

Top 23 Go Parser Projects

  • GitHub repo jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

    Project mention: Some Go(lang) tips | dev.to | 2021-10-02

    What to use Easyjson is about the top of the pack and it's straightforward. The downside of efficient tools is that they use code generation to create the code required to turn your structs into json to minimise allocations. This is a manual build step which is annoying. Interestingly json-iterator also uses reflection but it's significantly faster. I suspect black magic.

  • GitHub repo sh

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

    Project mention: Code formatter, linters, etc. Recommendations? | reddit.com/r/bash | 2021-09-29

    There is shellcheck, and shellharden which is a strict version of it. There are similar stuff here, some that also help with your editor. You can also use a docker version of shfmt. See here for a quick tutorial on shfmt.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

    Project mention: Whats the fastest JSON unmarshaling package as of right now? | reddit.com/r/golang | 2021-11-02

    If you don't know the schema or you only need to access one or two fields in a much larger JSON object, I would recommend https://github.com/buger/jsonparser as it provides an easy API to access specific values without fully unmarshaling. This is an unusual use case though, 9 times out of 10 I would tend to use easyjson.

  • GitHub repo ini

    Package ini provides INI file read and write functionality in Go

  • GitHub repo participle

    A parser library for Go

    Project mention: Is GO a good option to write a compiler/interpreter? | reddit.com/r/golang | 2021-11-27

    I made a domain specific language using https://github.com/alecthomas/participle what I found interesting is the grammar defined in structure annotations. After the parser runs, you get a fully instantiated structure based upon the input. I then invoke structure methods to do the work described in the DSL.

  • GitHub repo gofeed

    Parse RSS, Atom and JSON feeds in Go

    Project mention: Automatice el README para su perfil de GitHub con Go y GitHub Actions | dev.to | 2021-04-25
  • GitHub repo dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

    Project mention: Can Vim show the key-chain like Android Studio does for JSON files? | reddit.com/r/vim | 2021-11-10
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo when

    A natural language date/time parser with pluggable rules (by olebedev)

  • GitHub repo goawk

    A POSIX-compliant AWK interpreter written in Go

    Project mention: A Git Implementation in Awk | news.ycombinator.com | 2021-10-06

    Namespaces (GNU Awk 5.0+) make Awk pretty well suited for larger projects (as demonstrated by aho), but it never quite took off; this article (by the author of GoAwk[1]) is a nice look at the relevance of Awk in 2020: https://lwn.net/Articles/820829/

    [1]: https://github.com/benhoyt/goawk

  • GitHub repo PHP-Parser

    PHP parser written in Go (by z7zmey)

    Project mention: NoColor — validate the architecture of your PHP project | reddit.com/r/PHP | 2021-06-28

    Unfortunately, there are problems with using Go for parsing, it is a parsing library. We use https://github.com/z7zmey/php-parser which now fully supports PHP 7.4, but the developer is currently not active and it is not known when PHP 8 will be supported (most likely we will do it ourselves soon).

  • GitHub repo kong

    Kong is a command-line parser for Go (by alecthomas)

    Project mention: Made my first command-line tool with Golang | reddit.com/r/golang | 2021-05-12

    I think it is probably just a matter of personal taste, but I like to handle params and flags on the main function. I am probably biased by C experience and using https://github.com/alecthomas/kong though. Kong is certainly not as popular as cobra, but its approach.

  • GitHub repo form

    :steam_locomotive: Decodes url.Values into Go value(s) and Encodes Go value(s) into url.Values. Dual Array and Full map support. (by go-playground)

  • GitHub repo ojg

    Optimized JSON for Go

    Project mention: Go 1.17 Release Notes | news.ycombinator.com | 2021-08-16
  • GitHub repo omniparser

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

    Project mention: A (streaming) text parser supports many formats like EDI, JSON, fixed-lenght, csv, XML etc. | reddit.com/r/golang | 2021-03-28
  • GitHub repo demoinfocs-golang

    High performance CS:GO demo parser for Go (demoinfo)

    Project mention: How to emulate CSGO client-side demos (aka POV demos) with server-side demos (aka GOTV demos) and HLAE | reddit.com/r/GlobalOffensive | 2021-10-31

    I'm not sure. That might be something that /u/afx-dtugend can answer. Or, you might make as a feature request to one of the CSGO demo parsers, like this one that I use.

  • GitHub repo graphql-go-tools

    Tools to write high performance GraphQL applications using Go/Golang.

    Project mention: Moving Apollo Federation 2 to the Elastic License v2 | news.ycombinator.com | 2021-11-05
  • GitHub repo gcfg

    read INI-style configuration files into Go structs; supports user-defined types and subsections

  • GitHub repo iso8601

    A fast ISO8601 date parser for Go

  • GitHub repo ofxgo

    Golang library for querying and parsing OFX

  • GitHub repo mp4

    :movie_camera: Basic MP4 reader in Go! CLI + Golang Package for ISO/IEC 14496-12 - ISO Base Media File Format (by alfg)

    Project mention: A Quick Dive Into MP4 | dev.to | 2021-04-30

    For a more complete example of reading MP4 boxes in Go, check out: https://github.com/alfg/mp4

  • GitHub repo metricsql

    Standalone PromQL and MetricsQL parser

    Project mention: tstorage: A fast time-series database library | reddit.com/r/golang | 2021-06-01

    You can write a query parser with "github.com/VictoriaMetrics/metricsql". Actually I'm looking to write a tiny TSDB that supports PromQL with tstorage and this metricsql.

  • GitHub repo ujson

    µjson - A fast and minimal JSON parser and transformer that works on unstructured JSON

    Project mention: µjson — A minimal JSON parser and transformer in Go | dev.to | 2021-01-08

    This is the original motivation behind µjson. The following example finds keys ending with _id" ("order_id", "item_id", etc.) and converts their values from numbers to strings, by simply wrapping them in double-quotes.

  • GitHub repo pagser

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

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-11-27.

Go Parser related posts

Index

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

Project Stars
1 jsoniter 10,117
2 sh 4,280
3 jsonparser 4,263
4 ini 2,746
5 participle 2,277
6 gofeed 1,746
7 dasel 1,690
8 when 1,133
9 goawk 1,121
10 PHP-Parser 836
11 kong 721
12 form 502
13 ojg 430
14 omniparser 393
15 demoinfocs-golang 359
16 graphql-go-tools 251
17 gcfg 155
18 iso8601 96
19 ofxgo 94
20 mp4 66
21 metricsql 65
22 ujson 52
23 pagser 42
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com