Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmdbalkhi/mozlink
A program to build short links
https://github.com/mmdbalkhi/mozlink
flask mysql python shortlink sqlite
Last synced: 5 days ago
JSON representation
A program to build short links
- Host: GitHub
- URL: https://github.com/mmdbalkhi/mozlink
- Owner: mmdbalkhi
- License: gpl-3.0
- Created: 2021-04-24T11:09:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T00:34:12.000Z (5 months ago)
- Last Synced: 2024-10-24T18:17:41.865Z (13 days ago)
- Topics: flask, mysql, python, shortlink, sqlite
- Language: HTML
- Homepage:
- Size: 295 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![LICENSE](https://img.shields.io/badge/LICENSE-GPL--3.0-green)](https://github.com/mmdbalkhi/mozlink/blob/main/LICENSE)
[![Requirements](https://img.shields.io/badge/Requirements-See%20Here-orange)](https://github.com/mmdbalkhi/mozlink/blob/main/requirements.txt)![logo](app/static/logo.png)
# MozLink!
> A program to build **shortLinks**
~[mozlink-mmdbalkhi.fandogh.cloud](https://mozlink-mmdbalkhi.fandogh.cloud/)Temporary (perhaps permanent!) service link.~
## What is it?
## How to run
1. Install python3, pip3, virtualenv in your system.
2. Clone the project```sh
git clone https://github.com/mmdbalkhi/mozlink.git && cd mozlink
```3. Create a virtualenv named venv using
```sh
virtualenv -p python3 venv
```4. Connect to virtualenv using
```sh
source venv/bin/activate
```5. From the project folder, install packages using
```sh
pip install -r requirements.txt
```6. Now environment is ready. Run it by
```sh
python app/main.py
```## TODO
* [x] ~Automatically add http and https to url~
* [x] ~Mysql support~
* [X] support SqlAlchemy
* [ ] Support Custom short url