A CLI tool for URL percent-encoding and percent-decoding text.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
CMakeLists.txt
LICENSE
README.md
build.sh
env.sh
install.sh

README.md

Euarel

A CLI tool for URL percent-encoding and percent-decoding text.

Euarel is a command line tool for URL percent-encoding and percent-decoding UTF-8 encoded text. It is unicode aware, so characters like ♥ = %E2%99%A5 or π = %CF%80 are properly handled. Working with the media type application/x-www-form-urlencoded is possible by passing the --form flag.

Examples:

euarel --encode 'text to encode'
euarel --decode 'text to decode'
euarel -ef 'encode form data'
printf 'redirect text to encode' | euarel -e
euarel --help
euarel --version

Build

Environment:

  • Tested on Linux
  • C++17 compiler
  • CMake >= 3.8

Libraries:

  • my parg library, for parsing cli args, included as ./src/parg.hh

The following shell command will build the project in release mode:

./build.sh -r

To build in debug mode, run the script with the -d flag.

Install

The following shell command will install the project in release mode:

./install.sh -r

To install in debug mode, run the script with the -d flag.