summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/ping-bridgyfed.sh
blob: 22479f6a3b1383940c0e2aea8029941a21e4f183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

# Usage:
#   ./ping-bridgyfed.sh https://yoursite.com/posts/foo/

SOURCE_URL="$1"

if [ -z "$SOURCE_URL" ]; then
  echo "Error: No source URL provided."
  echo "Usage: $0 <source-url>"
  exit 1
fi

curl -i https://fed.brid.gy/webmention \
  -d "source=$SOURCE_URL" \
  -d "target=https://fed.brid.gy"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage