Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeterrayt/linkshortner
Link Shortener is a swift and user-friendly PHP-based tool designed for hassle-free URL shortening. With no login or registration requirements, users can swiftly input their URLs and obtain concise, shareable links instantly.
https://github.com/codeterrayt/linkshortner
dockerfile link-shortener no-login open-source opensource php php8 short-url shortener url-shortener web-application web-development web-tool
Last synced: 3 days ago
JSON representation
Link Shortener is a swift and user-friendly PHP-based tool designed for hassle-free URL shortening. With no login or registration requirements, users can swiftly input their URLs and obtain concise, shareable links instantly.
- Host: GitHub
- URL: https://github.com/codeterrayt/linkshortner
- Owner: codeterrayt
- License: mit
- Created: 2022-05-16T15:17:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T15:49:49.000Z (7 months ago)
- Last Synced: 2024-11-29T16:17:58.280Z (2 months ago)
- Topics: dockerfile, link-shortener, no-login, open-source, opensource, php, php8, short-url, shortener, url-shortener, web-application, web-development, web-tool
- Language: PHP
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 Link Shortener
A fast and straightforward PHP-based Link Shortener. No login or registration required. Just input the URL, and get a short URL instantly!
## Setup
### Prerequisites
- PHP installed on your server.
- MySQL database (e.g., using MySQL or MariaDB).
- Git for cloning the repository.### Steps
1. **Clone the GitHub Repository:**
```bash
git clone https://github.com/codeterrayt/LinkShortner.git
cd LinkShortner
```2. **Setup the Database:**
- Create a database named `link_shortner_db`.
- Import the SQL file `link_shortner_table.sql` into your database.
```bash
mysql -u your_username -p link_shortner_db < link_shortner_table.sql
```3. **Configure Web Server:**
- Make sure your web server is configured to serve the files in the repository.
4. **Run the Application:**
- Open your browser and navigate to the application.
## Usage
1. **Shorten a URL:**
- Visit the application and input the URL you want to shorten.
- Get the short URL instantly!
## File Structure
- `index.php`: Main application file.
- `link_shortner_table.sql`: SQL file for database setup.## Docker
1. **Docker Compose Up**
```
docker-compose up -d
```2. **Visit**
```bash
open localhost in browser
```3. **PHPMYADMIN**
```bash
open localhost:8080
```## Notes
- This Link Shortener is designed for simplicity and speed.
- No login or registration required.
- Ensure proper security measures before deploying in a production environment.🚀 Happy Link Shortening! 🔗