From 2456883e0af75cafb96c3ffb9ff1ef46bd4e95d5 Mon Sep 17 00:00:00 2001 From: zenfyr Date: Tue, 14 Oct 2025 20:54:48 +0700 Subject: [PATCH] add did.jdon --- .well-known/did.json | 26 ++++++++++++++++++++++++++ eleventy.config.js | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .well-known/did.json diff --git a/.well-known/did.json b/.well-known/did.json new file mode 100644 index 0000000..931e2d7 --- /dev/null +++ b/.well-known/did.json @@ -0,0 +1,26 @@ +{ + "@context": [ + "https://www.w3.org/ns/did/v1", + "https://w3id.org/security/multikey/v1", + "https://w3id.org/security/suites/secp256k1-2019/v1" + ], + "id": "did:web:synth.download", + "alsoKnownAs": [ + "at://synth.download" + ], + "verificationMethod": [ + { + "id": "did:web:synth.download#atproto", + "type": "Multikey", + "controller": "did:web:synth.download", + "publicKeyMultibase": "zQ3shbp4LY2HNnhzHyZF3zswZjux2TMoSXiyNWfr7SxCAdD9k" + } + ], + "service": [ + { + "id": "#atproto_pds", + "type": "AtprotoPersonalDataServer", + "serviceEndpoint": "https://pds.synth.download" + } + ] +} diff --git a/eleventy.config.js b/eleventy.config.js index 2c7bdca..8b9119a 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -4,6 +4,7 @@ import eleventyNavigationPlugin from "@11ty/eleventy-navigation"; import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight"; export default function(eleventyConfig) { + eleventyConfig.addPassthroughCopy(".well-known/"); // static identity stuff eleventyConfig.addPassthroughCopy({ "_includes/other/custard.html": "custard.html" }); eleventyConfig.addPassthroughCopy({ "sneexy/notebook/": "~sneexy/notebook/" }); // notebook page generated by quartz seperately - see https://forged.synth.download/sneexy/notebook eleventyConfig.addPlugin(eleventyNavigationPlugin); @@ -22,4 +23,4 @@ export default function(eleventyConfig) { const minified = await minify(code); return minified.code; }); -}; \ No newline at end of file +};