On GitHub, curl/trurl has picked up 3.4k stars, Perl. a command line tool for URL parsing and manipulation.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
$ trurl "https://curl.se/this has space/index.html" --accept-space
https://curl.se/this%20has%20space/index.html
Install
Linux
It is quite easy to compile the C source with GCC:
$ make
cc -W -Wall -pedantic -g -c -o trurl.o trurl.c
cc trurl.o -lcurl -o trurl
trurl is also available in some package managers. If it is not listed you can try searching for it using the package manager of your preferred distribution.
Windows
Download and run Cygwin installer.
Follow the instructions provided by the installer. When prompted to select packages, make sure to choose the following: curl, libcurl-devel, libcurl4, make and gcc-core.
(optional) Add the Cygwin bin directory to your system PATH variable.
Use make, just like on Linux.
Prerequisites
Development files of libcurl (e.g. libcurl4-openssl-dev or
libcurl4-gnutls-dev) are needed for compilation. Requires libcurl version
7.62.0 or newer (the first libcurl to ship the URL parsing API).
trurl also uses CURLUPART_ZONEID added in libcurl 7.81.0 and
curl_url_strerror() added in libcurl 7.80.0
It would certainly be possible to make trurl work with older libcurl versions
if someone wanted to.
Older libcurls
trurl builds with libcurl older than 7.81.0 but will then not work as
well. For all the documented goodness, use a more modern libcurl.
trurl / libcurl Compatibility
trurl Feature
Minimum libcurl Version
imap-options
7.30.0
normalize-ipv
7.77.0
white-space
7.78.0
url-strerror
7.80.0
zone-id
7.81.0
punycode
7.88.0
punycode2idn
8.3.0
no-guess-scheme
8.9.0
For more details on how trurl will behave if these features are missing see URL Quirks.
To see the features your version of trurl supports as well as the version of libcurl it is built with, run the following command: trurl --version
TopGit's metadata for curl/trurl does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is curl/trurl?
curl/trurl (curl/trurl) is a Perl project on GitHub. From the project's own README: a command line tool for URL parsing and manipulation.
Where can I see curl/trurl in action?
The project maintains a homepage at https://curl.se/trurl/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about curl/trurl?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/curl/trurl is the definitive source.
Read full README in the tab above.
Still deciding about trurl?
One click hands the question to an AI along with this page — see what it says about trurl.