π Next-Generation Behavior-Aware Link Shortener with Advanced Analytics
Transform simple links into intelligent, adaptive experiences that learn from user behavior
π― Features β’ π οΈ Installation β’ π Analytics β’ π§ API β’ π¨ Screenshots
Smart Link Intelligence isn't just another URL shortener. It's an intelligent routing system that adapts to user behavior, provides deep analytics, and maximizes engagement through smart decision-making.
- Modern Landing Page: Beautiful, responsive landing page with professional design
- Gradient Aesthetics: Purple-to-blue gradient theme with glass morphism effects
- Interactive Elements: Smooth animations, hover effects, and engaging user interface
- Clear Value Proposition: Immediately showcases platform capabilities and benefits
graph TD
A[π Landing Page] --> B{π€ User Status}
B -->|New User| C[π Sign Up]
B -->|Existing User| D[π Sign In]
C --> E[π Dashboard]
D --> E
E --> F[π Create Smart Links]
F --> G{π‘οΈ DDoS Check}
G -->|β
Safe| H{π§ Behavior Analysis}
G -->|β οΈ Suspicious| I[π« Block/Rate Limit]
H -->|First Visit| J[π Curious User]
H -->|Return Visit| K[π€ Interested User]
H -->|Multiple Visits| L[π₯ Highly Engaged]
J --> M[π± Primary URL]
K --> N[π Returning URL]
L --> O[π― CTA URL]
M --> P[π Analytics Tracking]
N --> P
O --> P
P --> Q[π‘οΈ Security Monitoring]
Q --> R[π Smart Insights]
I --> S[π Protection Dashboard]
- Behavior-Based Routing: Automatically routes users based on engagement level
- Progressive Journeys: Guide users through custom conversion funnels
- Custom Behavior Rules: Define your own thresholds for visitor classification
- Geographic Intelligence: Region-based analytics and routing
- Flexible Thresholds: Set custom visit and click counts for behavior classification
- Multiple Rule Sets: Create different rules for different use cases
- Real-Time Classification: Dynamic visitor behavior analysis
- Rule Management: Easy-to-use interface for creating and managing behavior rules
- Multi-Layer DDoS Protection: Automatic detection and mitigation of distributed attacks
- Rate Limiting: Intelligent request throttling per IP and link
- Burst Attack Prevention: Real-time detection of rapid-fire requests
- Automatic Link Protection: Self-healing links that disable under attack
- Security Dashboard: Monitor threats and manage protection levels
- Smart Chatbot: Integrated AI assistant to help users navigate the platform
- Automated Assistance: Quick answers for common queries and troubleshooting
- Comprehensive Admin Panel: Full administrative control system to manage users, ads, and platform health.
- Centralized Management: Unified interface for system-wide configuration and monitoring.
- Stunning Landing Page: Modern, responsive design with gradient aesthetics and glass morphism
- Intuitive Navigation: Clear user journey from landing to dashboard
- Interactive Elements: Smooth animations, hover effects, and engaging UI components
- Mobile-First Design: Optimized for all devices and screen sizes
- Smart Ad System: Unified ad platform supporting both user-created and system-wide advertisements.
- Custom Branding: Personalized ad creation with image support
- Premium Features: Ad-free experience and advanced analytics for Elite Pro users
- Link Management: Delete, track, and manage all links from one dashboard
- Export Capabilities: Excel/CSV export with shareable analytics
- Python 3.8+ π
- pip package manager π¦
- Modern web browser π
# 1οΈβ£ Clone the repository
git clone https://github.com/yourusername/smart-link-intelligence.git
cd smart-link-intelligence
# 2οΈβ£ Create virtual environment
python -m venv .venv
# 3οΈβ£ Activate virtual environment
# Windows
.venv\Scripts\activate
# macOS/Linux
source .venv/bin/activate
# 4οΈβ£ Install dependencies
pip install -r requirements.txt
# 5οΈβ£ Launch the application
python app.pyπ That's it! Visit http://localhost:5000 to see the beautiful landing page and start using Smart Link Intelligence.
Create a .env file for custom configuration:
# Flask Configuration
FLASK_SECRET=your-super-secret-key-here
FLASK_ENV=development
# Database Configuration
DATABASE_URL=sqlite:///smart_links.db
# Analytics Configuration
ANALYTICS_RETENTION_DAYS=90
MAX_LINKS_PER_USER=100The application follows a clean routing structure:
π Routes & Navigation Flow:
ββ / (Root)
β ββ π€ Not Logged In β Landing Page
β ββ π Logged In β Redirect to Dashboard
β
ββ /login β Sign In Page
ββ /signup β Sign Up Page
ββ /dashboard β Main Dashboard (requires auth)
ββ /r/<code> β Smart Link Redirect
ββ /ads/<code> β Ad Display Page
ββ /analytics-overview β Analytics Dashboard
ββ /behavior-rules β Custom Rules Management
ββ /ddos-protection β Security Dashboard
ββ /create-ad β Ad Creation Interface
π― User Flow:
- First Visit β Beautiful landing page with clear CTAs
- Sign Up/In β Secure authentication system
- Dashboard β Link creation and management interface
- Analytics β Comprehensive tracking and insights
- Security β DDoS protection and threat monitoring
sequenceDiagram
participant U as π€ User
participant S as π Smart Link
participant R as ποΈ Behavior Rules
participant A as π§ AI Engine
participant D as π― Destination
U->>S: Click Link
S->>R: Get Custom Rules
R->>A: Apply Thresholds
A->>A: Analyze Behavior
Note over A: Session History<br/>Custom Thresholds<br/>Time Windows
A->>A: Classify User Intent
alt Curious (First Visit)
A->>D: Route to Primary URL
else Interested (Custom Threshold)
A->>D: Route to Returning URL
else Highly Engaged (Custom Clicks)
A->>D: Route to CTA URL
end
D->>U: Deliver Content
S->>S: Update Analytics
Configure your own thresholds for visitor classification:
π― E-commerce Rule:
- Returning Window: 72 hours
- Interested: 3+ visits
- Engaged: 5+ clicks
π Blog Rule:
- Returning Window: 24 hours
- Interested: 2+ visits
- Engaged: 3+ clicks
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Smart Link Intelligence - Landing Page β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β π¨ Modern Gradient Header with Glass Morphism β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Smart Link Intelligence [Sign In] [Sign Up] β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β π Hero Section β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Create, Manage & Optimize Smart Links with Ease β β
β β β β
β β A powerful, secure, and intelligent platform to β β
β β create behavior-aware links with advanced analytics, β β
β β DDoS protection, and AI-powered routing. β β
β β β β
β β [π Sign Up] [βΆοΈ How It Works] β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
POST /api/links
Content-Type: application/json
{
"primary_url": "https://example.com",
"returning_url": "https://example.com/returning",
"cta_url": "https://example.com/signup",
"behavior_rule": "progression",
"behavior_rule_id": 123,
"custom_code": "my-link"
}Smart Link Intelligence features enterprise-grade DDoS protection:
π Protection Workflow:
1. π Request Analysis
βββ IP-based rate limiting
βββ Burst detection
βββ Behavioral analysis
2. π― Threat Classification
βββ Level 1-2: Enhanced monitoring
βββ Level 3: Captcha verification
βββ Level 4: Temporary disable
βββ Level 5: Manual recovery required
3. π‘οΈ Automatic Response
βββ Real-time blocking
βββ Link protection activation
βββ Event logging & analytics
This project is licensed under the MIT License - see the LICENSE file for details.
π Ready to make your links smarter?
π Visit Landing Page β’ π― Sign Up β’ π Sign In β’ π Dashboard
Made with β€οΈ by the Smart Link Intelligence Team