Welcome to ReURI, a simple url encoder and decoder.
ReURI is a simple tool for converting urls between their encoded forms, eg. https%3A%2F%2Fexample.com
and their
unencoded eg. https://example.com
.
I had an issue when I was looking at my server access logs where some urls where encoded by the browser. I wanted to be able to follow those links and see where they lead to. I could make a a CLI tool to do that, but I decided to make it a web app so others can use it.
It is simple and I am good at using it.
If you want to self host ReURI, it's simple. Clone the repo:
git clone https://github.com/keystroke3/ReURI.git
npm install --global yarn
Install dependencies and build:
cd ReURI
yarn install
yarn build
Use a http server to serve the files in dist
directory.
npm install http-server -g
http-server dist -p 3000
You can use python's built in http server
python -m http.server 3000 --directory dist
<VirtualHost *:3000>
ServerAdmin webmaster@localhost
DocumentRoot /path/to/ReURI/dist
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
server {
listen 80;
server_name awesome-server-name.tld;
location / {
root /path/to/ReURI/dist/;
add_header Cache-Control "public, no-transform";
try_files $uri $uri/ /index.html =404;
}
access_log /some/path/nginx_access.log;
error_log /some/path/nginx_error.log;
}
- Add file support
For queries, compliments, complaints: Twitter: @keystroke3, Email: [email protected]