Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What Is the Fediverse?. Parent comment
#!/bin/sh PEERTUBE_INSTANCE="${PEERTUBE_INSTANCE-$1}"; PEERTUBE_QUALITY=1080; test "$PEERTUBE_INSTANCE"||exec echo -e "PEERTUBE_INSTANCE is unset\nusage: echo shortUUID|$0 [PEERTUBE_INSTANCE]" test $PEERTUBE_QUALITY||export PEERTUBE_QUALITY=720; read x y; test ${#x} -eq 22||exec echo invalid shortUUID; z=$(curl -s "https://$PEERTUBE_INSTANCE/api/v1/videos/$x"|tr '\42' '\12' \ |sed -n "/hls\/videos.*$PEERTUBE_QUALITY-fragmented.mp4/p"); curl -4o $x.mp4 "$z";
On mobile, an app like NewPipe will also work
usage
export PEERTUBE_INSTANCE=video.hardlimit.com echo peBesyAgtzfRWS5FnDQQtn|$0
echo peBesyAgtzfRWS5FnDQQtn|$0 peertube.ignifi.me
There are no comments on this comment yet.
On mobile, an app like NewPipe will also work
usage
or The JSON also includes torrent URLs and magnet URIs.