diff --git a/.cache/mastodon.json b/.cache/mastodon.json new file mode 100644 index 0000000..d1cf91c --- /dev/null +++ b/.cache/mastodon.json @@ -0,0 +1,89 @@ +{ + "lastFetched": "2026-07-04T19:01:13.775Z", + "posts": [ + { + "date": "2026-07-03T01:51:37.604Z", + "id": "116853538658966225", + "content": "

So about the #digitalcircus finale.

They made me cry tears I've been holding for long. The way this EP dealed with supressed emotions and coping with the pain of what's unchangeable, unfixable; communicated deeply with me. It's funny I cried laughing in realization of how warm and clever this goodbye was.

It's the best bittersweet ending I could ever wish for the show.

OH GOD the part they tell Jax is doing okay. You can't hit my heart harder than that 😭😭😭

", + "source_url": "https://mstdn.social/@tenkuma/116853538658966225", + "site": "Mastodon", + "media": [], + "emojis": [] + }, + { + "date": "2026-07-01T22:04:13.252Z", + "id": "116846982152346064", + "content": "

if I wanted shit there's a shit generator at chat.openai.com

", + "source_url": "https://mstdn.social/@tenkuma/116846982152346064", + "site": "Mastodon", + "media": [], + "emojis": [] + }, + { + "date": "2025-07-08T21:40:54.760Z", + "id": "114819783377460165", + "content": "

I love how ya'll humans give grades for vulnerabilities

@cR0w https://infosec.exchange/@cR0w/114819777669875206

", + "source_url": "https://mstdn.social/@tenkuma/114819783377460165", + "site": "Mastodon", + "media": [], + "emojis": [] + }, + { + "date": "2025-07-07T22:42:45.377Z", + "id": "114814364246016516", + "content": "

Another level of nostalgia playing Roblox on Linux with Sober! Plus wearing that Linux t-shirt just feels right. Good times...

#RobloxSober

", + "source_url": "https://mstdn.social/@tenkuma/114814364246016516", + "site": "Mastodon", + "media": [ + { + "image": "https://media.mstdn.social/media_attachments/files/114/814/350/913/893/408/original/a0c9e5a52e282587.png", + "alt": null, + "width": 640, + "height": 360, + "aspect": 1.7777777777777777 + } + ], + "emojis": [] + }, + { + "date": "2025-07-01T09:12:57.603Z", + "id": "114777206135368914", + "content": "

Meet Pete the cat :baba_baba:

He is as sleepy as I am.

", + "source_url": "https://mstdn.social/@tenkuma/114777206135368914", + "site": "Mastodon", + "media": [ + { + "image": "https://media.mstdn.social/media_attachments/files/114/777/200/647/969/908/original/203ba60ae84a96cb.jpg", + "alt": "Black and white cat lying in a sofa.", + "width": 554, + "height": 415, + "aspect": 1.3349397590361445 + } + ], + "emojis": [ + { + "shortcode": "baba_baba", + "url": "https://media.mstdn.social/custom_emojis/images/000/641/966/static/8d71b7179d1a7445.png" + } + ] + }, + { + "date": "2025-06-29T03:15:31.767Z", + "id": "114764476040214757", + "content": "

@cR0w this guy bio is just impeccable.

", + "source_url": "https://mstdn.social/@tenkuma/114764476040214757", + "site": "Mastodon", + "media": [], + "emojis": [] + }, + { + "date": "2025-06-10T21:32:12.812Z", + "id": "114661204480015822", + "content": "

Hello, world.

", + "source_url": "https://mstdn.social/@tenkuma/114661204480015822", + "site": "Mastodon", + "media": [], + "emojis": [] + } + ] +} \ No newline at end of file diff --git a/.eleventy.js b/.eleventy.js index 63cf85d..67f7dc9 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -8,6 +8,7 @@ import recentChanges from "eleventy-plugin-recent-changes"; import Webmentions from "eleventy-plugin-webmentions"; // configure later import pluginInlineLinkFavicon from "eleventy-plugin-inline-link-favicon"; import poison from "eleventy-plugin-poison"; +import mastoarchive from "eleventy-plugin-mastoarchive"; // import i18n from "./_data/i18n.js"; @@ -21,6 +22,11 @@ export default function (eleventyConfig) { }); eleventyConfig.addPlugin(pluginInlineLinkFavicon); eleventyConfig.addPlugin(poison); + eleventyConfig.addPlugin(mastoarchive, { + host: "https://mstdn.social", + userId: "114661188739031987", + cacheLocation: ".cache/mastodon.json" + }); eleventyConfig.addCollection("post", function (collectionApi) { return collectionApi diff --git a/package-lock.json b/package-lock.json index d80725f..e83cea8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@sardine/eleventy-plugin-external-links": "^1.4.0", "eleventy-plugin-git-commit-date": "^1.0.2", "eleventy-plugin-inline-link-favicon": "^1.1.0", + "eleventy-plugin-mastoarchive": "^0.2.0", "eleventy-plugin-poison": "^1.0.1", "eleventy-plugin-recent-changes": "^1.0.1", "eleventy-plugin-webmentions": "^2.1.0" @@ -371,6 +372,16 @@ "integrity": "sha512-ZhzQ9WYwhrHBGHv1fBwK1y2QYYJt8jX4oUL3jB82AWCv03WpiMBK77OIJcGBo7XQdo4gIm6oPQZ8tG/150ApeA==", "license": "MIT" }, + "node_modules/eleventy-plugin-mastoarchive": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eleventy-plugin-mastoarchive/-/eleventy-plugin-mastoarchive-0.2.0.tgz", + "integrity": "sha512-NYSx9yQxTcaA2mn1GVA3tfArqJoAI5YhOKU/GFCAEhRZv26GPmRGtlD7jAqPVIS68wEpUDlgh9WacHOPEWDY7w==", + "license": "ISC", + "dependencies": { + "lodash": "^4.17.21", + "node-fetch": "^2.6.9" + } + }, "node_modules/eleventy-plugin-poison": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/eleventy-plugin-poison/-/eleventy-plugin-poison-1.0.1.tgz", @@ -517,6 +528,12 @@ "uhyphen": "^0.1.0" } }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "license": "MIT" + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", diff --git a/package.json b/package.json index 1c0bd3b..2076730 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@sardine/eleventy-plugin-external-links": "^1.4.0", "eleventy-plugin-git-commit-date": "^1.0.2", "eleventy-plugin-inline-link-favicon": "^1.1.0", + "eleventy-plugin-mastoarchive": "^0.2.0", "eleventy-plugin-poison": "^1.0.1", "eleventy-plugin-recent-changes": "^1.0.1", "eleventy-plugin-webmentions": "^2.1.0"