Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zemanlx/base64
Enhanced backward compatible alternative of Linux utility base64
https://github.com/zemanlx/base64
base64 base64url
Last synced: 15 days ago
JSON representation
Enhanced backward compatible alternative of Linux utility base64
- Host: GitHub
- URL: https://github.com/zemanlx/base64
- Owner: zemanlx
- License: mit
- Created: 2019-06-26T16:35:56.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2019-07-29T19:15:02.000Z (over 5 years ago)
- Last Synced: 2024-10-10T17:23:34.972Z (28 days ago)
- Topics: base64, base64url
- Language: Go
- Size: 1.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/zemanlx/base64.svg?branch=develop)](https://travis-ci.org/zemanlx/base64)
[![Go Report Card](https://goreportcard.com/badge/github.com/zemanlx/base64)](https://goreportcard.com/report/github.com/zemanlx/base64)
[![GuardRails badge](https://badges.guardrails.io/zemanlx/base64.svg?token=211ba559a3ab43c3e7c227365d0c757ca0dce0b474d048fcf0366967c2ef8b7f)](https://dashboard.guardrails.io/default/gh/zemanlx/base64)# base64
Fully backward compatible alternative of Linux `base64` plus
- URL encoding option
- No padding option (both for standard and URL encoding)## Download
Binaries are build for wide variety of OS and architectures and can be found on release [page](https://github.com/zemanlx/base64/releases).
## Usage
`base64 [OPTION]... [FILE]`
Base64 encode or decode FILE, or standard input, to standard output.
With no FILE, or when FILE is -, read standard input.With no options `base64` will encode input data to using standard encoding with
padding.```man
-d, --decode decode data
-h, --help print this help
-i, --ignore-garbage when decoding, ignore non-alphabet characters
-n, --no-padding omit padding
-u, --url use URL encoding according RFC4648
-v, --version output version information and exit
-w, --wrap uint wrap encoded lines after COLS character,
use 0 to disable line wrapping (default 76)
```The data are encoded as described for the base64 alphabet in RFC 4648.
When decoding, the input may contain newlines in addition to the bytes of
the formal base64 alphabet. Use `--ignore-garbage` to attempt to recover
from any other non-alphabet bytes in the encoded stream.