Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octobanana/euarel
A CLI tool for URL percent-encoding and percent-decoding text.
https://github.com/octobanana/euarel
cli terminal tool
Last synced: 3 months ago
JSON representation
A CLI tool for URL percent-encoding and percent-decoding text.
- Host: GitHub
- URL: https://github.com/octobanana/euarel
- Owner: octobanana
- License: mit
- Created: 2018-12-06T08:45:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T21:18:23.000Z (about 6 years ago)
- Last Synced: 2024-08-01T15:31:58.776Z (7 months ago)
- Topics: cli, terminal, tool
- Language: C++
- Homepage: https://octobanana.com/software/euarel
- Size: 8.79 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.8Libraries:
* my [parg](https://github.com/octobanana/parg) library, for parsing cli args, included as `./src/parg.hh`The following shell command will build the project in release mode:
```sh
./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:
```sh
./install.sh -r
```
To install in debug mode, run the script with the `-d` flag.