A bunch of activityPub stuff based on Eugen's tutorial
https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/
This commit is contained in:
parent
828bcb0f94
commit
46725178d2
4 changed files with 64 additions and 0 deletions
11
static/.well-known/webfinger?resource=acct:eryn@erynwells.me
Normal file
11
static/.well-known/webfinger?resource=acct:eryn@erynwells.me
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"subject": "acct:eryn@erynwells.me",
|
||||
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"type": "application/activity+json",
|
||||
"href": "https://erynwells.me/activitypub/actor"
|
||||
}
|
||||
]
|
||||
}
|
17
static/activitypub/actor
Normal file
17
static/activitypub/actor
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1"
|
||||
],
|
||||
|
||||
"id": "https://erynwells.me/activitypub/actor",
|
||||
"type": "Person",
|
||||
"preferredUsername": "eryn",
|
||||
"inbox": "https://erynwells.me/activitypub/inbox",
|
||||
|
||||
"publicKey": {
|
||||
"id": "https://erynwells.me/actor#mainKey",
|
||||
"owner": "https://erynwells.me/actor",
|
||||
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl1vLbuE1C76GKX90VTJj\n3FaXyy7Ri57o7dKvrl8Bh+fk9wi/uNWxuAA0rA70wihttNvPTXXiBpwbHdV9LQ/4\n8hpmy2IJQWBvaOB+FXxDeUGelnwZzFYVH6ELmm+zEev6LUmkI8QtPakcw82LQV/7\nFeR5tZvAPHXqZmQATSsfKBKDPGjeaesNZ6P2g558DJnf35ksBYUXKCPnuKpJP31g\nAcpvSUPQGT2/wSPlH6T30U0taOhyc3HUb2IqTKeZfe3EB2uliBGIGZnr6PL+B1Oa\nXUehjT4M0F3RmsRRqpwnwXuFdekP4CjWjgU2S8aC7wAVVhQl+pXzH2IxQyTrtoGW\n4QIDAQAB\n-----END PUBLIC KEY-----"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue