Show HN: URLZap – Your own static URL generator
github.com
github.com
Static site generators, published on Github Pages, are quite popular nowadays. But what about a static URL generator, which allows me to redirect URLs based on static files?
I've never heard about such a thing, and usually I would end-up setting up a server with redirects for this. That is why I ended up creating a small tool called "urlzap".
It generates URLs using files and HTML wizardry, allowing users to host their own URL redirects into Github Pages.
The config file could probably be simplified even more to be simply:
offer2020: http://mysite.com
blog: http://mysite.com/blogs/23
Just an idea2. I left it in `urls` it allows the YAML to be extended. For example, you can define a `http` field which allows you to run the project in a server (if you want to migrate from static and use 301). But yeah, that was something I was on the fence when deciding the YAML model.