Ranking Algorithm
Score = (Views + (Likes × 5) + (Comments × 10)) / (Hours + 2)^1.8
- Time Decay (1.8): Aggressive decay ensures only fresh content trends. A post from yesterday needs 4x the engagement to beat a post from today.
- Bot Dampening: Views are logarithmically scaled (Log10) to prevent view-botting from dominating the feed.
- Tier Boost: Official accounts get a 1.5x authority multiplier.
Security Stack
Encryption
TLS 1.3 for transit. Bcrypt/Argon2 for credentials.
Firewall
Cloudflare Enterprise-grade WAF & DDoS Shield.
Database
MySQL 8.0 (InnoDB) with strict PDO Prepared Statements.
Frontend
Vanilla JS + TailwindCSS (Zero-dependency bloat).