{"id":36351926,"url":"https://github.com/pratikpwr/graphql_network_devtools","last_synced_at":"2026-01-13T22:01:39.654Z","repository":{"id":331864416,"uuid":"1131007248","full_name":"pratikpwr/graphql_network_devtools","owner":"pratikpwr","description":"A Flutter DevTools extension for GraphQL network inspection. View GraphQL operations with operation names, search, and filtering.","archived":false,"fork":false,"pushed_at":"2026-01-09T10:48:31.000Z","size":61618,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T16:21:48.643Z","etag":null,"topics":["dart","debugging","devtools-extension","flutter","graphql","network"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pratikpwr.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":"2026-01-09T10:34:04.000Z","updated_at":"2026-01-09T12:20:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pratikpwr/graphql_network_devtools","commit_stats":null,"previous_names":["pratikpwr/graphql_network_devtools"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pratikpwr/graphql_network_devtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpwr%2Fgraphql_network_devtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpwr%2Fgraphql_network_devtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpwr%2Fgraphql_network_devtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpwr%2Fgraphql_network_devtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratikpwr","download_url":"https://codeload.github.com/pratikpwr/graphql_network_devtools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpwr%2Fgraphql_network_devtools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","debugging","devtools-extension","flutter","graphql","network"],"created_at":"2026-01-11T13:36:02.624Z","updated_at":"2026-01-13T22:01:39.649Z","avatar_url":"https://github.com/pratikpwr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Network DevTools\n\nA Flutter DevTools extension for inspecting GraphQL network operations in real-time.\n\n## Features\n\n- **Real-time Monitoring**: Auto-refresh every 2 seconds to capture new GraphQL operations as they happen\n- **Operation Inspector**: View detailed request/response data, variables, headers, and errors\n- **Smart Filtering**: Filter operations by type (Query, Mutation, Subscription) or search by operation name\n- **Zero Configuration**: Works out of the box with any GraphQL client - no code changes required\n\n## Installation\n\nAdd `graphql_network_devtools` to your `pubspec.yaml` under `dev_dependencies`:\n\n```yaml\ndev_dependencies:\n  graphql_network_devtools: ^0.1.0\n```\n\nOr run:\n\n```bash\nflutter pub add --dev graphql_network_devtools\n```\n\n## Quick Start\n\n1. Add the package to your project (see Installation above)\n2. Run your Flutter app in **debug mode**\n3. Open **Flutter DevTools**\n4. Navigate to the **\"GraphQL Network\"** tab\n5. Make GraphQL requests in your app — they appear automatically!\n\n## How It Works\n\nThe extension automatically intercepts HTTP traffic using Flutter's built-in HTTP profiling. It detects GraphQL requests by checking:\n\n- POST requests to URLs containing `graphql`, `/gql`, `/query`, or `/api/graph`\n- Requests with `application/graphql` content type\n- JSON POST requests with a `query` field in the body\n\n**This works with any GraphQL client** including `graphql_flutter`, `ferry`, `dio`, `http`, etc.\n\n## UI Controls\n\n| Control | Description |\n|---------|-------------|\n| **Query / Mutation / Subscription** | Filter by operation type |\n| **Search** | Filter by operation name or query content |\n| **Refresh** | Manually refresh the operations list |\n| **Clear** | Clear all captured operations |\n\n## Troubleshooting\n\n### Operations not appearing?\n\n1. Ensure your app is running in **debug mode**\n2. Check that your GraphQL endpoint URL contains `graphql`, `/gql`, `/query`, or `/api/graph`\n3. Verify that requests are being made via HTTP POST\n\n### Common issues:\n\n| Issue | Solution |\n|-------|----------|\n| No HTTP requests captured | Ensure app is running in debug mode |\n| Requests found but not GraphQL | URL might not match patterns - check if it contains `graphql` |\n| GraphQL detected but no body | The HTTP client might not support body capture |\n\n## Requirements\n\n- Flutter SDK ≥ 3.16.0\n- Dart SDK ≥ 3.0.0\n- App must be running in **debug mode**\n\n## Contributing\n\nContributions are welcome! Please feel free to submit issues and pull requests.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpwr%2Fgraphql_network_devtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikpwr%2Fgraphql_network_devtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpwr%2Fgraphql_network_devtools/lists"}