From ef0e2cfb699e9630d8caaa4cf61eb72c66be3b85 Mon Sep 17 00:00:00 2001
From: Pinapelz
Date: Wed, 3 Dec 2025 02:55:23 -0800
Subject: add make-follow script
---
indieweb-micro/content/indie/follows.md | 3 +++
indieweb-micro/make-follow.sh | 30 ++++++++++++++++++++++
micro.pinapelz.moe/index.xml | 2 +-
micro.pinapelz.moe/indie/follows/index.html | 39 +++++++++++++++++++++++++++++
micro.pinapelz.moe/indie/index.xml | 2 +-
5 files changed, 74 insertions(+), 2 deletions(-)
create mode 100755 indieweb-micro/make-follow.sh
diff --git a/indieweb-micro/content/indie/follows.md b/indieweb-micro/content/indie/follows.md
index 2731ce8..ec34ae6 100644
--- a/indieweb-micro/content/indie/follows.md
+++ b/indieweb-micro/content/indie/follows.md
@@ -14,6 +14,9 @@ This is mostly here for pages that can receive [Webmentions](https://indieweb.or
{{< follow "https://sakurajima.moe/@chikorita157" "2025-12-03" >}}
{{< follow "https://misskey.io/@CAP_Tw" "2025-12-03" >}}
{{< follow "https://misskey.io/@meeeeeeco" "2025-12-03" >}}
+{{< follow "https://sakurajima.moe/@sakurajima" "2025-12-03" >}}
+{{< follow "https://mi.shiromaru.work/@ovoip" "2025-12-03" >}}
+{{< follow "https://floss.social/@kde" "2025-12-03" >}}
## Bluesky
{{< follow "https://bsky.app/profile/mofu.run" "2025-12-03" >}}
diff --git a/indieweb-micro/make-follow.sh b/indieweb-micro/make-follow.sh
new file mode 100755
index 0000000..b72fc9d
--- /dev/null
+++ b/indieweb-micro/make-follow.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# Get today's date in the required format
+today=$(date '+%Y-%m-%d')
+
+# Check if URL is provided as argument
+if [ $# -eq 0 ]; then
+ echo "Usage: $0 "
+ echo "Example: $0 https://sakurajima.moe/@sakurajima"
+ exit 1
+fi
+
+url="$1"
+
+# Append https if not present
+if [[ ! $url =~ ^https?:// ]]; then
+ url="https://$url"
+fi
+
+# Check if URL matches the pattern https://domain/@user@remote.domain
+if [[ $url =~ ^https://[^/]+/@[^@]+@([^/]+)$ ]]; then
+ # Extract the username and remote domain
+ username=$(echo "$url" | sed 's/.*\/@\([^@]*\)@.*/\1/')
+ remote_domain="${BASH_REMATCH[1]}"
+ # Remap to https://remote.domain/@username
+ url="https://$remote_domain/@$username"
+fi
+
+# Generate the follow shortcode
+echo "{{< follow \"$url\" \"$today\" >}}"
diff --git a/micro.pinapelz.moe/index.xml b/micro.pinapelz.moe/index.xml
index 5979a27..b683db8 100644
--- a/micro.pinapelz.moe/index.xml
+++ b/micro.pinapelz.moe/index.xml
@@ -15,7 +15,7 @@
https://micro.pinapelz.moe/indie/follows/
Wed, 03 Dec 2025 01:17:39 -0800yukais@pinapelz.com (Pinapelz)
https://micro.pinapelz.moe/indie/follows/
- <p>Here are all the pages/accounts I follow.</p>
<p>This is mostly here for pages that can receive <a href="https://indieweb.org/webmention">Webmentions</a> and the <a href="https://fed.brid.gy">Bridgy Fed</a> service.</p>
<h2 id="fediverse">Fediverse</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@Mofumatic">
https://sakurajima.moe/@Mofumatic
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@anianimalsmoe">
https://sakurajima.moe/@anianimalsmoe
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mathstodon.xyz/@tao">
https://mathstodon.xyz/@tao
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@chikorita157">
https://sakurajima.moe/@chikorita157
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@CAP_Tw">
https://misskey.io/@CAP_Tw
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@meeeeeeco">
https://misskey.io/@meeeeeeco
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<h2 id="bluesky">Bluesky</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/mofu.run">
https://bsky.app/profile/mofu.run
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/anew.social">
https://bsky.app/profile/anew.social
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<blockquote>
<p>Learn more about the <a href="https://indieweb.org">Indieweb</a></p>
</blockquote>
+ <p>Here are all the pages/accounts I follow.</p>
<p>This is mostly here for pages that can receive <a href="https://indieweb.org/webmention">Webmentions</a> and the <a href="https://fed.brid.gy">Bridgy Fed</a> service.</p>
<h2 id="fediverse">Fediverse</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@Mofumatic">
https://sakurajima.moe/@Mofumatic
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@anianimalsmoe">
https://sakurajima.moe/@anianimalsmoe
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mathstodon.xyz/@tao">
https://mathstodon.xyz/@tao
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@chikorita157">
https://sakurajima.moe/@chikorita157
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@CAP_Tw">
https://misskey.io/@CAP_Tw
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@meeeeeeco">
https://misskey.io/@meeeeeeco
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@sakurajima">
https://sakurajima.moe/@sakurajima
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mi.shiromaru.work/@ovoip">
https://mi.shiromaru.work/@ovoip
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://floss.social/@kde">
https://floss.social/@kde
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<h2 id="bluesky">Bluesky</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/mofu.run">
https://bsky.app/profile/mofu.run
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/anew.social">
https://bsky.app/profile/anew.social
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<blockquote>
<p>Learn more about the <a href="https://indieweb.org">Indieweb</a></p>
-
INIU Power Bank Gets Recall
diff --git a/micro.pinapelz.moe/indie/follows/index.html b/micro.pinapelz.moe/indie/follows/index.html
index 08fdbfc..c7f720f 100644
--- a/micro.pinapelz.moe/indie/follows/index.html
+++ b/micro.pinapelz.moe/indie/follows/index.html
@@ -162,6 +162,45 @@
2025-12-03
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Bluesky
diff --git a/micro.pinapelz.moe/indie/index.xml b/micro.pinapelz.moe/indie/index.xml
index 3a18e1f..d393875 100644
--- a/micro.pinapelz.moe/indie/index.xml
+++ b/micro.pinapelz.moe/indie/index.xml
@@ -15,7 +15,7 @@
https://micro.pinapelz.moe/indie/follows/
Wed, 03 Dec 2025 01:17:39 -0800yukais@pinapelz.com (Pinapelz)
https://micro.pinapelz.moe/indie/follows/
- <p>Here are all the pages/accounts I follow.</p>
<p>This is mostly here for pages that can receive <a href="https://indieweb.org/webmention">Webmentions</a> and the <a href="https://fed.brid.gy">Bridgy Fed</a> service.</p>
<h2 id="fediverse">Fediverse</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@Mofumatic">
https://sakurajima.moe/@Mofumatic
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@anianimalsmoe">
https://sakurajima.moe/@anianimalsmoe
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mathstodon.xyz/@tao">
https://mathstodon.xyz/@tao
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@chikorita157">
https://sakurajima.moe/@chikorita157
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@CAP_Tw">
https://misskey.io/@CAP_Tw
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@meeeeeeco">
https://misskey.io/@meeeeeeco
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<h2 id="bluesky">Bluesky</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/mofu.run">
https://bsky.app/profile/mofu.run
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/anew.social">
https://bsky.app/profile/anew.social
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<blockquote>
<p>Learn more about the <a href="https://indieweb.org">Indieweb</a></p>
</blockquote>
+ <p>Here are all the pages/accounts I follow.</p>
<p>This is mostly here for pages that can receive <a href="https://indieweb.org/webmention">Webmentions</a> and the <a href="https://fed.brid.gy">Bridgy Fed</a> service.</p>
<h2 id="fediverse">Fediverse</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@Mofumatic">
https://sakurajima.moe/@Mofumatic
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@anianimalsmoe">
https://sakurajima.moe/@anianimalsmoe
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mathstodon.xyz/@tao">
https://mathstodon.xyz/@tao
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@chikorita157">
https://sakurajima.moe/@chikorita157
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@CAP_Tw">
https://misskey.io/@CAP_Tw
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://misskey.io/@meeeeeeco">
https://misskey.io/@meeeeeeco
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://sakurajima.moe/@sakurajima">
https://sakurajima.moe/@sakurajima
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://mi.shiromaru.work/@ovoip">
https://mi.shiromaru.work/@ovoip
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://floss.social/@kde">
https://floss.social/@kde
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<h2 id="bluesky">Bluesky</h2>
<p>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/mofu.run">
https://bsky.app/profile/mofu.run
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
<div class="follow-card">
<a class="follow-target u-follow-of" href="https://bsky.app/profile/anew.social">
https://bsky.app/profile/anew.social
</a>
<time class="follow-date dt-published" datetime="2025-12-03T00:00:00Z">
2025-12-03
</time>
</div>
</p>
<blockquote>
<p>Learn more about the <a href="https://indieweb.org">Indieweb</a></p>
--
cgit v1.2.3