- See linking records to this target at
/links: /links?target={{ query.target }}&collection={{ query.collection }}&path={{ query.path }}
diff --git a/constellation/templates/explore-links.html.j2 b/constellation/templates/explore-links.html.j2
index 81fee35..44bec1b 100644
--- a/constellation/templates/explore-links.html.j2
+++ b/constellation/templates/explore-links.html.j2
@@ -20,7 +20,7 @@
{%- for (collection, collection_links) in links -%}
{{ collection }}
{%- for (path, counts) in collection_links %}
- {{ path }}: {{ counts.records }} links from {{ counts.distinct_dids }} distinct DIDs
+ {{ path }}: {{ counts.records|human_number }} links from {{ counts.distinct_dids|human_number }} distinct DIDs
{%- endfor %}
{% else -%}
diff --git a/constellation/templates/hello.html.j2 b/constellation/templates/hello.html.j2
index 70777ee..a322bc5 100644
--- a/constellation/templates/hello.html.j2
+++ b/constellation/templates/hello.html.j2
@@ -5,14 +5,26 @@
{% block body_classes %}home{% endblock %}
{% block content %}
- Every interaction in Bluesky and atproto at large tends to appear as a link from a new repository record to somewhere: liking a post creates a record with a link to the post, blocking a spammer creates a record with reference to their DID.
- This service attempts to aggregate all of these links, globally, from all content coming throught the firehose. It provides generic API endpoints to answer questions like how many likes does a post have and who follows a user.
+ Constellation is a self-hosted JSON API to an atproto-wide index of PDS record back-links, so you can query social interactions in real time. It can answer questions like:
- It is very much a work in progress. The database has not been backfilled, so any interactions occurring before its last reset will be missing.
+
+
+
+ This server has indexed {{ stats.linking_records|human_number }} links between {{ stats.targetables|human_number }} targets and sources from {{ stats.dids|human_number }} identities over {{ days_indexed|human_number }} days.
+ (indexing new records in real time, backfill still TODO)
+
+
+ The API is currently unstable. But feel free to use it! If you want to be nice, put your project name and bsky username (or email) in your user-agent header for api requests.
- Endpoints
+ API Endpoints
GET /links
diff --git a/constellation/templates/links-all-count.html.j2 b/constellation/templates/links-all-count.html.j2
index 5939352..ed85159 100644
--- a/constellation/templates/links-all-count.html.j2
+++ b/constellation/templates/links-all-count.html.j2
@@ -24,7 +24,7 @@
{%- for (collection, collection_links) in links -%}
{{ collection }}
{%- for (path, count) in collection_links %}
- {{ path }}: {{ count }} links
+ {{ path }}: {{ count|human_number }} links
{%- endfor %}
{% else -%}
diff --git a/constellation/templates/links-count.html.j2 b/constellation/templates/links-count.html.j2
index c49ac11..740c56c 100644
--- a/constellation/templates/links-count.html.j2
+++ b/constellation/templates/links-count.html.j2
@@ -14,7 +14,7 @@
{% endif %}
- {{ total }} total links from {{ query.collection }} at {{ query.path }}
+ {{ total|human_number }} total links from {{ query.collection }} at {{ query.path }}