SkillAgentSearch skills...

HyperFrame

๐Ÿš€ The Ultimate Production-Ready Flutter Framework. Features Clean Architecture, Riverpod, GoRouter, Generic Network Layer, and HyperConsole: A built-in runtime debugging cockpit.

Install / Use

/learn @aeTunga/HyperFrame
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

๐Ÿš€ HyperFrame - Stop burning your CPU

HyperFrame Demo

The Ultimate Flutter Development Workbench with Built-in Developer Cockpit

HyperFrame is a blazing-fast Flutter development environment that runs mobile apps as native desktop apps with device frame simulation. Say goodbye to slow emulators and hello to instant hot reloads plus a powerful runtime debugging suite!


๐ŸŽฏ Why HyperFrame?

Traditional mobile development requires running heavy emulators that consume massive CPU resources and drain your battery. HyperFrame changes everything - and includes HyperConsole, your built-in developer cockpit for runtime debugging.

Key Benefits:

| Feature | Traditional Emulator | HyperFrame + HyperConsole | |---------|---------------------|---------------------------| | Speed | Slow startup (30s+) | Instant (< 5s) โšก๏ธ | | CPU Usage | 40-60% constant load | < 10% ๐Ÿ”‹ | | Hot Reload | 2-5 seconds | < 1 second ๐Ÿ”ฅ | | API Testing | Need Postman | Built-in Network Tab ๐ŸŒ | | Cache Debug | Manual logging | Live Cache Inspector ๐Ÿ’พ | | Navigation Debug | Manual tracking | Browser-like History ๐Ÿงญ | | Battery Impact | Drains rapidly | Minimal usage ๐ŸŒฑ | | Multi-Device | One at a time | Switch instantly ๐Ÿ“ฑ |


โœจ Features

Core Development Experience

  • โšก๏ธ Native Performance - 10x faster than Android Emulator
  • ๐Ÿ“ฑ Multi-Device Simulation - iPhone, Pixel, iPad in one click
  • ๐Ÿ”‹ Battery Saver - No heavy virtualization
  • ๐ŸŽจ Instant Theme Testing - Toggle dark/light mode instantly
  • ๐Ÿ“ Responsive Layout Validation - Test different screen sizes live
  • ๐Ÿ›  Developer Experience - Hot reload in milliseconds

๐Ÿ”ฅ HyperConsole - Built-in Developer Cockpit

One tap. Five powerful tools. Zero external dependencies.

  • ๐ŸŒ Network Tester - Full REST client with mock data generation
  • ๐Ÿ’พ Cache Inspector - View, search, and clear app cache in real-time
  • ๐ŸŽจ Theme & Device Tab - Instant theme preview + device information
  • ๐Ÿงญ Router Manager - Browser-like navigation with history & favorites โญ
  • ๐Ÿ“Š Live Logger - Real-time filtered logs with search

๐Ÿ“– Full HyperConsole Documentation โ†’

Architecture & Quality

  • ๐Ÿ— Clean Architecture - Feature-first structure
  • ๐Ÿ”„ Riverpod State Management - Type-safe, reactive state
  • ๐Ÿงญ GoRouter Navigation - Declarative routing with deep linking
  • ๐ŸŒ Cross-Platform Desktop - Works on macOS, Windows, Linux
  • ๐ŸŽฏ Zero Configuration - Just clone and run

๐Ÿšฆ Quick Start

Prerequisites

  • Flutter 3.10+ installed
  • macOS 10.14+ (or Windows 10+ / Linux Ubuntu 20.04+)
  • Xcode Command Line Tools (macOS only)

Installation

# 1. Clone the repository
git clone https://github.com/aeTunga/HyperFrame.git
cd HyperFrame

# 2. Get dependencies
flutter pub get

# 3. Generate Riverpod code (REQUIRED - run after every git pull!)
dart run build_runner build --delete-conflicting-outputs

# 4. Run on macOS (or your desktop platform)
flutter run -d macos

๐ŸŽฏ Opening HyperConsole

After the app launches, look for the blue floating button in the bottom-left corner.

  • Tap โ†’ Opens HyperConsole with 5 debug tabs
  • Long Press + Drag โ†’ Repositions the button

๐Ÿ›  HyperConsole Overview

The 5 Power Tabs

1๏ธโƒฃ Network Tester

Test APIs without leaving your app. Full REST client with request history.

Network Tester Tab

// Test your backend instantly
GET https://api.example.com/users/123
POST https://api.example.com/auth/login

Features: Live API testing, request history, mock user generation, custom headers, formatted JSON responses.


2๏ธโƒฃ Cache Inspector

View and manipulate local storage in real-time. Debug persistence issues instantly.

Cache Inspector Tab

// See all cached data
theme_mode โ†’ "dark"
user_token โ†’ "eyJhbGc..."
onboarding_complete โ†’ true

Features: View all cache, search filter, individual/bulk clear, type display, live updates.


3๏ธโƒฃ Device & Theme Tab

Switch between light/dark/system themes without rebuilding. View device specs.

Device & Theme Tab

Features: Live theme switching, device information, safe area display, brightness control, real-time updates.


4๏ธโƒฃ Router Manager โญ NEW

Browser-like navigation debugging with history, favorites, and manual route testing.

Router Manager Tab

// Navigate to any route
/user/123?edit=true
/admin/dashboard

// Features: Back/Forward, History (last 20), Favorites (persistent)

