Skip to main content

URL shortener

Project description

n7gg

URL service, you probably don't want it.

Listens on :4242, and vends redirects or text responses for a static set of keys, and 404's for everything else. Updating the set of known keys currently requires updating app.py and restarting the service.

May someday read keys from a config file at startup maybe. /shrug

Usage

Use the script:

$ ./run.sh

Alternately, edit and install n7gg.service with systemd to exec run.sh.

License

n7gg is copyright John Reese, and licensed under the MIT license. I am providing code in this repository to you under an open source license. This is my personal repository; the license you receive to my code is from me and not from my employer. See the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

0

Download files

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

Source Distribution

n7gg-0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

n7gg-0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

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