fedipod-bb 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +3 -2
- package/site/bb.js +223 -350
- package/site/draw.mjs +370 -0
- package/site/index.html +2 -2
- package/site/pod.mjs +17 -0
- package/site/read.mjs +61 -18
- package/src/forum-agent.mjs +62 -4
- package/src/gateway.mjs +19 -0
- package/src/render.mjs +135 -0
package/README.md
CHANGED
|
@@ -87,6 +87,12 @@ the same page answers there for every path, with the forum named by the
|
|
|
87
87
|
first path segment: `https://bb.fedipod.net/<handle>/`. It still reads
|
|
88
88
|
through `<domain>`, where the handles live (the hosts are `BB_HOSTS` in the
|
|
89
89
|
staging script). Anyone reads.
|
|
90
|
+
|
|
91
|
+
At `bb.<domain>`, when the Gateway there keeps the forum, the front page, each
|
|
92
|
+
category (`/<handle>/c/<slug>`) and each topic (`/<handle>/t/<slug>/<topic>`)
|
|
93
|
+
arrive already drawn, as someone without an account sees them; the page then
|
|
94
|
+
adds only what depends on who is reading. `bb.<domain>` asks search engines
|
|
95
|
+
to stay out.
|
|
90
96
|
A topic whose newest post arrived since the reader last opened it is marked
|
|
91
97
|
`New` on the index. The mark is the reader's own: one entry per topic in their
|
|
92
98
|
browser's storage, written nowhere else and sent nowhere - a public forum has
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fedipod-bb",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "FediPod-BB: a forum website whose record lives on a Solid pod.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jeff Zucker",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"fedipod": "^1.50.2",
|
|
37
|
-
"fediverse-session": "^0.2.1"
|
|
37
|
+
"fediverse-session": "^0.2.1",
|
|
38
|
+
"htmlparser2": "^12.0.0"
|
|
38
39
|
}
|
|
39
40
|
}
|