{"id":23375699,"url":"https://github.com/bayunugroho2022/dio-request-inspector","last_synced_at":"2025-04-10T18:16:45.157Z","repository":{"id":65146872,"uuid":"583844545","full_name":"bayunugroho2022/dio-request-inspector","owner":"bayunugroho2022","description":"Debug and Sharing your HTTP Request/Response with UI Inspector.","archived":false,"fork":false,"pushed_at":"2025-03-13T05:55:02.000Z","size":1014,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:52:37.006Z","etag":null,"topics":["dart","dart-library","dart-package","dio","flutter","flutter-package","flutter-web","inspector"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/dio_request_inspector","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bayunugroho2022.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}},"created_at":"2022-12-31T06:06:13.000Z","updated_at":"2025-03-16T18:47:20.000Z","dependencies_parsed_at":"2024-05-03T11:11:39.239Z","dependency_job_id":"dbc0b002-196f-4a97-8630-8d2a1ed1faa8","html_url":"https://github.com/bayunugroho2022/dio-request-inspector","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayunugroho2022%2Fdio-request-inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayunugroho2022%2Fdio-request-inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayunugroho2022%2Fdio-request-inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayunugroho2022%2Fdio-request-inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bayunugroho2022","download_url":"https://codeload.github.com/bayunugroho2022/dio-request-inspector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248269768,"owners_count":21075788,"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","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":["dart","dart-library","dart-package","dio","flutter","flutter-package","flutter-web","inspector"],"created_at":"2024-12-21T17:17:10.022Z","updated_at":"2025-04-10T18:16:45.151Z","avatar_url":"https://github.com/bayunugroho2022.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/91040581/210127198-791f085b-61b8-4a77-8168-986c9a90d806.png\" width=\"200\" height=\"185\"\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eDio Requests Inspector\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\nA HTTP inspector for Dio, which can intercept and log HTTP requests and responses.\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n![ss](https://github.com/bayunugroho2022/dio-request-inspector/assets/91040581/efd6d3c9-c068-4fed-a94e-a30b9cd616ab)\n\u003cbr\u003e\n\n## Features\n\n- [X] Intercept and log HTTP requests and responses\n- [X] Secure HTTP requests with passwords\n- [X] Filter logs by request time, method, and status\n- [X] Search logs by path\n- [X] Easily share request and response data\n- [X] Beautify JSON data\n- [X] Beautiful user interface\n\n## How to use\n\n- Add the package with command\n\n```bash\nflutter pub add dio_request_inspector\n```\n\n- add `navigatorObservers` to your `MaterialApp`\n\n```dart\nnavigatorObservers: [\n  DioRequestInspector.navigatorObserver,\n],\n```\n\n- Wrap your `myApp` with `DioRequestInspectorMain`\n\n```dart\nvoid main() {\n  runApp(DioRequestInspectorMain(\n    isDebugMode: true,\n    child: MyApp(),\n  ));\n}\n```\n\n- add interceptor to your Dio instance\n\n```dart\nfinal DioRequestInspector inspector = DioRequestInspector(\n  isInspectorEnabled: true,\n  password: '123456', // remove this line if you don't need password\n  showSummary: false,\n);\n\ndio.interceptors.add(inspector.getDioRequestInterceptor());\n```\n\nsee detail example\n\n## Note\n\n- tap ```Long press``` on your screen to show DioRequestInspector UI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayunugroho2022%2Fdio-request-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbayunugroho2022%2Fdio-request-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayunugroho2022%2Fdio-request-inspector/lists"}