Skip to content

yegor256/jttu

Repository files navigation

Static URL Shortener

generate License

There are a few URLs in the redirects.yml file, which you can use as such:

https://jttu.net/yegor256 (click)

Here, the yegor256 is the key in the YAML, while the browser is redirected to this URL:

https://www.yegor256.com/about-me.html

Feel free to add your links.

JTTU stands for the "jump to the URL."

How It Works?

On each Git push to the master branch, GitHub Actions job starts generate.sh, a Bash script. It parses the YAML file, finds all short names with their corresponding URLs, and then generates one HTML file per each link, like this one, for example.

Then, the job commits all generated HTML files to the gh-pages branch of this repository.

Once new files arrive to the branch, GitHub Pages server picks them up and makes them available at the jttu.net domain, together with the index.html that is also generated by the generate.sh.

About

GitHub Pages based links shortener (for a limited list of predefined URLs)

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages