shortyy

所属分类:PostgreSQL
开发工具:HTML
文件大小:129KB
下载次数:0
上传日期:2021-01-18 16:16:14
上 传 者sh-1993
说明:  shortyy-使用Flask和PostgreSQL制作的品牌URL缩短器
(shortyy - A Brand URL Shortener Made Using Flask & PostgreSQL)

文件列表:
LICENSE (35823, 2021-01-19)
app.py (4562, 2021-01-19)
assets (0, 2021-01-19)
assets\logo.png (34757, 2021-01-19)
config.json (187, 2021-01-19)
requirements.txt (23, 2021-01-19)
shortyy (1394, 2021-01-19)
static (0, 2021-01-19)
static\error.css (6754, 2021-01-19)
static\favicon.ico (44867, 2021-01-19)
static\logo.png (34757, 2021-01-19)
static\style.css (680, 2021-01-19)
templates (0, 2021-01-19)
templates\404.html (2566, 2021-01-19)
templates\dashboard.html (4937, 2021-01-19)
templates\home.html (13532, 2021-01-19)
templates\login.html (4361, 2021-01-19)
templates\tos.html (4731, 2021-01-19)

# shortyy [shortyy - A Brand URL Shortener Made Using Flask & PostgreSQL](https://shortyy.ml/) ## Features - Open Source - Free - Alternative To Paid URL Shorteners - 24/7 Runtime - Secure - Made In Python (Flask) - Database Used - PostgreSQL - A Dashboard ## Usage - Clone The Repository On Your PC. - Open PGAdmin4 (GUI) or PSQL (Shell) and create a new database and clone the database using Restore option, i.e, import the file shortyy (included in repository), this will create just the required table and schema inside the database without any data. - Now Open `config.py`, change your admin username and password. This will allow you to get access to dashboard which you can use to manage your URLs. - Most Importantly in `config.py` add your Database URI there in the format `db_engine://db_username:db_password@db_host:db_port/db_name`, here we are using PostgreSQL so you can do something like this, taking these as db parameters - `db_user - postgres`, `db_password - test123`, `db_host - localhost`, `db_port - 5432`, `db_name - urlshortener`: **postgres://postgres:test123@localhost:5432/urlshortener** - Install Requirements: Open your terminal and enter: `pip install -r requirements.txt` - Host The Flask App: (Debug Environment - Run `python app.py`) (Production Environment - WSGI Script [Surf The Web For Tutorials]). ## Contributing - Contributions are accepted but follow the common ethics and principles while contributing. Contributions must not contain spams, malicious contents, NSFW things, etc. ## Contributors - Awesome Contributors Of This Project (Check Them Out) - Rudransh Joshi - [FireHead90544](https://github.com/FireHead90544) {Developer} - Knoxo - [Knoxo](https://github.com/Knoxo) {Contributor} ## LICENSE - This project and repository has been licensed under **GNU General Public License v3.0**, LICENSE can be found **[here](https://github.com/FireHead90544/shortyy/blob/main/LICENSE)** + You can use this anywhere but you must provide its source and give credits to this repository. ## Future Plans - We are planning to add an API related system which you can use to add or delete links to the database using GET/POST/DELETE etc. requests, so if you want to contribute, it will be highly appreciated. ## Special Thanks To [Cyber Efficient](https://www.cyberefficient.io/) For Supporting This Project Which Made It Possibe To Host It. # THANK YOU ### ~ Rudransh Joshi

近期下载者

相关文件


收藏者