A pure Bash implementation of the base64 encoding and decoding algorithm, usable on files or stdin.

Stars

4

7-day growth

No data

Forks

0

Open issues

0

License

No data

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It shows how to implement a common binary encoding algorithm from scratch in Bash, backed by a live coding video.

Who it is for

  • Bash users who want a base64 tool without external dependencies
  • Shell scripters curious about implementing algorithms in Bash
  • People learning base64 by reading code and watching a video
  • Developers needing a simple base64 encode/decode command in Bash

Use cases

  • Encoding a file to base64: ./base64 file.txt
  • Encoding stdin: ./base64 < file.txt
  • Decoding a base64 file: ./base64 -d file.b64
  • Learning Bash stream and file handling through a real algorithm

Strengths

  • Pure Bash implementation, so no external base64 executable is required
  • Supports both encoding and decoding via -d
  • Accepts input from a file argument or stdin
  • MIT licensed and includes a YouTube build walkthrough

Considerations

  • Only basic usage is documented; no advanced flags or edge-case behavior are described
  • Requires Bash, so it is not portable to plain POSIX sh
  • Large-file performance is not discussed in the README

README quick start

base64 Implemented in Bash

Pure bash implementation of the base64 algorithm

Usage

# encode
./base64 file.txt
./base64 

License
-------

MIT License

Description

Pure bash implementation of the base64 algorithm

Related repositories

Similar projects matched by category, topics, and programming language.

jamesob
Featured
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 & Machine LearningLarge Language Models
1,660
bjan
Featured
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 & Machine LearningAI Agents
9
0xwilliamortiz
Featured
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 & Machine LearningLarge Language Models
577