Skip to content

A URL shortener with optional PIN protection, made with vanilla HTML5, CSS3, JavaScript ES6, PHP 8.0. Cookieless & Trackless.

License

Notifications You must be signed in to change notification settings

DiodorEos/Sigil-Vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Sigil-Vault – Secure URL Shortener

📌 Project Overview

Sigil-Vault is a self-hosted Secure URL Shortener, designed to provide a lightweight, fast, and security-conscious way to shorten URLs. It is built entirely with HTML, CSS, JavaScript and PHP. The project is already live and functional at:

🔗 Live Demo: https://sglvt.com/

This project was part of my university studies in Cybersecurity, specifically under the Web Scripting course, where I aim to demonstrate secure and efficient web development practices. The development process was supervised through milestone-based meetings with my Web Scripting professor, ensuring structured progress and adherence to best practices. When the project was completed it was recommended to the college's student excellency conference by the surpervising professor, and the conference's judging comittee accepted the project.

While this was a personal and academic project, it is also an opportunity to gain hands-on experience with GitHub, proper project structuring, scripting, security implementations, and UI/UX design.


📌 Current Features

Functionality Flow 🔧

🔸 Shortens URLs into unique 6-character codes.
🔸 Prevents duplicate shortcodes for the same URL.
🔸 Optional PIN protection integrated.
🔸 Quickly redirects shortcodes to their original URL.

Structure Basis 🧱

🔸 Stores URL mappings in a MySQL database.
🔸 Minimal DOM manipulation for a clean UI.
🔸 UI/UX completed.
🔸 Project uploaded to GitHub for showcasing.
🔸 Custom 404 page.

Security Measures 🔐

🔸 Validates URLs before shortening.
🔸 Environment variables (.env) configured for security.
🔸 Robots.txt and honeypot form included.


📌 Upcoming Features (TODO 🚧)

🔹 Checkbox for self-destructing links / URL expiration ?.
🔹 Brute-force protection for the PIN insertion page ?.


📌 Technologies Used

Technology Purpose
PHP Core backend logic, URL shortening & redirection
MySQL Database storage for URL mappings
JavaScript Frontend interactivity & clipboard functions
CSS UI/UX design

📌 Project Status

🚀 Live Version: https://sglvt.com/
⚙️ Next Steps: Potentially complete the TODOs.


📌 License

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
All icons used were created and shared by Icons8.
The web app's logo was created by Canva's AI model.