summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-06-30 15:42:14 +0200
committerpdp8 <pdp8@pdp8.info>2023-06-30 15:42:14 +0200
commit9d95a49ecd7e2f3e49b3462a281f2b86b406cf41 (patch)
treecd9695f2e22632e88eb710beeb041458e7ac3a71 /public
parente328b59ffc2476262dbd076d2478aaade78e649c (diff)
inbox activities handled by dedicated functions
Diffstat (limited to 'public')
-rw-r--r--public/follow.html15
-rw-r--r--public/pdp839
2 files changed, 54 insertions, 0 deletions
diff --git a/public/follow.html b/public/follow.html
new file mode 100644
index 0000000..7cbb37c
--- /dev/null
+++ b/public/follow.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang='en'>
+
+<head>
+ <link rel='stylesheet' type='text/css' href='/style.css'>
+</head>
+
+<body>
+ <form action='/follow' method='post'>
+ <input name='follow' />
+ <input type='submit' name='button' value='Follow' />
+ </form>
+</body>
+
+</html> \ No newline at end of file
diff --git a/public/pdp8 b/public/pdp8
new file mode 100644
index 0000000..fafc4e0
--- /dev/null
+++ b/public/pdp8
@@ -0,0 +1,39 @@
+{
+ "@context": [
+ "https://www.w3.org/ns/activitystreams"
+ ],
+ "id": "https://social.pdp8.info/pdp8",
+ "type": "Person",
+ "preferredUsername": "pdp8",
+ "name": "pdp8",
+ "inbox": "https://social.pdp8.info/inbox",
+ "outbox": "https://social.pdp8.info/outbox",
+ "following": "https://social.pdp8.info/following",
+ "followers": "https://social.pdp8.info/followers",
+ "icon": {
+ "type": "Image",
+ "url": "https://pdp8.info/pdp8.png"
+ },
+ "attachment": [
+ {
+ "type": "PropertyValue",
+ "name": "Web",
+ "value": "<a href=\"https://pdp8.info\">pdp8.info</a>"
+ },
+ {
+ "type": "PropertyValue",
+ "name": "Fediverse",
+ "value": "<a rel=\"me\" href=\"https://social.pdp8.info/pdp8\">@pdp8@social.pdp8.info</a>"
+ },
+ {
+ "type": "PropertyValue",
+ "name": "Matrix",
+ "value": "<a rel=\"me\" href=\"https://matrix.to/#/@pdp8:matrix.pdp8.info\">@pdp8:matrix.pdp8.info</a>"
+ }
+ ],
+ "publicKey": {
+ "id": "https://social.pdp8.info/pdp8#main-key",
+ "owner": "https://social.pdp8.info/pdp8",
+ "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArDawzSl+XcJ+96sIrx+E\nsDoUQzSvoKazCgw7qOMaOGi7XxJ8riBvdRBlJ4zOEfQaxcaQgGn5JntOofqkeWvk\nIykOAzYfwY6HoUm7i1eZME2quO+CkMMq9SX9/DOqggOYtiVC9DX5FxXe5YHK7Q/n\nbo1iB6rgVS43wT0PnI6uduY4cUlvhRkX4Iht0N1GTrBlGKloRQ96KTzp+U9xF7bp\nKO87Y4yftv+d6L3ZZBfTRgWOtDXG8E4Vdvsq0aPQNBtazq0fwtBbk2G4mZtCMqyT\nvLZh8w+YPn1ICoQsKukU/q7eG29UJCz/QdZndkuv5iIm+H/c8gicGllw9rNQP2G0\nBQIDAQAB\n-----END PUBLIC KEY-----\n"
+ }
+}