About This Site
Team Midnite is powered by a completely custom PHP web application—hand-built from the ground up for our community, creators, and team members. Every feature, page, and integration is uniquely coded for our specific needs.
Core Features
Multi-Platform Streaming Integration
Real-time creator and channel integration across Twitch, Velora, Kick, and YouTube. Platform APIs and available first-party data are used for live status, creator profiles, channel links, audience information, and platform-specific features.
Discord Automation
Seamless Discord webhook integration for applications, announcements, and community notifications. No manual posting required.
Multi-Team Management
Supports multiple teams (Main, Premier, Ladies) with automatic member tracking, verification status, and team-specific features.
Advanced Analytics
Real-time follower tracking, viewer statistics, streaming activity analysis, and comprehensive team performance metrics.
Clips Integration
Automatic Twitch clips fetching with smart timeframe selection, weighted randomization, and seamless video embedding.
Security & Privacy
Environment-based configuration, secure API handling, no exposed credentials, and comprehensive error logging.
Technical Architecture
Backend Technologies
PHP 8+
MySQL/PDO
Twitch Helix API
Velora API
Kick API
YouTube Data API
Discord Webhooks
REST APIs
Environment Config
Frontend Technologies
Vanilla JavaScript
Bootstrap 5
CSS3 Animations
Responsive Design
Font Awesome
Google Fonts
- Custom Backend: All server-side logic, database operations, and API integrations written in PHP with secure PDO database access
- Real-Time Platform Data: API integrations across Twitch, Velora, Kick, and YouTube provide platform-appropriate live status, creator/channel metadata, audience metrics, and TeamMidnite member synchronization where supported.
- Smart Algorithms: Intelligent streamer selection based on activity metrics, not just random rotation
- Secure Architecture: Environment-based configuration, no hardcoded credentials, comprehensive error handling
- Performance Optimized: Efficient database queries, API caching, and minimal external dependencies
Unique Capabilities
- Intelligent Streamer Selection: Our "Streamer of the Week" feature prioritizes active streamers based on follower count and recent activity, not just alphabetical rotation
- Team Structure Support: Supports TeamMidnite teams and creator groups with appropriate application, roster, verification, and management workflows.
- Advanced Team Sync: Synchronizes TeamMidnite creator information with supported streaming-platform APIs, including live status, platform identities, profile data, and available audience metrics.
- Discord Bot Integration: Custom Discord bot that assigns LIVE roles, tracks streaming status, and provides API endpoints for dashboard integration
- Secure Application Processing: Automated application handling with Discord notifications, admin approval workflows, and team chat integration
- Real-Time Monitoring: Live streaming status, viewer counts, game tracking, and automatic thumbnail generation
Security & Best Practices
- Environment Configuration: All sensitive data (API keys, webhooks, database credentials) stored in environment variables
- No Cron Jobs: System designed without automated cron jobs to prevent security risks and maintenance issues
- Secure API Handling: Proper authentication, rate limiting, and error handling for all external API calls
- Database Security: Prepared statements, input validation, and secure connection handling
- Client-Side Protection: No sensitive credentials exposed in JavaScript or client-side code
- Third-Party API Security: External platform integrations use only the credentials and scopes required for their functions. Secrets remain server-side and are not exposed to client-side code.
- Network Security: Remote database access is restricted to explicitly authorized hosts with firewall allowlisting.
- Content Security Policy: First-party JavaScript has been externalized and CSP Report-Only validation is underway before enforcement.
- Transport Security: Public HTTPS endpoints currently receive an A+ Qualys SSL Labs rating across Cloudflare-served IPv4 and IPv6 endpoints.
- Dependency Security: Production dependency auditing currently reports no known npm vulnerabilities.
- Exposure Monitoring: Honeypot and security telemetry is kept outside publicly accessible web paths.
- Security Reporting: Dedicated security information and reporting workflows are backed by Turnstile-protected contact paths.
Why Custom Built?
Perfect Fit
Every feature is designed specifically for Team Midnite's workflow and community needs. No compromises or workarounds.
Performance
Zero bloat, optimized queries, and efficient code result in lightning-fast load times and smooth user experience.
Security
Direct control over first-party code and integrations reduces unnecessary dependencies and allows security issues to be identified and addressed without waiting on a third-party CMS or plugin ecosystem.
Unique Identity
Our site's look, feel, and functionality are completely unique to Team Midnite. No generic templates or themes.
Development Philosophy
This site represents a commitment to quality over convenience. Instead of using WordPress, Wix, or other generic platforms, we chose to build everything from scratch because:
- Control: We control every aspect of functionality, performance, and security
- Scalability: The architecture can grow and adapt as our community evolves
- Innovation: We can implement cutting-edge features without waiting for plugin updates
- Reliability: No dependency on third-party plugins or services that could break or disappear
- Performance: Optimized specifically for our use case, not generic "one-size-fits-all" solutions
Fun Fact: This entire website contains zero WordPress, zero plugins, zero themes, and minimal external dependencies beyond essential libraries like Bootstrap and Font Awesome. Every line of PHP, JavaScript, and CSS was written specifically for Team Midnite.
Questions or Contributions?
Interested in our tech stack? Want to contribute? Curious about how we built a specific feature? We'd love to hear from you!
Contact: [email protected]