Skip to content

Instantly share code, notes, and snippets.

@dpastoor
Last active July 3, 2022 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpastoor/6eb85a18ef90a4585ebebb0026d13b25 to your computer and use it in GitHub Desktop.
Save dpastoor/6eb85a18ef90a4585ebebb0026d13b25 to your computer and use it in GitHub Desktop.
query starred repos
# Type queries into this side of the screen, and you will
# see intelligent typeaheads aware of the current GraphQL type schema,
# live syntax, and validation errors highlighted within the text.
# We'll get you started with a simple query showing your username!
query {
viewer {
login
name
starredRepositories(first: 5, orderBy: {
field: STARRED_AT,
direction: DESC
}) {
totalCount
pageInfo {
endCursor
startCursor
}
edges {
cursor
starredAt
node {
id
name
owner {
id
}
createdAt
stargazerCount
description
isDisabled
isArchived
isLocked
latestRelease {
id
}
pushedAt
languages(first: 3, orderBy: {
field: SIZE
direction:DESC
} ) {
edges {
node {
id
name
color
}
}
}
primaryLanguage {
id
name
color
}
}
}
}
}
}
{
"data": {
"viewer": {
"login": "dpastoor",
"name": "Devin Pastoor",
"starredRepositories": {
"totalCount": 3869,
"pageInfo": {
"endCursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNi0yNlQxMToxMToyNy0wNDowMM4UeBpa",
"startCursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNy0wM1QwODowNjoyNy0wNDowMM4Uij_w"
},
"edges": [
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNy0wM1QwODowNjoyNy0wNDowMM4Uij_w",
"starredAt": "2022-07-03T12:06:27Z",
"node": {
"id": "R_kgDOG7v3Cw",
"name": "lo",
"owner": {
"id": "MDQ6VXNlcjI5NTEyODU="
},
"createdAt": "2022-03-02T12:48:45Z",
"stargazerCount": 6511,
"description": "💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)",
"isDisabled": false,
"isArchived": false,
"isLocked": false,
"latestRelease": {
"id": "RE_kwDOG7v3C84D9ltd"
},
"pushedAt": "2022-07-03T19:33:24Z",
"languages": {
"edges": [
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2U0MDM=",
"name": "Makefile",
"color": "#427819"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2U1MzU=",
"name": "Dockerfile",
"color": "#384d54"
}
}
]
},
"primaryLanguage": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
},
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNy0wMlQyMzo1NTo1OS0wNDowMM4UiYuF",
"starredAt": "2022-07-03T03:55:59Z",
"node": {
"id": "R_kgDOGlR_BA",
"name": "client-go-examples",
"owner": {
"id": "MDQ6VXNlcjE0MzcyMTE="
},
"createdAt": "2021-12-25T19:28:17Z",
"stargazerCount": 397,
"description": "Collection of mini-programs demonstrating Kubernetes client-go usage.",
"isDisabled": false,
"isArchived": false,
"isLocked": false,
"latestRelease": null,
"pushedAt": "2022-05-25T06:50:34Z",
"languages": {
"edges": [
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
]
},
"primaryLanguage": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
},
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNy0wMlQyMzoxMzozMS0wNDowMM4UiX47",
"starredAt": "2022-07-03T03:13:31Z",
"node": {
"id": "MDEwOlJlcG9zaXRvcnkyMDEzNDA0OTU=",
"name": "gphotos-cdp",
"owner": {
"id": "MDEyOk9yZ2FuaXphdGlvbjM0NTYyODY0"
},
"createdAt": "2019-08-08T21:31:20Z",
"stargazerCount": 588,
"description": "This program uses the Chrome DevTools Protocol to drive a Chrome session that downloads your photos stored in Google Photos.",
"isDisabled": false,
"isArchived": false,
"isLocked": false,
"latestRelease": null,
"pushedAt": "2021-03-02T17:38:39Z",
"languages": {
"edges": [
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxMzk=",
"name": "Shell",
"color": "#89e051"
}
}
]
},
"primaryLanguage": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
},
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNi0yN1QxMzo0NToyNi0wNDowMM4Uey8z",
"starredAt": "2022-06-27T17:45:26Z",
"node": {
"id": "R_kgDOHf25Ew",
"name": "tproxy",
"owner": {
"id": "MDQ6VXNlcjE5MTgzNTY="
},
"createdAt": "2022-06-14T01:21:58Z",
"stargazerCount": 825,
"description": "A cli tool to proxy and analyze TCP connections.",
"isDisabled": false,
"isArchived": false,
"isLocked": false,
"latestRelease": {
"id": "RE_kwDOHf25E84EMw2h"
},
"pushedAt": "2022-07-01T14:09:11Z",
"languages": {
"edges": [
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2U1MzU=",
"name": "Dockerfile",
"color": "#384d54"
}
}
]
},
"primaryLanguage": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
},
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyMi0wNi0yNlQxMToxMToyNy0wNDowMM4UeBpa",
"starredAt": "2022-06-26T15:11:27Z",
"node": {
"id": "MDEwOlJlcG9zaXRvcnk4MzM2MzEzMg==",
"name": "postgres-operator",
"owner": {
"id": "MDEyOk9yZ2FuaXphdGlvbjgyNDg4NzA="
},
"createdAt": "2017-02-27T22:21:44Z",
"stargazerCount": 2828,
"description": "Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.",
"isDisabled": false,
"isArchived": false,
"isLocked": false,
"latestRelease": {
"id": "RE_kwDOBPgFPM4Dp1rM"
},
"pushedAt": "2022-07-02T00:41:48Z",
"languages": {
"edges": [
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2UxMzk=",
"name": "Shell",
"color": "#89e051"
}
},
{
"node": {
"id": "MDg6TGFuZ3VhZ2U0MDM=",
"name": "Makefile",
"color": "#427819"
}
}
]
},
"primaryLanguage": {
"id": "MDg6TGFuZ3VhZ2UxOTA=",
"name": "Go",
"color": "#00ADD8"
}
}
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment