nandi/gleanpublic⑂ Fork 0
⑂ 442e266
Commits
⬇ Clone ▾
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Publish lexiconsUnverified

Julien Robert committed 2026-04-21T02:29:14+02:00 Browse files
442e266 parent: 26469e4
modified .gitignore +1 -1
@@ -4,7 +4,7 @@
44 *.dll
55 *.so
66 *.dylib
7-glean
7+./glean
88
99 # Test binary, built with `go test -c`
1010 *.test
@@ -4,7 +4,7 @@
4 *.dll4 *.dll
5 *.so5 *.so
6 *.dylib6 *.dylib
7-glean7+./glean
8 8
9 # Test binary, built with `go test -c`9 # Test binary, built with `go test -c`
10 *.test10 *.test
modified internal/tmpl/base.html +1 -1
@@ -187,7 +187,7 @@
187187 </div>
188188 <div class="text-right">
189189 <div class="text-xs text-spot-secondary">&copy; {{now.Format "2006"}} Glean.at</div>
190- <div class="text-[10px] text-spot-muted mt-0.5">Built on the AT Protocol &middot; Made in Europe &#127466;&#127482;</div>
190+ <div class="text-[10px] text-spot-secondary mt-0.5">Built on the AT Protocol &middot; Made in Europe &#127466;&#127482;</div>
191191 </div>
192192 </div>
193193
@@ -187,7 +187,7 @@
187 </div>187 </div>
188 <div class="text-right">188 <div class="text-right">
189 <div class="text-xs text-spot-secondary">&copy; {{now.Format "2006"}} Glean.at</div>189 <div class="text-xs text-spot-secondary">&copy; {{now.Format "2006"}} Glean.at</div>
190- <div class="text-[10px] text-spot-muted mt-0.5">Built on the AT Protocol &middot; Made in Europe &#127466;&#127482;</div>190+ <div class="text-[10px] text-spot-secondary mt-0.5">Built on the AT Protocol &middot; Made in Europe &#127466;&#127482;</div>
191 </div>191 </div>
192 </div>192 </div>
193 193
added lexicons/at/glean/annotation.json +48 -0
new file mode 100644
@@ -0,0 +1,48 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.annotation",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "Reading note on a specific RSS article.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl", "articleUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "articleUrl": {
21+ "type": "string"
22+ },
23+ "quote": {
24+ "type": "string",
25+ "maxGraphemes": 5000
26+ },
27+ "note": {
28+ "type": "string",
29+ "maxGraphemes": 500
30+ },
31+ "tags": {
32+ "type": "array",
33+ "items": {
34+ "type": "string",
35+ "maxGraphemes": 50
36+ },
37+ "maxLength": 10
38+ },
39+ "rating": {
40+ "type": "integer",
41+ "minimum": 1,
42+ "maximum": 5
43+ }
44+ }
45+ }
46+ }
47+ }
48+}
new file mode 100644
@@ -0,0 +1,48 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.annotation",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "Reading note on a specific RSS article.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl", "articleUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "articleUrl": {
21+ "type": "string"
22+ },
23+ "quote": {
24+ "type": "string",
25+ "maxGraphemes": 5000
26+ },
27+ "note": {
28+ "type": "string",
29+ "maxGraphemes": 500
30+ },
31+ "tags": {
32+ "type": "array",
33+ "items": {
34+ "type": "string",
35+ "maxGraphemes": 50
36+ },
37+ "maxLength": 10
38+ },
39+ "rating": {
40+ "type": "integer",
41+ "minimum": 1,
42+ "maximum": 5
43+ }
44+ }
45+ }
46+ }
47+ }
48+}
added lexicons/at/glean/like.json +27 -0
new file mode 100644
@@ -0,0 +1,27 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.like",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "Like an RSS article.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl", "articleUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "articleUrl": {
21+ "type": "string"
22+ }
23+ }
24+ }
25+ }
26+ }
27+}
new file mode 100644
@@ -0,0 +1,27 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.like",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "Like an RSS article.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl", "articleUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "articleUrl": {
21+ "type": "string"
22+ }
23+ }
24+ }
25+ }
26+ }
27+}
added lexicons/at/glean/subscription.json +30 -0
new file mode 100644
@@ -0,0 +1,30 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.subscription",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "A single RSS feed subscription.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "title": {
21+ "type": "string"
22+ },
23+ "category": {
24+ "type": "string"
25+ }
26+ }
27+ }
28+ }
29+ }
30+}
new file mode 100644
@@ -0,0 +1,30 @@
1+{
2+ "lexicon": 1,
3+ "id": "at.glean.subscription",
4+ "defs": {
5+ "main": {
6+ "type": "record",
7+ "key": "tid",
8+ "description": "A single RSS feed subscription.",
9+ "record": {
10+ "type": "object",
11+ "required": ["feedUrl"],
12+ "properties": {
13+ "createdAt": {
14+ "type": "string",
15+ "format": "datetime"
16+ },
17+ "feedUrl": {
18+ "type": "string"
19+ },
20+ "title": {
21+ "type": "string"
22+ },
23+ "category": {
24+ "type": "string"
25+ }
26+ }
27+ }
28+ }
29+ }
30+}