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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14122cffdbabd6a664f2307ed9f14bc4d27aaea107071695739ccf1a5b3a473 |
|
MD5 | b39026e840aa326c1e1135da4dd606e7 |
|
BLAKE2b-256 | c047c054b040ba699f11a2e3073207588c8bec5194bbd510a89bc8c08bbde6f5 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98054b1a69cc68d43c01ce62c9b91f6fb05ab25c3d38d56605d4a3966ce15f77 |
|
MD5 | 2097168fbbcd03c3817868a777df83a0 |
|
BLAKE2b-256 | 4ee1bc329cbafbc674e6f15b499778aeb64c99e58aa97460181c45c21a2e94cd |