Skip to content

sakshamfromgithub/SK-url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— SK URL Shortner

HTML CSS JavaScript Status License

SK URL Shortner is a lightweight, fast, and privacy-focused URL shortening web app built using pure HTML, CSS, and JavaScript.
It converts long URLs into short, shareable links and redirects users instantly.

πŸš€ No backend required
🌐 Perfect for Netlify & GitHub Pages
πŸ” No login, no tracking, no data selling


🌍 Live Demo

After deployment, short links work like this: https://skurl.netlify.app/?c=abc123

Opening the link will automatically redirect to the original URL.


✨ Features

  • πŸ”Ή Shorten long URLs instantly
  • πŸ”Ή Custom short code support
  • πŸ”Ή Auto redirect using ?c=CODE
  • πŸ”Ή One-click copy button
  • πŸ”Ή Open links in new tab
  • πŸ”Ή Delete individual links
  • πŸ”Ή Export links as JSON
  • πŸ”Ή Reset all stored links
  • πŸ”Ή Fully responsive UI

🧠 How It Works

  1. User enters a long URL.
  2. App generates a unique short code.
  3. Mapping is saved in browser localStorage.
  4. When ?c=CODE is opened, the app redirects to the original URL.

⚠️ Links are stored locally per browser, not globally.


πŸ“ Project Structure

sk-url-shortner/ β”‚ └── index.html

Only one file is required to run the project.


![Home Page]

πŸ› οΈ Run Locally

Clone the repository:

git clone https://github.com/your-username/SK-url-shortner.git

About

SK url shortner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages