{"id":20392524,"url":"https://github.com/equim-chan/base91-go","last_synced_at":"2025-04-12T11:54:17.973Z","repository":{"id":57481378,"uuid":"102079810","full_name":"Equim-chan/base91-go","owner":"Equim-chan","description":"🔡 basE91 codec in pure Golang implementation.","archived":false,"fork":false,"pushed_at":"2017-12-12T07:33:03.000Z","size":27,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T20:47:11.376Z","etag":null,"topics":["base91","binary-to-text","decoding","encoding"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Equim-chan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T06:11:57.000Z","updated_at":"2024-01-18T04:59:50.000Z","dependencies_parsed_at":"2022-09-26T17:50:29.211Z","dependency_job_id":null,"html_url":"https://github.com/Equim-chan/base91-go","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equim-chan%2Fbase91-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equim-chan%2Fbase91-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equim-chan%2Fbase91-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equim-chan%2Fbase91-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Equim-chan","download_url":"https://codeload.github.com/Equim-chan/base91-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565052,"owners_count":21125415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base91","binary-to-text","decoding","encoding"],"created_at":"2024-11-15T03:44:16.064Z","updated_at":"2025-04-12T11:54:17.952Z","avatar_url":"https://github.com/Equim-chan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base91-go\n[![Travis](https://img.shields.io/travis/Equim-chan/base91-go.svg)](https://travis-ci.org/Equim-chan/base91-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Equim-chan/base91-go)](https://goreportcard.com/report/github.com/Equim-chan/base91-go)\n[![Release](https://img.shields.io/github/release/Equim-chan/base91-go.svg)](https://github.com/Equim-chan/base91-go/releases/latest)\n[![License](https://img.shields.io/badge/BSD-3-blue.svg)](https://github.com/Equim-chan/base91-go/blob/master/LICENSE)\n[![GoDoc](http://img.shields.io/badge/godoc-reference-5272B4.svg)](https://godoc.org/ekyu.moe/base91)\n\nbasE91 codec implemented in Golang.\n\nMigrated from the C and PHP version of Joachim Henke's [basE91](http://base91.sourceforge.net/).\n\n[Nodejs version](https://github.com/Equim-chan/base91)\n\n## Install\n```bash\n$ go get -u ekyu.moe/base91\n```\n\n## Example\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"ekyu.moe/base91\"\n)\n\nfunc main() {\n    fmt.Println(base91.EncodeToString([]byte(\"Hello, 世界\"))) //=\u003e \u003eOwJh\u003e}AFU~PUh%Y\n    fmt.Println(string(base91.DecodeString(\"\u003eOwJh\u003e}AFU~PUh%Y\"))) //=\u003e Hello, 世界\n}\n```\n\nCheck [godoc](https://godoc.org/ekyu.moe/base91) for further documents.\n\nA CLI utility is also available with `go get ekyu.moe/base91/cmd/base91`.\n\n## Benchmark\nNote: 1 op = 1 MB input\n```plain\n$ go test --bench . --benchmem ekyu.moe/base91\ngoos: windows\ngoarch: amd64\npkg: ekyu.moe/base91\nBenchmarkDecode-4            200           6484956 ns/op         7157760 B/op         36 allocs/op\nBenchmarkDecoder-4           200           8789155 ns/op         146.71 MB/s     2136691 B/op      2465 allocs/op\nBenchmarkEncode-4            300           7264316 ns/op         8673280 B/op         37 allocs/op\nBenchmarkEncoder-4           200           7149004 ns/op         146.67 MB/s     2808690 B/op         2 allocs/op\nPASS\n```\n\n## License\n[BSD-3-clause](https://github.com/Equim-chan/base91-go/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequim-chan%2Fbase91-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequim-chan%2Fbase91-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequim-chan%2Fbase91-go/lists"}