Skip to content

MiniURL is a lightweight, fast, and user-friendly URL minimizing service designed to simplify long URLs into compact, easy-to-share links. It aims to enhance user experience by offering efficient redirection, analytics, and link management in a minimalistic interface.

Notifications You must be signed in to change notification settings

ChintalaR/MiniURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Mini URL

MiniURL is a lightweight, fast, and user-friendly URL minimizing service designed to simplify long URLs into compact, easy-to-share links. It aims to enhance user experience by offering efficient redirection, analytics, and link management in a minimalistic interface.


🚀 Features

  • 🔗URL Minimizing – Instantly convert long URLs into short, manageable links.
  • 🏷️Custom Aliases – Option to create personalized short links (e.g., miniurl/alias).

🧰 Tech Stack

  • Backend: PHP
  • Frontend: HTML, JQuery
  • UI: Bootstrap
  • Data Base: Mysql

🛠️ Setup

1. Clone the Repository inside C:\xampp\htdocs

git clone https://github.com/chitalaR/miniURL.git

2. Modify .httaccess insde C:\xampp\htdocs

RewriteEngine On
RewriteBase /miniurl/

# If the requested file or directory does not exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Redirect all requests to index.php
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]

3. Create miniurl Database

CREATE DATABASE miniurl

4. Create urls Table

CREATE TABLE urls (
    id INT PRIMARY KEY AUTO_INCREMENT , 
    alias TEXT NOT NULL UNIQUE , 
    url TEXT NOT NULL
);

5. Update config.php

$servername = "server_name";
$username = "user_name";
$password = "password";
$dbname = "miniurl";
$domainUrl = "your-domain/miniurl/";

About

MiniURL is a lightweight, fast, and user-friendly URL minimizing service designed to simplify long URLs into compact, easy-to-share links. It aims to enhance user experience by offering efficient redirection, analytics, and link management in a minimalistic interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages