unofficial implementation of the bluesky video service, for the bit
useful to AppViews that are based off the main bluesky appview.
keep in mind that at the moment (january 2025), bsky video is a centralized service living on https://video.bsky.app. in turn, to make this work within the atproto mainnet, you and your friends need to use the same build of social-app that uses your own video service. more information in the how section
playing: Lone - Backtail Was Heavy (Last.fm Sessions)
- get go1.23 because indigo depends on it: https://go.dev/dl/
git clone https://github.com/lun-4/douga
cd douga
env FRONTEND_URL=https://fe.example.net
APPVIEW_URL=https://appview.example.net \
ATPROTO_PLC_URL=https://plc.example.net \
SERVER_URL=video.example.net \
PORT=43093 go run .
then set video.example.net as the service inside social-app, this requires social-app patches.
EXPO_PUBLIC_BSKY_VIDEO_HOSTNAME=video.example.net
you need the following env vars for video playback to work
BSKY_VIDEO_PLAYLIST_URL_PATTERN=https://video.example.net/watch/%s/%s/playlist.m3u8
BSKY_VIDEO_THUMBNAIL_URL_PATTERN=https://video.example.net/watch/%s/%s/thumbnail.jpg