Skip to content

Velyzo/velink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸš€ Velink - Professional URL Shortener

Version Node.js React License

The most advanced, secure, and beautiful URL shortening platform
Built with modern web technologies for maximum performance and reliability


✨ What Makes Velink Special?

Velink isn't just another URL shortener – it's a complete link management platform designed for professionals, businesses, and developers who demand the best.

🎯 Key Features

Feature Description
πŸ”— Smart URL Shortening Generate beautiful, memorable short URLs with custom options
πŸ“Š Advanced Analytics Real-time click tracking, geographic data, and performance insights
πŸ” Enterprise Security Password protection, expiration dates, and access controls
🎨 Beautiful Interface Modern, responsive design with dark/light theme support
⚑ Lightning Fast Optimized for speed with caching and performance monitoring
πŸ›‘οΈ Admin Dashboard Comprehensive management tools with update system
🌍 SEO Optimized Automatic sitemaps, meta tags, and search engine friendly
πŸ“± Mobile Ready Full responsive design with PWA capabilities

πŸš€ Quick Start

Prerequisites

  • Node.js 18+ (Latest LTS recommended)
  • npm or yarn
  • Git

Installation

# Clone the repository
git clone https://github.com/Velyzo/velink.git
cd velink

# Install dependencies for both server and client
npm install
cd client && npm install && cd ..

# Configure environment
cp .env.example .env
# Edit .env with your configuration

# Start development server
npm run dev

Production Deployment

# Build the application
npm run build

# Start production server
npm start

πŸŽ‰ Your Velink instance is now running at https://velink.me

βš™οΈ Configuration

Velink uses a single .env file for all configuration. Here are the key settings:

Essential Settings

# Security - CHANGE THIS!
ADMIN_TOKEN=your-super-secure-admin-token

# Server Configuration  
PORT=80
NODE_ENV=production
DOMAIN=velink.me

# Features
ENABLE_ANALYTICS=true
ENABLE_SITEMAP=true
ENABLE_QR_CODES=true

Advanced Configuration

# Rate Limiting
RATE_LIMIT_WINDOW_MS=500
RATE_LIMIT_MAX_REQUESTS=1
DAILY_LINK_LIMIT=500

# SSL (Optional)
SSL_KEY_PATH=./ssl/private.key
SSL_CERT_PATH=./ssl/certificate.crt

# Website Protection
WEBSITE_PRIVATE=false
WEBSITE_PASSWORD=your-password

πŸ› οΈ Admin Dashboard

Access the powerful admin dashboard at /admin with your admin token.

Admin Features:

  • πŸ“Š System Monitoring - Real-time health and performance metrics
  • πŸ”„ Update Manager - Automated system updates with backup/rollback
  • πŸ—ƒοΈ Link Management - Bulk operations and advanced filtering
  • πŸ“ˆ Analytics Dashboard - Comprehensive usage statistics
  • πŸ”§ System Configuration - Runtime settings and feature toggles
  • πŸ“ Log Management - System logs and debugging tools

πŸ—οΈ Architecture

Velink is built with a modern, scalable architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   React Client  │────│  Express Server │────│ SQLite Database β”‚
β”‚  (Frontend UI)  β”‚    β”‚   (Port 80)     β”‚    β”‚   (velink.db)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚                       β”‚
         β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
         └──────────────│  Update Manager β”‚β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚ (Cross-Platform)β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Technology Stack:

  • Frontend: React 18, TypeScript, Tailwind CSS, Framer Motion
  • Backend: Node.js, Express, SQLite, JWT Authentication
  • DevOps: Cross-platform update system, automated backups
  • Security: Rate limiting, CORS, Helmet, input validation

πŸ“Š API Documentation

Velink provides a comprehensive REST API for all operations:

Core Endpoints:

POST /api/shorten          # Create short URL
GET  /:shortCode           # Redirect to original URL
POST /api/verify-password  # Verify password-protected links
GET  /api/stats            # Get link statistics

Admin Endpoints:

POST /api/admin/verify           # Verify admin token
GET  /api/admin/links            # Get all links (paginated)
GET  /api/admin/update/check     # Check for updates
POST /api/admin/update/perform   # Perform system update
GET  /api/admin/system           # System information

πŸ“š Full API documentation available at /api-docs


πŸ”„ Update System

Velink features an advanced update management system:

Features:

  • βœ… Automatic Updates - Check and apply updates seamlessly
  • πŸ”„ Backup & Rollback - Automatic backups before updates
  • πŸ–₯️ Cross-Platform - Works on Windows, Linux, and macOS
  • πŸŽ›οΈ Admin Control - Web-based update management
  • πŸ“Š Health Monitoring - System health checks during updates

Update Process:

  1. Health Check - Verify system status
  2. Backup Creation - Automatic backup before changes
  3. Download Updates - Fetch latest changes from repository
  4. Dependency Update - Update npm packages
  5. Build Process - Rebuild client application
  6. Service Restart - Graceful service restart
  7. Verification - Post-update health check

πŸ›‘οΈ Security Features

Velink is built with security in mind:

Security Measures:

  • πŸ” Token Authentication - Secure admin access
  • 🚫 Rate Limiting - Protection against abuse
  • πŸ›‘οΈ Input Validation - Comprehensive input sanitization
  • πŸ”’ CORS Protection - Cross-origin request filtering
  • πŸ”‘ Password Protection - Optional link password protection
  • πŸ“ Audit Logging - Comprehensive activity logging

πŸ“ˆ Performance Optimization

Velink is optimized for maximum performance:

Optimizations:

  • ⚑ Compression - Gzip compression for all responses
  • πŸ—„οΈ Caching - Intelligent caching strategies
  • πŸ“± Responsive Images - Optimized image delivery
  • πŸ”„ Service Worker - Offline functionality and caching
  • πŸ“Š Performance Monitoring - Real-time performance tracking
  • 🎯 Core Web Vitals - Optimized for Google's performance metrics

🀝 Contributing

We welcome contributions! Here's how to get started:

Development Setup:

# Fork the repository
git clone https://github.com/yourusername/velink.git
cd velink

# Create feature branch
git checkout -b feature/amazing-feature

# Install dependencies
npm install
cd client && npm install && cd ..

# Start development
npm run dev

Code Standards:

  • πŸ“ TypeScript for type safety
  • 🎨 ESLint & Prettier for code formatting
  • βœ… Testing required for new features
  • πŸ“š Documentation for all public APIs

πŸ“„ License

Velink is open source software licensed under the MIT License.

MIT License - Feel free to use, modify, and distribute!

πŸ†˜ Support & Documentation

Getting Help:

Resources:


🌟 Why Choose Velink?

Velink Other Solutions
βœ… Complete Solution ❌ Basic URL shortening only
βœ… Self-Hosted ❌ Vendor lock-in
βœ… Advanced Analytics ❌ Limited tracking
βœ… Admin Dashboard ❌ No management tools
βœ… Update System ❌ Manual updates
βœ… Enterprise Security ❌ Basic protection
βœ… Open Source ❌ Proprietary
βœ… No Limits ❌ Usage restrictions

⭐ Star us on GitHub if Velink helps you! ⭐

Made with ❀️ by the Velink Team

GitHub β€’ Website β€’ Documentation β€’ Support

About

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published