diff --git a/README.md b/README.md
index ea27f96a..c33b4d5e 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ The `.tar.xz` source releases are all-inclusive.
## Building
-Builds on Linux (x86_64 and aarch64), MacOS, OpenBSD, and Haiku. It's possible
+Builds on Linux (x86_64 and aarch64), MacOS, OpenBSD, and Haiku. It's possible
to build for Android, iOS, and Windows on Linux, if you have the right
dependencies in the right places.
@@ -47,7 +47,7 @@ On MacOS, Xcode's command-line tools are expected to be available.
### Build Commands
-Run `make` with no arguments to see available build targets and options. `make
+Run `make` with no arguments to see available build targets and options. `make
debug` is a good place to start.
To build in docker, `docker build .`.
@@ -58,7 +58,7 @@ standard.
## Running
By default, running the built `out/debug/tildefriends` executable will start a
-web server at
Finding the top 10 largest feeds...
'); + await app.setDocument( + 'Finding the top 10 largest feeds...
' + ); let most_follows = await get_most_follows(); let total = await get_total(); let identities = await ssb.getAllIdentities(); let following1 = await ssb.following(identities, 1); let following2 = await ssb.following(identities, 2); let biggest = await get_biggest(); - let names = await get_names([].concat(biggest.map(x => x.author), most_follows.map(x => x.author))); - names = Object.fromEntries(names.map(x => [x.author, x.name])); + let names = await get_names( + [].concat( + biggest.map((x) => x.author), + most_follows.map((x) => x.author) + ) + ); + names = Object.fromEntries(names.map((x) => [x.author, x.name])); for (let item of biggest) { item.name = names[item.author]; item.following = - identities.indexOf(item.author) != -1 ? 0 : - following1[item.author] !== undefined ? 1 : - following2[item.author] !== undefined ? 2 : - undefined; + identities.indexOf(item.author) != -1 + ? 0 + : following1[item.author] !== undefined + ? 1 + : following2[item.author] !== undefined + ? 2 + : undefined; } for (let item of most_follows) { item.name = names[item.author]; @@ -108,4 +122,6 @@ async function main() { await app.setDocument(html); } -main().catch(function(e) { print(e); }); \ No newline at end of file +main().catch(function (e) { + print(e); +}); diff --git a/docs b/docs index f17105d4..a40758cc 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit f17105d473c0174a6608d713295add65c6a82b62 +Subproject commit a40758cc4bef5ded4d214c2acf1c95e554e20564