This commit is contained in:
Deva Midhun 2025-02-08 20:23:02 +00:00
parent d1db7dbfb1
commit 831a5414e8
4 changed files with 14 additions and 35 deletions

View File

@ -19,7 +19,7 @@ export default async function (req: VercelRequest, res: VercelResponse) {
const output = {
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://status.kinlan.me/users/coder/following?page=1",
"id": "https://usr.cloud/@coder/following?page=1",
"type": "OrderedCollectionPage",
"totalItems": actors.docs.length,
"orderedItems": actors.docs.map(item=>item.get("actor"))

View File

@ -7,19 +7,19 @@ export default function (req: VercelRequest, res: VercelResponse) {
res.end(`{
"subject": "acct:coder@coderrrrr.site",
"aliases": [
"https://coderrrrr.site/@coder",
"https://coderrrrr.site/users/coder"
"https://coderrrrr.site/coder",
"https://coderrrrr.site/@coder"
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://coderrrrr.site/@coder"
"href": "https://coderrrrr.site/coder"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https://coderrrrr.site/users/coder"
"href": "https://coderrrrr.site/coder"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",

View File

@ -1,30 +0,0 @@
{
"name": "coderrrrr.site",
"dependencies": {
"@firebase/app-types": "^0.9.0",
"@polymath-ai/client": "*",
"@polymath-ai/host": "*",
"@vercel/analytics": "^1.0.0",
"@vercel/edge": "^0.2.7",
"@vercel/kv": "^3.0.0",
"@vercel/node": "^2.9.10",
"@vercel/og": "^0.0.21",
"activitypub-core-types": "^0.0.363",
"ava": "^5.2.0",
"file-drop-element": "^1.0.1",
"firebase-admin": "^12.0.0",
"hugo-bin": "^0.97.0",
"multiparty": "^4.2.3",
"node-fetch": "^2.6.1",
"pinch-zoom-element": "^1.1.1",
"uuid": "^9.0.0",
"vercel": "^28.11.0",
"whatwg-flora-tmpl": "^1.0.3"
},
"devDependencies": {
"@types/multiparty": "^0.0.33",
"@types/uuid": "^9.0.8",
"puppeteer": "^24.1.0",
"typescript": "^4.9.5"
},
}

9
pubkey.pem Normal file
View File

@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhSF4YYoESfQABVsOoO2x
xDyrK0zytFGhOr2aRHpmIcY//Dr5BhbJegHGGAVQSubHs+mS8YwZ/1NxcGuH870h
wTFKrVUJaMYf94WXNGKpieOBL8BAkqqAPwFL7KCto2FAwjjbstOfxIQULvH1qnlo
ic10/pKA8ide0q7X91qKmN7IYmFUmRCph7hWDJHoWsxdNaP8DS4/P4IRPfMHiUt3
zzTKirM+6yjh7bjca6FbEmR8dDNqkrTwC5jlst32ZXE0Ncfw8tSYhW4tEJR9DyAm
9t1XBbpwPV3aWcnIfUfHYxXqShyp7rHqUQvpRsnfuCUklTwgxdBEQ/oxSgwcQ33z
nwIDAQAB
-----END PUBLIC KEY-----