https://github.com/humansinput/redirector
Simple redirect pages generation tool.
https://github.com/humansinput/redirector
Last synced: 5 months ago
JSON representation
Simple redirect pages generation tool.
- Host: GitHub
- URL: https://github.com/humansinput/redirector
- Owner: humansinput
- Created: 2020-03-27T15:40:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T17:59:24.000Z (almost 7 years ago)
- Last Synced: 2025-05-16T13:11:50.137Z (about 1 year ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
This is a simple redirect pages generator that I made.
= Usage
Create a so-called "sitemap" file containing all the redirects in the following format:
[source]
----
[alias] > [destination]
----
Example:
[source]
----
example > http://example.com
foo -> /bar.html
----
Save it to a plain text file, then run ``sitemap.tcl`` via ``tclsh`` with the name of the file as its only argument.
This will create all the necessary directories in pwd with redirector htmls.