AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /JavaScript
  3. /grayhaze.live
hugeblank

grayhaze.live

A JavaScript SDK for Bluesky and AT Protocol by hugeblank

Live stream over ATProto

GitHub Stats

11stars
0forks
1contributors
0open issues

Dates

Created:December 10, 2024
Last updated:April 27, 2025

README

The following content is from grayhaze.live's GitHub repository. All rights reserved by the original author.

GrayHaze Live

"Enjoy a video"

Live streaming over ATProto

Please note that absolutely nothing in this repo is final and I'm only sharing everything here because I want to show off the work. Please take the lexicons and lack of documentation with a grain of salt.

In this Repo

  1. Lexicons
    • Base ATProto lexicons for GrayHaze
    • Cleanup script that adapts for affront (svelte), and sprinkler
  2. Blobify
    • Watches for HLS playlists and their respective segments generally provided by OBS
    • Uploads segments as blobs, and creates/updates record on PDS
    • Check out this forum post for info on how to set up hls recording.
    • Recommended settings:
      • Video Bitrate: 9000 Kbps
      • Keyframe Interval: 300
  3. Affront
    • Middleman for HLS records, transforming them back into an m3u8 playlist file
    • TODO: Move transformer to XRPC subscription based method ^
    • Web Frontend
  4. Sprinkler
    • XRPC server AppView
    • Handles chat streams, (should handle) account creation, moderation, etc.

TODO

The following was done LIVE on GrayHaze with chat. Check it out!

  • raw chat mode (with css ids) - figure out how to suppress tailwind
  • rich text facets
    • emotes
    • moderation control over links
  • moderation
    • OAuth style permission scopes
  • user cards
    • on click in chat, users basic information pops up
      • followers, profile icon username, handle
      • chat history (maybe moderators only)
  • light mode
  • account settings
    • username color
    • external account linking
  • stream settings - title & thumbnail update
  • if blob is too large output generic "TooLarge" segment to keep stream going.
  • Downscale & cache thumbnails @ 768x512
  • BETTER SERVERS
  • Emotes
    1. User uploads emote, gets added to their channel
    2. Emote owner sends emote in another chat
    3. Another user sees emote and likes it. clicks on it to add it to their "inventory"
    • Badges on account page
      • Collector - 100 + emotes in inventory
      • Uploader - 50+ emotes uploaded

Topics

atprotohlslivestream

Related SDKs

mary-extatcute

a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky.

318•JavaScript
aliceisjustplayinglabeler-starter-kit-bsky

Use this repository to get started with your own Bluesky Labeler.

167•JavaScript
bluesky-socialfeed-generator

ATProto Feed Generator Starter Kit

1856•JavaScript
bluesky-socialatproto

AT Protocol Reference Implementation (TypeScript)

8526•JavaScript
skyware-jsfirehose

A dead simple client for subscribing to an ATProto Relay ("firehose").

37•JavaScript
skyware-jsjetstream

A fully typed client for the Bluesky Jetstream (https://github.com/bluesky-social/jetstream) service.

47•JavaScript

Resources

GitHub RepositoryProject Website

License

MIT

Author

hugeblank
hugeblank

Activity

Last commit: April 27, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.