https://github.com/lun-4/douga
unofficial implementation of the bluesky video service, for the bit
https://github.com/lun-4/douga
Last synced: about 2 months ago
JSON representation
unofficial implementation of the bluesky video service, for the bit
- Host: GitHub
- URL: https://github.com/lun-4/douga
- Owner: lun-4
- License: mit
- Created: 2025-01-15T03:38:13.000Z (4 months ago)
- Default Branch: mistress
- Last Pushed: 2025-01-24T01:42:02.000Z (3 months ago)
- Last Synced: 2025-03-07T18:14:19.446Z (about 2 months ago)
- Language: Go
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# douga
unofficial implementation of the bluesky video service, for the bituseful 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[](https://smooch.computer/i/9mvz3nooiruuuqp.mp4)
_playing: [Lone - Backtail Was Heavy (Last.fm Sessions)](https://www.youtube.com/watch?v=G1ejel4o45w)_
## how
- 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 .
```### how (frontend)
then set video.example.net as the service inside social-app, this requires social-app patches.
`EXPO_PUBLIC_BSKY_VIDEO_HOSTNAME=video.example.net`
more info on: https://l4.pm/wiki/Personal%20Wiki/bluesky/bsky%20independent%20appview/a%20step%20by%20step%20process%20into%20an%20appview.html#social-app
### how (appview)
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
```