Coder Social home page Coder Social logo

querio's Introduction

Querio

Querio

Missing DevTools network inspector for GraphQL and HTTP requests

contributions welcome

Querio

Features

โค๏ธ Lightweight: Crafted with minimalistic UI design.

๐Ÿ“ก Request: Intercepts GraphQL and raw HTTP requests in real time.

๐Ÿ“ƒ Formatting: Automatically formats request and response.

๐Ÿ—„๏ธ GraphQL: Batch requests.

๐ŸŒˆ Theme: System preference, Light or Dark.

Contributing

Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.

Changelog

See the CHANGELOG file for details.

License

This project is licensed under the MIT License โ€” see the LICENSE file for details.

querio's People

Contributors

adamshaylor avatar enkot avatar rocketraman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

querio's Issues

No support for batched GraphQL requests

GraphQL requests don't show up in Querio if they contain batched queries/mutations. Queries sent solo (without batching) do appear in Querio.

From https://www.apollographql.com/blog/apollo-client/performance/query-batching/#transport-level-batching

Example Request:

[
  {
    query: <query 0>,
    variables: <variables for query 0>
  },
  {
    query: <query 1>,
    variables: <variables for query 1>
  },
  ...
  {
    query: <query n>,
    variables: <variables for query n>
  }
]

Example Response:

[
  <result for query 0>,
  <result for query 1>,
  ...
  <result for query n>
]

This is most likely the cause of #12 as well

Getting blank screen in incognito mode

Even after enabling the extension for incognito mode in chrome, the extension doesn't work in that mode. The dev tools view for the extension is blank

Last request mode

Is it possible to add a togglable mode during which the newest request is automatically selected?
Sometimes one needs to inspect one request multiple times in different circumstances.
That toggler would help a ton.

In my opinion the best place to put the toggler icon would be next to the 'Clear' icon
image

or somewhere in the settings modal
image

Wasted space in vertical split view

When using a vertical split view for devtools, Querio "wastes" a whole column of precious screen real estate simply to show the Q icon at the top, and a gear icon at the bottom.

If future intent is to add more stuff in that column, then I guess its not so bad -- but at least the way things stand now, it'd be great if that column could be used for actual content.

Suggestion: you've already got the Q branding on each request, so drop the Q logo entirely, and add the gear icon next to the clear button on the bottom of the request list. It makes more sense to be separate as the settings are not specifically related to the request list, but space is precious in dev tools and that's a worthwhile trade-off IMHO.

Prettify does not handle long inputs

Its hard to read GQL requests with long inputs (certainly not uncommon with GraphQL), because the input is all on a single line. It would be great if inputs were formatted multi-line / with wrapping to make the request easier to read.

Suggestion: Prettier formats GraphQL very nicely, including inputs, if you wanted to leverage that. It also handles comments and indentation properly. Several other GraphQL tools I use are moving to using prettier for formatting, for exactly this reason. Example: Kong/insomnia#3242.

Can you add a licence file to the repository?

It would be beneficial to have a LICENSE file in the repo sitting the actual licensing of the repo, especially when installing it in some enterprise settings where all application licenses are monitored.

Could you please add a LICENCE file with the appropriate license?

Querio v1.0

Road to Querio v1.0 ๐Ÿ˜Ž

Reimplement almost from scratch:

  • Fresh look ๐ŸŽจ
  • Simplified and improved requests parsing
  • Manifest V3
  • Typescript
  • Vue 3 + Vite
  • UnoCSS
  • RadixVue primitives

New features:

  • Last request mode - #10
  • GraphQL HTTP batching - #17
  • Preflight headers for request/response - #19
  • Reimplement search - #20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.