fork
Configure Feed
Select the types of activity you want to include in your feed.
Live video on the AT Protocol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1#!/bin/bash
2
3set -euo pipefail
4
5# go install github.com/minio/mc@latest
6# mc alias set streamplace-account https://storage.googleapis.com/streamplace-account GOOGACCESS_KEY_ID SECRET_ACCESS_KEY
7
8hash=$(openssl dgst -sha256 "$1" | awk '{ print $2 }')
9dest="$hash/$(basename "$1")"
10mc cp "$1" "streamplace-account/streamplace-fixtures/$dest"
11
12echo "https://storage.googleapis.com/streamplace-fixtures/$dest"