GraphiQL vs Sangria
GraphiQL
graphiql.devSangria
sangria-graphql.github.ioSide by side
| Figure | GraphiQL | Sangria |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · GraphQL Tools | 8.4 (#3) | 6.8 (#22) |
| Integrations | The project provides examples for CDN ESM, Webpack, Create React App, and Parcel, and its repository describes GraphQL language tooling for CodeMirror, Monaco, and Visual Studio Code. | The project says Sangria is spec compliant and works with Apollo, Relay, GraphiQL, and other GraphQL tools and libraries. |
| License | The GraphiQL repository describes the code as open source under the MIT license. | The Sangria repository states that the project is licensed under Apache License 2.0. |
| Purpose | GraphiQL is an interactive, in-browser IDE for GraphQL. | Sangria is a Scala implementation of GraphQL. |
| Support | The project directs users to GitHub for issues and discussions and to the GraphQL Discord server for community discussion. | The community page directs users to Stack Overflow for help and Gitter for general discussion. |
Plans
In their own words
GraphiQL
GraphiQL is a free, interactive, in-browser IDE for GraphQL. Its editor supports the latest GraphQL specification, with syntax highlighting, type-aware suggestions, query and variable completion, and real-time error highlighting. A searchable documentation explorer can display Markdown, and the built-in query history and documentation explorer are available as plugins. GraphiQL can preserve state in browser localStorage and provides a plugin API for extending its interface. It is also a React package for embedding the IDE in an application; a component needs a fetcher function that sends requests to a GraphQL API. The toolkit fetcher supports HTTP, multipart incremental delivery, and subscriptions through graphql-ws or the legacy WebSocket protocol. Developers can customize the interface with React props and children, while CSS variables are the supported way to change its appearance. GraphiQL is open source under the MIT license. Its project offers a progressive web app demo and examples for CDN, Webpack, Create React App, and Parcel.
Sangria
Sangria has no write-up on Specifiction yet; its figures are above.