1
0
Fork
You've already forked go-slippi
0
A Golang parser for .slp slippi files.
  • Go 100%
dependabot[bot] 02d818dda2
Bump golang.org/x/text from 0.25.0 to 0.26.0 ( #20 )
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.25.0...v0.26.0)
---
updated-dependencies:
- dependency-name: golang.org/x/text
 dependency-version: 0.26.0
 dependency-type: direct:production
 update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025年06月14日 13:36:43 +01:00
.github Adds dependabot.yml for version updates. 2023年12月28日 11:40:19 +00:00
internal Various cleanup bits. 2023年12月31日 10:28:56 +00:00
slippi Various cleanup bits. 2023年12月31日 10:28:56 +00:00
test Various cleanup bits. 2023年12月31日 10:28:56 +00:00
.gitignore Raw parsing ( #1 ) 2023年12月21日 17:02:29 +00:00
errors.go Raw parsing ( #1 ) 2023年12月21日 17:02:29 +00:00
go.mod Bump golang.org/x/text from 0.25.0 to 0.26.0 ( #20 ) 2025年06月14日 13:36:43 +01:00
go.sum Bump golang.org/x/text from 0.25.0 to 0.26.0 ( #20 ) 2025年06月14日 13:36:43 +01:00
parse.go Various cleanup bits. 2023年12月31日 10:28:56 +00:00
parse_meta_only.go Renames module. 2023年12月27日 13:47:03 +00:00
parse_meta_only_test.go Various cleanup bits. 2023年12月31日 10:28:56 +00:00
parse_test.go Various cleanup bits. 2023年12月31日 10:28:56 +00:00
README.md Updates README 2023年12月27日 13:48:31 +00:00

go-slippi

go-slippi is a Golang (1.21) parser for .slp slippi files. It (currently only) supports parsing .slp files into Go types.

Usage

Full game

packagemainimport("fmt"goslippi"github.com/pmcca/go-slippi""log")funcmain(){filePath:="path/to/my-replay.slp"game,err:=goslippi.ParseGame(filePath)iferr!=nil{log.Fatal(err)}fmt.Println(game.Data.GameStart.SlippiVersion)}

Metadata Only

packagemainimport("fmt"goslippi"github.com/pmcca/go-slippi""log")funcmain(){filePath:="path/to/my-replay.slp"meta,err:=goslippi.ParseMeta(filePath)iferr!=nil{log.Fatal(err)}fmt.Println(meta.Players)}