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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file n7gg-0.tar.gz.

File metadata

  • Download URL: n7gg-0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for n7gg-0.tar.gz
Algorithm Hash digest
SHA256 d14122cffdbabd6a664f2307ed9f14bc4d27aaea107071695739ccf1a5b3a473
MD5 b39026e840aa326c1e1135da4dd606e7
BLAKE2b-256 c047c054b040ba699f11a2e3073207588c8bec5194bbd510a89bc8c08bbde6f5

See more details on using hashes here.

File details

Details for the file n7gg-0-py3-none-any.whl.

File metadata

  • Download URL: n7gg-0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for n7gg-0-py3-none-any.whl
Algorithm Hash digest
SHA256 98054b1a69cc68d43c01ce62c9b91f6fb05ab25c3d38d56605d4a3966ce15f77
MD5 2097168fbbcd03c3817868a777df83a0
BLAKE2b-256 4ee1bc329cbafbc674e6f15b499778aeb64c99e58aa97460181c45c21a2e94cd

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