Skip to content

Commit 5aa8d0c

Browse files
code/language/js/tools: Add Brangr
1 parent 6182e0f commit 5aa8d0c

File tree

1 file changed

+41
-0
lines changed
  • src/content/code/language-support/javascript/tools

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Brangr
3+
description: Browse Any Graph - A user-friendly viewer/client for all GraphQL services
4+
url: https://github.com/networkimprov/brangr
5+
github: networkimprov/brangr
6+
---
7+
8+
__Brangr - *Br*owse *An*y *Gr*aph__
9+
10+
Brangr is a simple, unique tool that any web server can host
11+
to provide a user-friendly browser/viewer for any GraphQL service (or many).
12+
13+
Brangr formats GraphQL results attractively, via a selection of user-configurable layouts.
14+
It lets users extract the generated HTML, and its source JSON.
15+
It provides a clever schema browser.
16+
It has built-in docs.
17+
18+
Brangr enables sites hosting it to present users with
19+
a collection of pre-fab GraphQL requests, which they can edit if desired,
20+
and let them create their own requests.
21+
And it allows sites to define custom CSS styling for all aspects of the formatted results.
22+
23+
Try it at the [**public Brangr site**](https://mnmnotmail.org/bgr/brangr.html).
24+
25+
__Example__
26+
27+
```
28+
query {
29+
heroes(_layout:{type:table}) { # _layout arg not sent to service
30+
first
31+
last
32+
}
33+
}
34+
```
35+
Brangr renders the above query as roughly this HTML (though not in a quote block):
36+
>heroes...
37+
>| First | Last |
38+
>| --- | --- |
39+
>| Arthur | Dent |
40+
>| Ford | Prefect |
41+
>| Zaphod | Beeblebrox |

0 commit comments

Comments
 (0)