Features: Current route display, manual navigation, back/forward buttons, history (last 20), favorites, quick access chips.


5๏ธโƒฃ Logger Tab

Real-time application logs with filtering. Copy logs for bug reports.

Logger Tab

Features: Live log stream, log levels (Info/Warning/Error), search filter, auto-scroll, copy logs, clear logs.


๐Ÿ“– Full HyperConsole Documentation โ†’


๐Ÿ“ฑ Switching Devices

Want to test on a different device? It's incredibly simple:

  1. Use the Toolbar - Click the device selector in the top toolbar (when app is running)
  2. Or Edit Code - Open lib/main.dart and uncomment your desired device:
// Line ~45 in lib/main.dart
defaultDevice: Devices.ios.iPhone16ProMax,          // Current (iPhone)
// defaultDevice: Devices.android.pixel6,           // Uncomment for Pixel 6
// defaultDevice: Devices.ios.iPad12InchGen4,       // Uncomment for iPad
// defaultDevice: Devices.android.samsungGalaxyS20, // Uncomment for Samsung

Available Devices:

  • iOS: iPhone SE, 13 Mini, 13, 13 Pro Max, 16 Pro Max, iPad Pro 11", iPad 12.9"
  • Android: Pixel 4/5/6, Samsung Galaxy S20/Note20/A50, OnePlus 8 Pro

๐Ÿ’ป Code Examples

Using NetworkManager (Type-Safe Generics)

import 'package:hyperframe/core/network/network_manager.dart';
import 'package:hyperframe/core/network/http_method.dart';

final networkManager = NetworkManager();

// Type-safe GET request
final response = await networkManager.request<User>(
  '/users/123',
  method: HttpMethod.get,
  parser: (json) => User.fromJson(json),
);

// Handle result
response.when(
  success: (user) => print('Welcome ${user.name}!'),
  failure: (error) => print('Error: ${error.message}'),
);

// POST with body
final createResponse = await networkManager.request<User>(
  '/users',
  method: HttpMethod.post,
  data: {'name': 'John', 'email': 'john@example.com'},
  parser: (json) => User.fromJson(json),
);

Using CacheManager

import 'package:hyperframe/core/caching/cache_manager.dart';
import 'package:hyperframe/core/constants/cache_keys.dart';

final cacheManager = CacheManager();

// Store primitives
await cacheManager.setString(CacheKeys.userToken, 'abc123');
await cacheManager.setInt('user_id', 42);
await cacheManager.setBool('onboarding_complete', true);

// Store JSON objects
await cacheManager.setJson('user_profile', user.toJson());

// Retrieve data
final token = await cacheManager.getString(CacheKeys.userToken);
final profile = await cacheManager.getJson('user_profile');

// Check & remove
if (await cacheManager.containsKey(CacheKeys.userToken)) {
  await cacheManager.remove(CacheKeys.userToken);
}

// Clear all (use with caution!)
await cacheManager.clear();

Using Riverpod State Management

import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';

part 'my_controller.g.dart';

// Auto-generated provider with code generation
@riverpod
class Counter extends _$Counter {
  @override
  int build() => 0;

  void increment() => state++;
  void decrement() => state--;
}

// In your widget
class MyWidget extends ConsumerWidget {
  @override
  Widget build(BuildContext context, WidgetRef ref) {
    final count = ref.watch(counterProvider);
    
    return Text('Count: $count');
  }
}

Custom Logging for HyperConsole

import 'package:hyperframe/core/init/log_helper.dart';

class MyService {
  Future<void> fetchData() async {
    LogHelper.info('Starting data fetch...');
    
    try {
      final data = await api.getData();
      LogHelper.info('Fetched ${data.length} items');
    } catch (e, stackTrace) {
      LogHelper.error('Fetch failed', error: e, stackTrace: stackTrace);
    }
  }
}

๐Ÿ“‚ Project Structure

hyperframe/
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ main.dart                          # Smart runner with platform detection
โ”‚   โ”œโ”€โ”€ app.dart                           # MaterialApp with routing
โ”‚   โ”œโ”€โ”€ core/
โ”‚   โ”‚   โ”œโ”€โ”€ console/                      # ๐Ÿ†• HyperConsole Developer Cockpit
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ widgets/
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ tabs/
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ network_tester_tab.dart
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ cache_viewer_tab.dart
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ device_theme_tab.dart
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ router_tab.dart        # โญ Browser-like navigation
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ logger_tab.dart
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ hyper_console_button.dart  # Floating access button
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ hyper_console_sheet.dart   # Bottom sheet container
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ models/
โ”‚   โ”‚   โ”œโ”€โ”€ router/                       # ๐Ÿ†• GoRouter navigation
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ app_router.dart          # Declarative routing
โ”‚   โ”‚   โ”œโ”€โ”€ network/                      # ๐Ÿ†• NetworkManager + Dio
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ interceptors/            # Error & logging interceptors
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ exceptions/              # Network exceptions
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ network_manager.dart     # Type-safe HTTP client
โ”‚   โ”‚   โ”œโ”€โ”€ caching/                      # ๐Ÿ†• CacheManager
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ cache_manager.dart       # Persistent local storage
โ”‚   โ”‚   โ”œโ”€โ”€ theme/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app_theme.dart           # Material 3 themes
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ theme_provider.dart      # Theme state manageme

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated1mo ago
Forks0

Languages

Dart

Security Score

90/100

Audited on Feb 28, 2026

No findings