@novaburst@twt.nfld.uk I doubt there will ever be a 2.0 … It may end up like java and they strip off the 1.
@ullarah@txt.quisquiliae.com works for me! A tricky bitmight be if it splits within a codeblock so markdown can’t parse
**
FOLLOW: @venjiang from @xandkar@xandkar.net using tt/0.31.1
**
FOLLOW: @venjiang from @xandkar @xandkar.net using tt/0.31.1 ⌘ Read more
#!/bin/sh
# Validate environment
if ! command -v msgbus > /dev/null; then
printf "missing msgbus command. Use: go install git.mills.io/prologic/msgbus/cmd/msgbus@latest"
exit 1
fi
if ! command -v salty > /dev/null; then
printf "missing salty command. Use: go install go.mills.io/salty/cmd/salty@latest"
exit 1
fi
if ! command -v salty-keygen > /dev/null; then
printf "missing salty-keygen command. Use: go install go.mills.io/salty/cmd/salty-keygen@latest"
exit 1
fi
if [ -z "$SALTY_IDENTITY" ]; then
export SALTY_IDENTITY="$HOME/.config/salty/$USER.key"
fi
get_user () {
user=$(grep user: "$SALTY_IDENTITY" | awk '{print $3}')
if [ -z "$user" ]; then
user="$USER"
fi
echo "$user"
}
stream () {
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
jq -r '.payload' | base64 -d | salty -i "$SALTY_IDENTITY" -d
}
lookup () {
if [ $# -lt 1 ]; then
printf "Usage: %s nick@domain\n" "$(basename "$0")"
exit 1
fi
user="$1"
nick="$(echo "$user" | awk -F@ '{ print $1 }')"
domain="$(echo "$user" | awk -F@ '{ print $2 }')"
curl -qsSL "https://$domain/.well-known/salty/${nick}.json"
}
readmsgs () {
topic="$1"
if [ -z "$topic" ]; then
topic=$(get_user)
fi
export SALTY_IDENTITY="$HOME/.config/salty/$topic.key"
if [ ! -f "$SALTY_IDENTITY" ]; then
echo "identity file missing for user $topic" >&2
exit 1
fi
msgbus sub "$topic" "$0"
}
sendmsg () {
if [ $# -lt 2 ]; then
printf "Usage: %s nick@domain.tld <message>\n" "$(basename "$0")"
exit 0
fi
if [ -z "$SALTY_IDENTITY" ]; then
echo "SALTY_IDENTITY not set"
exit 2
fi
user="$1"
message="$2"
salty_json="$(mktemp /tmp/salty.XXXXXX)"
lookup "$user" > "$salty_json"
endpoint="$(jq -r '.endpoint' < "$salty_json")"
topic="$(jq -r '.topic' < "$salty_json")"
key="$(jq -r '.key' < "$salty_json")"
rm "$salty_json"
message="[$(date +%FT%TZ)] <$(get_user)> $message"
echo "$message" \
| salty -i "$SALTY_IDENTITY" -r "$key" \
| msgbus -u "$endpoint" pub "$topic"
}
make_user () {
mkdir -p "$HOME/.config/salty"
if [ $# -lt 1 ]; then
user=$USER
else
user=$1
fi
identity_file="$HOME/.config/salty/$user.key"
if [ -f "$identity_file" ]; then
printf "user key exists!"
exit 1
fi
# Check for msgbus env.. probably can make it fallback to looking for a config file?
if [ -z "$MSGBUS_URI" ]; then
printf "missing MSGBUS_URI in environment"
exit 1
fi
salty-keygen -o "$identity_file"
echo "# user: $user" >> "$identity_file"
pubkey=$(grep key: "$identity_file" | awk '{print $4}')
cat <<- EOF
Create this file in your webserver well-known folder. https://hostname.tld/.well-known/salty/$user.json
{
"endpoint": "$MSGBUS_URI",
"topic": "$user",
"key": "$pubkey"
}
EOF
}
# check if streaming
if [ ! -t 1 ]; then
stream
exit 0
fi
# Show Help
if [ $# -lt 1 ]; then
printf "Commands: send read lookup"
exit 0
fi
CMD=$1
shift
case $CMD in
send)
sendmsg "$@"
;;
read)
readmsgs "$@"
;;
lookup)
lookup "$@"
;;
make-user)
make_user "$@"
;;
esac
@prologic@twtxt.net I have seen single use keys that are signed by a central PKI .. Keybase has one that uses a chatbot to generate the keys on the fly.
It just comes down to your threat model :)
**
🧮 USERS:3 FEEDS:6 TWTS:353 BLOGS:0 ARCHIVED:85152 CACHE:1986 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:353 BLOGS:0 ARCHIVED:85152 CACHE:1986 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
@prologic@twtxt.net for shame! lol me too.
@prologic@twtxt.net yarn builds in 1.18!
**
🧮 USERS:3 FEEDS:6 TWTS:352 BLOGS:0 ARCHIVED:85011 CACHE:1955 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:352 BLOGS:0 ARCHIVED:85011 CACHE:1955 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
@prologic@twtxt.net hmm so each individual feed on your pod sub’s my feed? Wouldn’t that flood your server for each post?
**
🧮 USERS:3 FEEDS:6 TWTS:351 BLOGS:0 ARCHIVED:84891 CACHE:2042 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:351 BLOGS:0 ARCHIVED:84891 CACHE:2042 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:350 BLOGS:0 ARCHIVED:84758 CACHE:2073 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:350 BLOGS:0 ARCHIVED:84758 CACHE:2073 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:349 BLOGS:0 ARCHIVED:84666 CACHE:2060 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:349 BLOGS:0 ARCHIVED:84666 CACHE:2060 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
FOLLOW: @venjiang from @watcher@txt.sour.is using yarnd/0.13.0@0ada09a
**
FOLLOW: @venjiang from @watcher @txt.sour.is using yarnd/0.13.0@0ada09a ⌘ Read more
**
FOLLOW: @venjiang from @ullarah@txt.quisquiliae.com using yarnd/edge@4e6a3819
**
FOLLOW: @venjiang from @ullarah @txt.quisquiliae.com using yarnd/edge@4e6a3819 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:346 BLOGS:0 ARCHIVED:84558 CACHE:2009 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:346 BLOGS:0 ARCHIVED:84558 CACHE:2009 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:345 BLOGS:0 ARCHIVED:84423 CACHE:2092 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:345 BLOGS:0 ARCHIVED:84423 CACHE:2092 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
@prologic@prologic The immediate context was deconstructed movie characters, but I find I’m also tiring of deconstructed foods, deconstructed philosophy, deconstructed art, etc.
**
🧮 USERS:3 FEEDS:6 TWTS:344 BLOGS:0 ARCHIVED:84295 CACHE:2070 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:344 BLOGS:0 ARCHIVED:84295 CACHE:2070 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:343 BLOGS:0 ARCHIVED:84155 CACHE:2056 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:343 BLOGS:0 ARCHIVED:84155 CACHE:2056 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:342 BLOGS:0 ARCHIVED:84042 CACHE:2048 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:342 BLOGS:0 ARCHIVED:84042 CACHE:2048 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:341 BLOGS:0 ARCHIVED:83954 CACHE:2105 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:341 BLOGS:0 ARCHIVED:83954 CACHE:2105 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:340 BLOGS:0 ARCHIVED:83863 CACHE:2097 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:340 BLOGS:0 ARCHIVED:83863 CACHE:2097 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
I swear I will figure out how to twtxt properly one day
@prologic@prologic://twtxt.net/user/prologic/twtxt.txt The news first broke several days ago, but I didn’t see photo confirmation until today. I might have just been late :P
**
🧮 USERS:3 FEEDS:6 TWTS:339 BLOGS:0 ARCHIVED:83769 CACHE:2090 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:339 BLOGS:0 ARCHIVED:83769 CACHE:2090 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:338 BLOGS:0 ARCHIVED:83666 CACHE:2097 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:338 BLOGS:0 ARCHIVED:83666 CACHE:2097 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
@prologic@twtxt.net … Australia, or The US when visiting www.om.gay
@prologic@twtxt.net it’s already been set-up, depending where you are you’ll be connected to Norway, South Africa…
@prologic@twtxt.net basically spread the load, got rclone to spoof out the content, et voilÃ
@prologic@twtxt.net on the cheap, I have 4 web hosting accounts used for various things in the past in places
**
🧮 USERS:3 FEEDS:6 TWTS:337 BLOGS:0 ARCHIVED:83533 CACHE:2073 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:337 BLOGS:0 ARCHIVED:83533 CACHE:2073 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:336 BLOGS:0 ARCHIVED:83406 CACHE:2064 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:336 BLOGS:0 ARCHIVED:83406 CACHE:2064 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
I just found out that my posts are visible on twtxt.net. I don’t have an account there, so I apologize if I don’t see a reply there!
**
🧮 USERS:3 FEEDS:6 TWTS:335 BLOGS:0 ARCHIVED:83293 CACHE:2064 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:335 BLOGS:0 ARCHIVED:83293 CACHE:2064 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
From now on, my twtxt feed is gpg signed. I hope this works for everyone.
Hmm. I haven’t used twtxt in a while. How are you doing?
**
🧮 USERS:3 FEEDS:6 TWTS:334 BLOGS:0 ARCHIVED:83197 CACHE:2082 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:334 BLOGS:0 ARCHIVED:83197 CACHE:2082 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
@prologic@twtxt.net if you need to translate Ukrainian Lingvanex appears to be the best https://lingvanex.com/demo/
@prologic@twtxt.net I’ve got a better translator it seems - https://txt.om.gay/hostmaster-ua.txt
#makeartnotwar #GLSL #shaders code at https://www.shadertoy.com/view/fs2fRm if you want to use it
**
🧮 USERS:3 FEEDS:6 TWTS:333 BLOGS:0 ARCHIVED:83099 CACHE:2086 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:333 BLOGS:0 ARCHIVED:83099 CACHE:2086 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:332 BLOGS:0 ARCHIVED:82996 CACHE:2066 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:332 BLOGS:0 ARCHIVED:82996 CACHE:2066 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:331 BLOGS:0 ARCHIVED:82861 CACHE:2037 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:331 BLOGS:0 ARCHIVED:82861 CACHE:2037 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:330 BLOGS:0 ARCHIVED:82732 CACHE:2115 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:330 BLOGS:0 ARCHIVED:82732 CACHE:2115 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:329 BLOGS:0 ARCHIVED:82584 CACHE:2082 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:329 BLOGS:0 ARCHIVED:82584 CACHE:2082 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:328 BLOGS:0 ARCHIVED:82474 CACHE:2043 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:328 BLOGS:0 ARCHIVED:82474 CACHE:2043 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
🧮 USERS:3 FEEDS:6 TWTS:327 BLOGS:0 ARCHIVED:82360 CACHE:2050 FOLLOWERS:8 FOLLOWING:17
**
🧮 USERS:3 FEEDS:6 TWTS:327 BLOGS:0 ARCHIVED:82360 CACHE:2050 FOLLOWERS:8 FOLLOWING:17 ⌘ Read more
**
FOLLOW: @venjiang from @watcher@txt.sour.is using yarnd/0.13.0@0db6025fae34e328119d2f031ec8384ee47f3d1f
**
FOLLOW: @venjiang from @watcher @txt.sour.is using yarnd/0.13.0@0db6025fae34e32 … ⌘ Read more