ShareHub - URL Shortener

Description
ShareHub is a complete, production-ready URL shortener and link management platform built with PHP, MySQL, and Tailwind CSS. It provides a modern, responsive interface for shortening URLs, generating QR codes, tracking real-time click analytics, and monetizing traffic through an integrated coin-based reward system.
Ideal for marketers, content creators, SaaS businesses, and entrepreneurs who want a fully self-hosted link management platform with built-in monetization.
Version 1.0.0 is a major release with 40+ features, a full admin panel, blog system, premium plans, email template management, and six ad platform integrations.
............Demo Details..........
Live Demo: https://sharehub.w-co.in/ Admin Panel: https://sharehub.w-co.in/admin Admin Email: admin@gmail.com Admin Password: 12345678
Features
CORE LINK MANAGEMENT - Instant URL shortening with auto-generated short codes - Custom alias support for branded short links (e.g., yourdomain.com/s/mybrand) - QR code generation for every link (downloadable PNG/SVG) - Link share pages with social sharing buttons (Facebook, Twitter, WhatsApp, Telegram, Email) - Bulk link management from user dashboard (create, copy, delete, search) - Clean URL routing via .htaccess rewrite rules
ADVANCED ANALYTICS - Real-time click tracking with IP, user-agent, and referrer data - Browser breakdown (Chrome, Firefox, Safari, Edge, Opera) - Device type detection (Desktop, Mobile, Tablet) - Operating system tracking (Windows, macOS, Linux, iOS, Android) - Country-level geographic distribution - Interactive charts powered by Chart.js - Date range filtering (Today, 7 days, 30 days, All time) - CSV export for external reporting
USER SYSTEM - User registration with email validation - Secure login with bcrypt password hashing - Google OAuth integration (one-click Google login) - Forgot password with SMTP email reset flow - User profile page with avatar upload - User settings (name, email, password change, dark/light theme toggle) - 30-day persistent session management - Admin and User role system
MONETIZATION & COIN ECONOMY - Earn coins by watching video ads - Six ad platform integrations: Google AdSense, Adsterra, PropellerAds, Monetag, HilltopAds, A-Ads - Admin-configurable ad codes, coin rewards, and cooldown timers - Daily ad limit system (different limits for Free vs Premium users) - Daily login streak rewards with configurable bonus schedule - Digital wallet with coin balance and full transaction history - Premium activation: spend coins to unlock 30-day premium membership - Anti-fraud protection: cooldown timers, duplicate ad view detection
PREMIUM PLANS - Free plan with basic features and limited daily ads - Premium plan with higher ad limits, premium badge, and priority features - Beautiful plan comparison page - Auto-expiration after 30 days with countdown display - Admin-configurable premium cost, duration, and feature lists
FULL ADMIN PANEL - Dashboard with total users, links, clicks, revenue overview and charts - User management: view, edit roles, delete, ban, search with pagination - Link management: view all links, search, filter, delete - Ad platform manager: enable/disable platforms, configure ad codes, set rewards - Blog manager: create, edit, publish/draft blog articles with rich content - Email template manager: edit welcome, password reset, and notification emails - Email logs and SMTP test tool - Earnings overview: coin circulation, ad views, premium purchase stats - Plans and pricing configuration - Footer editor with dynamic sections, links, and social media icons - Site settings: name, tagline, logo, favicon, SEO, SMTP, Google OAuth, custom code injection
BLOG SYSTEM - Blog article creation with rich HTML content editor - URL slug generation for clean blog URLs - Per-article SEO (title, description, OG tags, JSON-LD Article schema) - Published/Draft status control - Blog listing page with card layout and individual post pages
EMAIL SYSTEM - 5 built-in email templates (welcome, premium activated, password reset, Google welcome, admin new user) - HTML email template editor with variable placeholders - SMTP configuration from admin panel - Email sending logs with status tracking - Test email tool from admin panel
MODERN UI/UX - Fully responsive design (desktop, tablet, mobile) - Dark/Light mode with system preference detection and manual toggle - Tailwind CSS 3.4 with glass morphism card components - Gradient text and button effects - Smooth fade-in animations and micro-interactions - Google Translate widget for multi-language support - Custom branded 404 error page
SECURITY - CSRF token protection on all forms and API endpoints - PDO prepared statements for all database queries (SQL injection prevention) - bcrypt password hashing with configurable cost factor - HTTPOnly, SameSite=Lax secure cookie settings - Security headers: X-Content-Type-Options, X-Frame-Options, X-XSS-Protection, Referrer-Policy - Input sanitization and XSS prevention - Disabled directory listing - Protected sensitive files via .htaccess
SEO & PERFORMANCE - Dynamic page titles and meta descriptions per page - Open Graph tags (Facebook, LinkedIn, WhatsApp) - Twitter Card tags (summary_large_image) - JSON-LD structured data (WebApplication + Article schemas) - Canonical URLs on every page - Dynamic XML sitemap at /sitemap.xml - Dynamic robots.txt at /robots.txt - noindex on private pages (dashboard, settings, wallet) - Google Search Console and Bing Webmaster verification meta tags - Minified Tailwind CSS build (~50KB) - GZIP compression for HTML, CSS, JS, JSON - Static asset caching (CSS/JS: 30 days immutable, Images: 1 year) - Cache busting via versioned asset URLs - No jQuery dependency — vanilla JavaScript only
INSTALLATION - Built-in 5-step web installer wizard (no command line needed) - Automatic PHP version and extension checking - Database auto-setup with full schema import - Admin account creation during installation - Site URL and settings configuration during install - Complete buyer documentation included (standalone HTML)
API ENDPOINTS - POST /api/create-link.php — Create a new short link - GET /api/analytics.php — Fetch link analytics data - GET /api/qrcode.php — Generate QR code for a link - POST /api/ad-reward.php — Process ad reward and credit coins
STATIC PAGES INCLUDED - About Us page with company story, mission, values - Contact page with contact form - Help & FAQ page - Privacy Policy page - Terms of Service page - Cookie Policy page - GDPR Compliance page
Requirements
- PHP 7.4 or higher (PHP 8.0+ recommended) - MySQL 5.7 or higher (MySQL 8.0+ recommended) - Apache 2.4+ with mod_rewrite enabled - PHP Extensions: PDO, PDO_MySQL, mbstring, json (required), GD, cURL, OpenSSL (recommended) - Minimum 50 MB disk space (100 MB+ recommended)
Supported Hosting: - Shared Hosting (cPanel, DirectAdmin, Plesk) - VPS / Dedicated Server - XAMPP / WAMP / MAMP (local development) - Cloud Hosting (DigitalOcean, AWS, Linode, etc.)
Note: ShareHub is optimized for Apache. For Nginx, you will need to convert the .htaccess rewrite rules to Nginx configuration format.
Instructions
INSTALLATION (5-Step Web Installer):
Step 1: Upload Files - Extract the main-files folder from the ZIP - Upload all files to your web server document root via FTP/SFTP or file manager
Step 2: Create Database - Create a new MySQL database via phpMyAdmin or your hosting control panel - Database collation: utf8mb4_unicode_ci
Step 3: Run Installer - Open your browser and visit: https://yourdomain.com/install... - The installer will guide you through: 1. Requirements Check — PHP version, extensions, permissions 2. Database Setup — Enter your MySQL host, database name, username, password 3. Admin Account — Create the first admin user (email + password) 4. Site Settings — Configure site name, URL, logo 5. Complete — Installation finished
Step 4: Remove Installer - After installation, delete the install/ folder for security
Step 5: Configure .htaccess - If installed in a subdirectory, update RewriteBase in .htaccess: RewriteBase /your-subdirectory/ - If installed in document root: RewriteBase /
ADMIN PANEL: - Access at: https://yourdomain.com/admin - Configure site settings, ad platforms, blog, email, plans from admin panel - All settings are manageable from the admin UI — no code editing required
GOOGLE LOGIN SETUP (Optional): - Go to Admin > Settings > Google Login - Enter your Google OAuth Client ID and Client Secret - See documentation for detailed setup guide
SMTP EMAIL SETUP (Optional): - Go to Admin > Settings > SMTP - Configure your mail server (Gmail, SendGrid, Mailgun, etc.) - Use the Test Email tool to verify
UPDATING: - Backup your database and files - Replace all files except includes/config.php and assets/uploads/ - Clear browser cache and hard-refresh
DOCUMENTATION: - Full documentation is included in the documentation/ folder of the ZIP - Open documentation/index.html in your browser for detailed guides
| Author | chandandas |
|---|---|
| Category | Scripts & Code / PHP Scripts / Links |
| Price | $25 |
| Extended License | $75 |
| Rating | 5.00 from 1 rating |
| Reviews | 1 |
| Likes | 3 |
| First Release | Apr 5, 2026 |
| Last Update | Apr 5, 2026 |
| Files included | .php, .css, .html, .sql, JavaScript .js |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 3,957 views · 16 clicksOther · Week 47 · 3,957 views · 16 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 4,075 views · 18 clicksSaaS · Week 47 · 4,075 views · 18 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 11,557 views · 80 clicksSaaS · Week 47 · 11,557 views · 80 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 3,936 views · 7 clicksSaaS · Week 47 · 3,936 views · 7 clicks