Skip to main content

Script to create forward pages.

Project description

gl-pages-forward

The Technical University of Munich (TUM) has a nice service for TinyURLs. You can create there short links, e.g., https://go.tum.de/584374. However, you can only do this for *.tum.de or *.lrz.de addresses. To circumvent this, I created this repository. With the Python scripts in here, you can create several forward pages, e.g., index.html that do nothing else but redirect the browser to a given site. If you combine these forward pages with the GitLab Pages of the gitlab.lrz.de, you can create a short link for every site you want.

Usage

$ create-forward-pages --help
Usage: create-forward-pages [OPTIONS]

  Creates 'index.html's that forward to a specific URL.

Options:
  -v, --version
  -c, --config-file FILE          [default: config.yml]
  -o, --output DIRECTORY          [default: public]
  -u, --base-url TEXT
  -m, --minify                    If this flag is set, the tool will minify
                                  the HTML.
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Contact

If you have any question, please contact Patrick Stöckle.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gl_pages_forward-0.1.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

gl_pages_forward-0.1.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file gl_pages_forward-0.1.3.tar.gz.

File metadata

  • Download URL: gl_pages_forward-0.1.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for gl_pages_forward-0.1.3.tar.gz
Algorithm Hash digest
SHA256 af5076e6b4b7c4e78ed86d29e608b730496278d852ad7d030351b137f210dda3
MD5 1ad166ec09068d808c92600043cd3f6b
BLAKE2b-256 b820c25964647e8b4d0518678e33ea284b58eb9d68da2cf9d1f53014b6d07ce9

See more details on using hashes here.

File details

Details for the file gl_pages_forward-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for gl_pages_forward-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af4feb00e4bfe423fd6cd2b96882f3fbb9193ac3306e7c157a0efdb8a180d5ef
MD5 6674b2a2e2ed31f9651fdc321aa76bc0
BLAKE2b-256 516c9839825342462ebf73258930ad671953962948f32b3f5ee22d431386ad54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page