summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adenosine-pds/templates/account.html3
-rw-r--r--adenosine-pds/templates/at_repo.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/adenosine-pds/templates/account.html b/adenosine-pds/templates/account.html
index 7b1d426..b19621d 100644
--- a/adenosine-pds/templates/account.html
+++ b/adenosine-pds/templates/account.html
@@ -16,6 +16,9 @@
<p>{{ profile.description.as_ref().unwrap() }}
{% endif %}
+<div style="float: right;">
+ <a href="/xrpc/com.atproto.sync.getRepo?did={{ profile.did }}" download="{{ profile.did }}.car" class="pink">[repo.car]</a>
+</div>
<p class="counts">
[<a href="#">{{ profile.followersCount}} followers</a> /
<a href="#">{{ profile.followsCount }} follows</a>]
diff --git a/adenosine-pds/templates/at_repo.html b/adenosine-pds/templates/at_repo.html
index cc45930..7da5007 100644
--- a/adenosine-pds/templates/at_repo.html
+++ b/adenosine-pds/templates/at_repo.html
@@ -11,6 +11,9 @@
{% endfor %}
</ul>
+<h4>export</h4>
+<a href="/xrpc/com.atproto.sync.getRepo?did={{ did }}" download="{{ did }}.car" class="pink">[repo.car]</a>
+
<h4>describe</h4>
<pre><code>{{ describe|json }}</code></pre>