https://github.com/ncvcz/bs64
Encode/Decode base64
https://github.com/ncvcz/bs64
base64 bs64 cli go golang
Last synced: about 1 year ago
JSON representation
Encode/Decode base64
- Host: GitHub
- URL: https://github.com/ncvcz/bs64
- Owner: ncvcz
- Created: 2022-06-30T14:13:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-18T05:25:43.000Z (about 3 years ago)
- Last Synced: 2025-06-21T09:05:52.563Z (about 1 year ago)
- Topics: base64, bs64, cli, go, golang
- Language: Go
- Homepage:
- Size: 1.11 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# BS64
Encode & Decode base64
```bash
bs64 [-e (--encode) | -d (--decode)] [-f (--file) | -s (--string)] []
```
## 🌿 Install Guide
- Clone repository
```bash
git clone https://github.com/vclemenzi/bs64
```
- Run install
```bash
[sudo] sh install
```
## 🐛 Example & Guide
##### 🔒 Encode example & tutorial
Encode string
```bash
bs64 --encode --string Hello
# SGVsbG8=
```
Encode file (Hello.txt, `Hello`)
```bash
bs64 --encode --file Hello.txt
# SGVsbG8=
```
Set output file (The output file may or may not exist)
```bash
bs64 --encode [--string | --file] [string | file] [output file]
```
##### 🔓 Decode example & tutorial
Decode string
```bash
bs64 --encode --string SVGsbG8=
# Hello
```
Decode file (Hello.txt, `SVGsbG8=`)
```bash
bs64 --encode --file Hello.txt
# Hello
```
Set output file (The output file may or may not exist)
```bash
bs64 --encode [--string | --file] [string | file] [output file]