{"id":31761527,"url":"https://github.com/mduccc/in_app_console","last_synced_at":"2025-10-09T21:53:29.103Z","repository":{"id":316800047,"uuid":"1064899421","full_name":"mduccc/in_app_console","owner":"mduccc","description":"Bridge the gap between developers and testers with real-time, in-app log viewing. Enables QA teams to access developer-level logs directly in the Flutter app UI, making debugging faster and bug reports more detailed. Works seamlessly with micro-frontend architecture.","archived":false,"fork":false,"pushed_at":"2025-10-08T08:10:39.000Z","size":1576,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T08:32:05.731Z","etag":null,"topics":["flutter","loger","logging"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/in_app_console","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mduccc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-26T18:17:52.000Z","updated_at":"2025-10-08T08:10:42.000Z","dependencies_parsed_at":"2025-09-26T20:44:11.796Z","dependency_job_id":"7d09479c-8775-415e-9e82-f56f9d6648dd","html_url":"https://github.com/mduccc/in_app_console","commit_stats":null,"previous_names":["mduccc/in_app_console"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mduccc/in_app_console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduccc%2Fin_app_console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduccc%2Fin_app_console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduccc%2Fin_app_console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduccc%2Fin_app_console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mduccc","download_url":"https://codeload.github.com/mduccc/in_app_console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mduccc%2Fin_app_console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002044,"owners_count":26083286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","loger","logging"],"created_at":"2025-10-09T21:53:11.112Z","updated_at":"2025-10-09T21:53:29.098Z","avatar_url":"https://github.com/mduccc.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## From pain point  to Idea\n\n**Pain point**\n- Developers can build and view logs, but testers normally can't.\n- In micro-frontend architecture, it's difficult to track logs when each module logs differently.\n\n**Idea**\n- The package bridges that gap by providing unified in-app log viewing.\n- Enables both developers and testers to easily check logs across all modules in one centralized console, making debugging faster and bug reports more detailed.\n\n## Designed for Micro-frontend architecture\n```\n┌─────────────────────────────────────────────────────────────────────────────────────┐\n│              Flutter App with Micro-frontend architecture                           │\n├─────────────────────────────────────────────────────────────────────────────────────┤\n│ [Auth Module]     [Payment Module]     [Profile Module]     [Chat Module]           │\n│     Logger            Logger             Logger             Logger                  │\n│ setLabel('Auth')  setLabel('Payment')  setLabel('Profile')  setLabel('Chat')        │\n│      │                 │                  │                 │                      │\n│      └─────────────────┼──────────────────┼─────────────────┘                      │\n│                        │                  │                                        │\n│                        ▼                  ▼                                        │\n├─────────────────────────────────────────────────────────────────────────────────────┤\n│                       [Platform Application]                                       │\n│                        InAppConsole (Central)                                      │\n│                                                                                     │\n│    Registered Loggers with Tags: [Auth, Payment, Profile, Chat]                    │\n│                                                                                     │\n│    Unified History with Tags:                                                      │\n│    • [Auth] User login                                                             │\n│    • [Payment] Payment failed                                                      │\n│    • [Profile] Profile updated                                                     │\n│    • [Chat] Message sent                                                           │\n│                              │                                                     │\n│                              ▼                                                     │\n├─────────────────────────────────────────────────────────────────────────────────────┤\n│                         Console UI Screen                                          │\n│                                                                                     │\n│    Tagged Log Display:                                                             │\n│    14:23 [Auth] User login successful                                              │\n│    14:24 [Payment] Payment gateway timeout                                         │\n│    14:25 [Profile] Profile image uploaded                                          │\n│    14:26 [Chat] Message sent                                                       │\n│                                                                                     │\n└─────────────────────────────────────────────────────────────────────────────────────┘\n```\n\n## Screenshots\n\n\u003cimg src=\"https://github.com/mduccc/in_app_console/blob/1.0.1/screenshots/list.png?raw=true)\" alt=\"Log List\" width=\"45%\"/\u003e \u003cimg src=\"https://github.com/mduccc/in_app_console/blob/1.0.1/screenshots/detail.png?raw=true)\" alt=\"Log Detail\" width=\"45%\"/\u003e\n\n\u003cimg src=\"https://github.com/mduccc/in_app_console/blob/1.0.1/screenshots/console.png?raw=true)\" alt=\"Log List\"/\u003e\n\n## Usage\n\n### 1. Add dependency\n```yaml\ndependencies:\n  in_app_console: ^1.0.1\n```\n\n### 2. Import the package\nAdd the following import to your Dart files where you want to use the in-app console:\n\n```dart\nimport 'package:in_app_console/in_app_console.dart';\n```\n\n### 3. Create logger and add to console\n```dart\nfinal logger = InAppLogger();\nlogger.setLabel('Chat module'); // Optional: set a label\nInAppConsole.instance.addLogger(logger);\n```\n\n### 4. Log messages\n```dart\n// Info logs\nlogger.logInfo('User logged in successfully');\n\n// Warning logs\nlogger.logWarning(message: 'Low storage space');\n\n// Error logs\nlogger.logError(\n  message: 'Failed to load data',\n  error: error,\n  stackTrace: stackTrace,\n);\n```\n\n### 5. Show console screen\n```dart\n// Using InAppConsole helper method\nInAppConsole.instance.openConsole(context);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmduccc%2Fin_app_console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmduccc%2Fin_app_console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmduccc%2Fin_app_console/lists"}