You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Run as an http server that serves data from the MongoDB via GraphQL enpoints
59
+
60
+
```
61
+
./blueNote server
62
+
```
63
+
64
+
### Query the highlights using the GraphQL API
65
+
66
+
```
67
+
curl -X POST \
68
+
-H "Content-Type: application/json" \
69
+
-d '{"query": "query { marks(author: \"Maugham\") { type title author data note tags createdAt lastModifiedAt } }"}' \
70
+
http://localhost:11212/graphql 2>/dev/null | jq .
71
+
{
72
+
"data": {
73
+
"marks": [
74
+
{
75
+
"author": "Maugham, W. Somerset",
76
+
"createdAt": 1733038917438,
77
+
"data": "trouble, much resented the churchwarden's managing ways. He really seemed to look upon himself as the most important person in the parish. Mr. Carey constantly told his wife that if Josiah Graves did not take care he would give him a good rap over the knuckles one day; but Mrs. Carey advised him to bear with Josiah Graves: he meant well, and it was not",
78
+
"lastModifiedAt": 1733038917438,
79
+
"note": "",
80
+
"tags": [],
81
+
"title": "Of Human Bondage",
82
+
"type": "HIGHLIGHT"
83
+
}
84
+
]
85
+
}
86
+
}
87
+
```
88
+
59
89
60
90
<!--### Browse and edit the notes with tags in Emacs Org
61
91

@@ -103,6 +133,7 @@ Remember to run `M-x org-roam-db-sync` to sync the org-roam database.
103
133
-[x]`My Clippings.txt` parser.
104
134
-[ ] Diff the previous processed `My Clippings.txt`
0 commit comments