Skip to content

Modern cross-platform admin interface for HazeBot built with Flutter

Notifications You must be signed in to change notification settings

inventory69/HazeBot-Admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

205 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HazeBot Admin Panel ๐Ÿ“ฑ

Modern cross-platform admin interface for HazeBot built with Flutter

Flutter Dart Material Design 3 License

Feature-rich admin panel with hybrid navigation combining user features for community members and powerful management tools for administrators. Built with Flutter for Web, Android, and Desktop.

โœจ Key Features

  • ๐ŸŽจ Material Design 3 - Android 16 Monet dynamic colors with system theme
  • ๐Ÿ” JWT Authentication - Secure token-based auth with automatic refresh
  • ๐ŸŽฎ User Features - HazeHub, Gaming Hub, Rocket League, Meme Generator
  • โš™๏ธ Admin Tools - Configuration, live monitoring, cog manager, log viewer
  • ๐Ÿ“ฑ Cross-Platform - Web (primary), Android, Linux Desktop
  • ๐Ÿš€ Responsive - Mobile, tablet, and desktop optimized

๐Ÿ“ฅ Quick Download

Android APK: Download Latest Release

๐Ÿ’ก Pro Tip: Use Obtainium for automatic updates!

๐Ÿ“ฑ Installation Guide | ๐Ÿ”ง Setup Checklist


๐Ÿš€ Quick Start

Prerequisites

  • Flutter SDK 3.0+ - Install
  • HazeBot Bot + API Server - Running and accessible

Setup

git clone https://github.com/inventory69/HazeBot-Admin.git
cd HazeBot-Admin
flutter pub get

# Configure
cp .env.example .env
# Edit .env with your API URL

# Run
flutter run -d chrome    # Web
flutter run -d android   # Android
flutter run -d linux     # Linux

Configuration

Edit .env:

API_BASE_URL=https://your-api-url.com/api
IMAGE_PROXY_URL=https://your-api-url.com/api/proxy/image
GITHUB_REPO_URL=https://github.com/inventory69/HazeBot-Admin

API URL Examples:

  • Local Web: http://localhost:5070/api
  • Android Emulator: http://10.0.2.2:5070/api
  • Android Device: http://YOUR_LOCAL_IP:5070/api
  • Production: https://your-domain.com/api

๐Ÿ“– Detailed Setup Guide


๐Ÿ“ฆ Features

๐ŸŽฎ User Features (All Users)

  • HazeHub - Community feed with memes & rank-ups
  • Gaming Hub - See who's online, send game requests
  • Rocket League - Manage accounts, stats, post to Discord
  • Meme Generator - Create memes with 100+ templates
  • Profile - Avatar, role, RL rank, activity stats

โš™๏ธ Admin Features (Admin Only)

  • Configuration - Bot settings (channels, roles, memes, RL)
  • Cog Manager - Load/unload/reload bot cogs
  • Tickets - Real-time chat with WebSocket, claim/assign/close actions
  • Monitoring - Active user sessions with analytics
  • Logs - Bot logs with filtering

๐ŸŽจ UI/UX

  • Hybrid navigation (bottom tabs + admin rail)
  • Android 16 Monet dynamic theming
  • Dark/Light mode with system sync
  • Hero animations & smooth transitions
  • Pull-to-refresh on all lists
  • Real-time WebSocket updates for tickets
  • Smart push notification suppression
  • Message caching for instant loading

๐Ÿ“‹ Complete Features List - Full feature documentation with details


๐Ÿ—๏ธ Architecture

Navigation

  • Bottom TabBar (Users) - HazeHub, Gaming Hub, RL, Memes
  • Navigation Rail (Admins) - Config, Cogs, Tickets, Logs
  • Admin Toggle - Show/hide admin features
  • Profile Menu - Bottom sheet with settings

Material Design 3

  • Surface Hierarchy - Proper color depth (low/high/highest)
  • Elevation 0 - Flat design per Android 16
  • Dynamic Colors - Monet system theme integration

State Management

  • Local State - StatefulWidget for screens
  • Provider - Theme and authentication
  • mounted checks - Before setState() in async
  • WebSocket Service - Real-time ticket updates
  • Message Cache - Persistent message storage

๐Ÿ—๏ธ Detailed Architecture


๐Ÿ”จ Building

Web

flutter build web --release --pwa-strategy=none

Android

flutter build apk --split-per-abi --release

Linux

flutter build linux --release

๐Ÿ“– Complete Build Guide


๐Ÿ“š Documentation

๐Ÿ“– Documentation Index - Complete documentation overview

Quick Links:

Related:


๐Ÿงช Development

Hot Reload

  • r - Hot reload (preserves state)
  • R - Hot restart (resets state)
  • q - Quit

Code Quality

flutter analyze       # Check code
dart format .         # Format code
flutter test          # Run tests

๐Ÿ“– Development Guide


๐Ÿค Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

Quick Steps:

  1. Fork repository
  2. Create branch (git checkout -b feature/name)
  3. Follow code style (dart format .)
  4. Test on multiple platforms
  5. Submit Pull Request

Guidelines:

  • โœ… Material Design 3 surface hierarchy
  • โœ… Check mounted before setState()
  • โœ… Try-catch on all API calls
  • โœ… Support mobile/tablet/desktop

๐Ÿ“„ License

MIT License - see LICENSE. Free to use and modify!


๐Ÿ™ Acknowledgments

Built with ๐Ÿ’– for The Chillventory community

  • Powered by Flutter
  • Material Design 3 guidelines
  • Special thanks to contributors

Questions? Open an issue on GitHub!

Made with ๐Ÿ’– for The Chillventory ๐Ÿ“ฑโœจ

About

Modern cross-platform admin interface for HazeBot built with Flutter

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors