{"id":13684333,"url":"https://github.com/devmuaz/awesome-dio-interceptor","last_synced_at":"2026-01-11T04:52:28.865Z","repository":{"id":57699151,"uuid":"501318028","full_name":"devmuaz/awesome-dio-interceptor","owner":"devmuaz","description":"A simple dio log interceptor (mainly inspired by the built-in dio LogInterceptor), which has coloring features and json formatting so you can have a better readable output.","archived":false,"fork":false,"pushed_at":"2024-11-05T06:56:24.000Z","size":542,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T20:01:31.601Z","etag":null,"topics":["dart","dio","flutter","interceptor"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/awesome_dio_interceptor","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/devmuaz.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-06-08T15:55:02.000Z","updated_at":"2025-03-21T04:26:35.000Z","dependencies_parsed_at":"2024-01-18T14:35:05.444Z","dependency_job_id":"1a349fa9-7aa3-4e00-9edf-3815888f2f5b","html_url":"https://github.com/devmuaz/awesome-dio-interceptor","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"39daa6c87b618657f6514dddfc333e497590790c"},"previous_names":["devmuaz/awesome-dio-interceptor","devmuaz/awesome_dio_interceptor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuaz%2Fawesome-dio-interceptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuaz%2Fawesome-dio-interceptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuaz%2Fawesome-dio-interceptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuaz%2Fawesome-dio-interceptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devmuaz","download_url":"https://codeload.github.com/devmuaz/awesome-dio-interceptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507690,"owners_count":21115657,"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","dio","flutter","interceptor"],"created_at":"2024-08-02T14:00:32.320Z","updated_at":"2026-01-11T04:52:28.841Z","avatar_url":"https://github.com/devmuaz.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"## Awesome Dio Interceptor\n\nA simple dio log interceptor (mainly inspired by the built-in dio **`LogInterceptor`**), which has coloring features and json formatting so you can have a better readable output.\n\n## Features\n\n- Customizable, minimizable, and colorful output 🔥\n- Json formatting 💪\n- Pretty FormData support (fields \u0026 files) output ⚡️\n\n## Output Samples\n\nThe last two images have been minimized, so we can have better look at the most important logs (can be enabled and disabled, enabled by default)\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg\n\t\tsrc='https://github.com/devmuaz/awesome_dio_interceptor/blob/master/images/response.png?raw=true'\n\t\twidth='1024'\n\t/\u003e\n    \u003c/br\u003e\n\t\u003cimg\n\t\tsrc='https://github.com/devmuaz/awesome_dio_interceptor/blob/master/images/minimized-response.png?raw=true'\n\t\twidth='1024'\n\t/\u003e\n    \u003c/br\u003e\n\t\u003cimg\n\t\tsrc='https://github.com/devmuaz/awesome_dio_interceptor/blob/master/images/minimized-error.png?raw=true'\n\t\twidth='1024'\n\t/\u003e\n\u003c/div\u003e\n\n## Install\n\n```yaml\ndependencies:\n\tawesome_dio_interceptor: \u003clatest_version\u003e\n```\n\n## Usage\n\nJust add the **AwesomeDioInterceptor** to your dio interceptors like so:\n\n```dart\ndio.interceptors.add(\n    AwesomeDioInterceptor(\n        // Disabling headers and timeout would minimize the logging output.\n        // Optional, defaults to true\n        logRequestTimeout: false,\n        logRequestHeaders: false,\n        logResponseHeaders: false,\n\n        // Optional, defaults to the 'log' function in the 'dart:developer' package.\n        logger: debugPrint,\n    ),\n);\n```\n\n## Medium articles by the author\n\nYou can always read the articles I write on my [devmuaz](https://devmuaz.medium.com/) account which I write pretty great flutter content out there.\n\n## Contributions \u0026 Support\n\nIssues and pull requests are always welcome 😄\n\nIf you find this package useful for you and liked it, give it a like ❤️ and star the repo ⭐️ it would mean a lot!\n\n## License\n\n**MIT**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmuaz%2Fawesome-dio-interceptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmuaz%2Fawesome-dio-interceptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmuaz%2Fawesome-dio-interceptor/lists"}