Static site generator but for redirects.
Rover allows you to generate HTML pages that redirect to other URLs in one config file using the custom Rover syntax. It can be used as an URL shortener or anything.
If you have a static site and want to create redirect links, instead of making them all manually, you can use Rover. Rover can also visualize all of your links.
- Custom syntax that is easy and well-documented. 🔗 Documentation
- Supports metadata.
- Visualize all of your configurations.
- Automatically makes text URL friendly
- Supports multiple methods to redirect.
Using Rover is faster than writing HTML pages for redirects manually. All links are stored in one easy to edit config file. You can also add metadata.
Full documentation => 🔗 Click here
Full example configuration => 🔗 Click here
method = both # [both | js | html]
[redirects]
youtube = https://youtube.com
[
title = YouTube Link
keywords = YouTube, video, sharing
description = Video sharing site
]
axorax = https://axorax.github.io
Example usage:
python main.py config.rvr -o rover -v true
All commands:
>> python main.py -h
usage: main.py [-h] [-oj JSON_FILE] [-ov HTML_FILE] [-v TRUE | FALSE]
[-j TRUE | FALSE] [-m TRUE | FALSE] [-o FOLDER_NAME]
[-me METHOD_NAME]
CONFIG
Generate redirect HTML files based on a configuration file.
positional arguments:
CONFIG Path to the configuration file (e.g., config.rvr)
options:
-h, --help show this help message and exit
-oj, --output-json JSON_FILE
Specify the output JSON file name (default: output.json)
-ov, --output-visualizer HTML_FILE
Specify the visualizer output file name (default:
rover.html)
-v, --visualize TRUE | FALSE
Visualize the configuation file (default: false)
-j, --json TRUE | FALSE
Generate JSON output (default: false)
-m, --minify TRUE | FALSE
Minify the HTML files (default: false)
-o, --output FOLDER_NAME
Output folder name (default: rover)
-me, --method METHOD_NAME
Redirection method (default: both)