一个纯 Bash 实现的 base64 编解码算法工具,可对文件或标准输入进行编码/解码。

Stars

4

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它展示了如何用 Bash 从零实现常见的二进制编码算法,并配有直播编码视频。

适合谁使用

  • 希望在 Bash 中不依赖外部命令进行 base64 编解码的用户
  • 对用 Bash 实现算法感兴趣的脚本开发者
  • 想通过读代码和看视频学习 base64 的人
  • 需要在 Bash 中使用简单 base64 编解码命令的开发者

典型使用场景

  • 对文件进行 base64 编码:./base64 file.txt
  • 对标准输入进行编码:./base64 < file.txt
  • 解码 base64 文件:./base64 -d file.b64
  • 通过真实算法学习 Bash 的文件和流处理

项目优势

  • 纯 Bash 实现,无需外部 base64 可执行文件
  • 支持通过 -d 进行解码
  • 可从文件参数或标准输入读取数据
  • MIT 许可证,并附有 YouTube 构建演示视频

使用前须知

  • README 只记录了基本用法,未说明高级选项或边界情况
  • 需要 Bash,不能用于普通 POSIX sh
  • 未讨论大文件性能

README 快速开始

base64 Implemented in Bash

Pure bash implementation of the base64 algorithm

Usage

# encode
./base64 file.txt
./base64 

License
-------

MIT License

项目描述

Pure bash implementation of the base64 algorithm

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660
bjan
精选
bjan GitHub avatar

claudemux

Claudemux is a lightweight, dependency-minimal message bus that lets multiple Claude Code sessions communicate in real-time over tmux, enabling one session to ask another a question and receive the answer without manual intervention.

AI 与机器学习AI 智能体
9
0xwilliamortiz
精选
0xwilliamortiz GitHub avatar

openclaude-improved

OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.

AI 与机器学习大语言模型
577