https://github.com/psmths/tiny-url-shortener
Tiny URL shortener...results in minutes!
https://github.com/psmths/tiny-url-shortener
php python python3 tinydb url-shortener
Last synced: about 2 months ago
JSON representation
Tiny URL shortener...results in minutes!
- Host: GitHub
- URL: https://github.com/psmths/tiny-url-shortener
- Owner: Psmths
- License: gpl-2.0
- Created: 2020-09-21T18:55:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-22T22:30:14.000Z (over 4 years ago)
- Last Synced: 2025-12-09T06:11:41.018Z (6 months ago)
- Topics: php, python, python3, tinydb, url-shortener
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tiny URL shortener
This is a very small and minimal URL shortening service written in PHP and Python 3. To install, simply clone the repository and place the files in a directory of your choice.
To configure, create a .config file following the .config.sample file. As an example, if your domain is example.com and the directory hosting the service is /s/, the config file would look like:
```
[general]
dbpath = ./db.json
lengthlimit = 7
digits = yes
agelimit = 0
domain = example.com/s
```
Ensure that permissions are correct! To start shortening URLs, simply navigate to http://example.com/s/create/.