{"id":19596869,"url":"https://github.com/emmansun/base64","last_synced_at":"2025-10-06T21:22:42.399Z","repository":{"id":204842589,"uuid":"712789990","full_name":"emmansun/base64","owner":"emmansun","description":"Base64 with SIMD acceleration","archived":false,"fork":false,"pushed_at":"2025-03-11T02:27:46.000Z","size":251,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T01:11:17.889Z","etag":null,"topics":["base64","go","simd"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/emmansun/base64","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/emmansun.png","metadata":{"files":{"readme":"README-CN.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-01T07:44:00.000Z","updated_at":"2025-03-23T07:41:13.000Z","dependencies_parsed_at":"2024-04-08T23:28:36.476Z","dependency_job_id":"b0231258-3304-44db-837e-30a35d6ee027","html_url":"https://github.com/emmansun/base64","commit_stats":null,"previous_names":["emmansun/base64"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmansun%2Fbase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmansun%2Fbase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmansun%2Fbase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmansun%2Fbase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmansun","download_url":"https://codeload.github.com/emmansun/base64/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251163089,"owners_count":21545873,"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":["base64","go","simd"],"created_at":"2024-11-11T08:56:58.564Z","updated_at":"2025-10-06T21:22:37.355Z","avatar_url":"https://github.com/emmansun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base64\r\n[English](README.md) | 简体中文\r\n\r\n使用SIMD指令加速的Base64实现。\r\n\r\n[![ci](https://github.com/emmansun/base64/actions/workflows/ci.yml/badge.svg)](https://github.com/emmansun/base64/actions/workflows/ci.yml)\r\n[![arm64](https://github.com/emmansun/base64/actions/workflows/arm64_qemu.yml/badge.svg)](https://github.com/emmansun/base64/actions/workflows/arm64_qemu.yml)\r\n[![ppc64le](https://github.com/emmansun/base64/actions/workflows/ppc64le_qemu.yml/badge.svg)](https://github.com/emmansun/base64/actions/workflows/ppc64le_qemu.yml)\r\n[![s390x](https://github.com/emmansun/base64/actions/workflows/s390x_qemu.yml/badge.svg)](https://github.com/emmansun/base64/actions/workflows/s390x_qemu.yml)\r\n[![codecov](https://codecov.io/gh/emmansun/base64/graph/badge.svg?token=LNNXNW4T5F)](https://codecov.io/gh/emmansun/base64)\r\n[![Go Report Card](https://goreportcard.com/badge/github.com/emmansun/base64)](https://goreportcard.com/report/github.com/emmansun/base64)\r\n[![Documentation](https://godoc.org/github.com/emmansun/base64?status.svg)](https://godoc.org/github.com/emmansun/base64)\r\n![GitHub go.mod Go version (branch)](https://img.shields.io/github/go-mod/go-version/emmansun/base64)\r\n[![Release](https://img.shields.io/github/release/emmansun/base64/all.svg)](https://github.com/emmansun/base64/releases)\r\n\r\n\r\n## 优化的架构\r\n- **AMD64** SSE/AVX/AVX2\r\n- **ARM64** NEON\r\n- **PPC64X**\r\n- **S390X**\r\n\r\n## 性能\r\n关于性能，AMD64下的性能可以参考[English](README.md) 说明，ARM64下的性能请自行测试。另外需要说明的是，解码的时候，如果文本含有回车换行，当前实现没有优势。\r\n\r\n本库已经在生产环境运行多时。\r\n\r\n## 致谢\r\n本项目的大部分纯Go代码源自 [golang base64](https://github.com/golang/go/tree/master/src/encoding/base64)，本包的使用和Go语言的base64完全相同。\r\n\r\nAMD64架构(特别是SSE版本)和ARM64架构的SIMD实现算法源自 [aklomp/base64](https://github.com/aklomp/base64)。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmansun%2Fbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmansun%2Fbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmansun%2Fbase64/lists"}