An open API service indexing awesome lists of open source software.

https://github.com/SaranHiruthikM/Shortix

Shortix โ€“ your sleek and secure solution to turn long URLs into short, shareable magic! ๐ŸŽฏโœจ Fast, customizable, analytics-powered & developer-friendly.
https://github.com/SaranHiruthikM/Shortix

nextjs nodejs redis typescript url-shortener vercel

Last synced: 6 months ago
JSON representation

Shortix โ€“ your sleek and secure solution to turn long URLs into short, shareable magic! ๐ŸŽฏโœจ Fast, customizable, analytics-powered & developer-friendly.

Awesome Lists containing this project

README

          

# ๐Ÿš€๐Ÿ”— Shortix - The Ultimate URL Shortener

Welcome to **Shortix** โ€“ your sleek and secure solution to turn long URLs into short, shareable magic! ๐ŸŽฏโœจ
Fast, customizable, analytics-powered & developer-friendly.

![Shortix Banner](image.png)

---

## ๐ŸŒŸ Features

- โšก **Instant URL Shortening** โ€” Convert lengthy URLs into concise links in seconds.
- โœ๏ธ **Custom Aliases** โ€” Personalize your short URLs with memorable slugs.
- ๐Ÿ“ˆ **Click Analytics** โ€” Track visits, referrers, geolocation, and more.
- ๐Ÿ” **Spam Protection** โ€” Input validation, safe URL checking, and rate limiting.
- โณ **Link Expiration** โ€” Set expiration dates for temporary sharing.
- ๐Ÿ“ฑ **Mobile-Friendly UI** โ€” Fully responsive design for all devices.
- ๐Ÿงพ **QR Code Generator** โ€” Instantly create and download QR codes for your links.

---

## ๐Ÿ› ๏ธ Getting Started

### ๐Ÿ”ƒ Clone the Repository

```bash
git clone https://github.com/hirux06/Shortix.git
cd Shortix
```

### ๐Ÿ“ฆ Install Dependencies

```bash
npm install
```

### โ–ถ๏ธ Run the Application

```bash
npm start
```

> โš™๏ธ Make sure to create a `.env` file with necessary environment variables.

---

## ๐Ÿ” Environment Variables Example

```env
PORT=5000
MONGODB_URI=mongodb+srv://...
BASE_URL=http://localhost:5000
```

---

## ๐Ÿงช API Endpoints

| Method | Endpoint | Description |
|--------|----------------------|----------------------------|
| POST | `/create/` | Shorten a long URL |
| GET | `/:shortCode` | Redirect to original URL |
| GET | `/generateStats` | Get click stats (optional) |

---

## ๐Ÿ™Œ Contributing

We โค๏ธ contributions from the community!

### ๐Ÿงญ Guidelines

1. Fork the repository ๐Ÿด
2. Create a new branch: `git checkout -b feature/your-feature-name`
3. Make your changes ๐Ÿ’ป
4. Commit your changes: `git commit -m "โœจ Added cool feature"`
5. Push to your fork: `git push origin feature/your-feature-name`
6. Submit a pull request ๐Ÿš€

### ๐Ÿ”Ž Code of Conduct

- Be respectful and inclusive.
- Use clear and concise commit messages.
- Follow the existing code style and naming conventions.
- Report bugs and suggest features through GitHub Issues.

> Let's build something amazing together! ๐Ÿ’ซ

---

## ๐Ÿ“ธ Screenshots

| Web App | Mobile View |
|---------|-------------|
| ![Web](https://imgur.com/your-web.png) | ![Mobile](https://imgur.com/your-mobile.png) |

---

## ๐Ÿ‘จโ€๐Ÿ’ป Author

Made with ๐Ÿ’– by [Saran Hiruthik M](https://www.linkedin.com/in/saran-hiruthik-m/)
GitHub: [@hirux06](https://github.com/hirux06)

---

## โญ If you like it, give it a star!

๐Ÿ‘‰ `git commit -m "โญ Starred Shortix on GitHub"`
Your star means a lot. Let's grow this project together! ๐Ÿš€

---