Set up Blossom server on blossom.kosmos.org #630
Reference in New Issue
Block a user
Delete Branch "feature/blossom_server"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sets up a Blossom server based on blossom-server and Deno 2, which allows uploading, mirroring, and deleting blobs via Nostr events.
There's a re-usable kosmos/blossom-cookbook (git submodule) and a wrapper with our infra-specific configs in
site-cookbooks/kosmos_blossom.Tested/running on https://blossom.kosmos.org (see example upload)
Currently, it only allows a few hardcoded pubkeys. I'm implementing LDAP auth in our fork next. We might want to leave this PR open until that is finished.
Set up Blossom server on blossom.kosmos.orgto WIP: Set up Blossom server on blossom.kosmos.orgSet to WIP until all members are able to use it.
WIP: Set up Blossom server on blossom.kosmos.orgto Set up Blossom server on blossom.kosmos.orgI just added LDAP support, already tested/running in production.
You can use https://bouquet.slidestr.net with a browser extension like Alby, and any Kosmos account with a connected Nostr pubkey should be able to upload and manage files on the Blossom server. (You'll have to add
blossom.kosmos.orgto your Blossom server list.)👍
The code looks good to me, but I got stuck trying to test it. I couldn't figure out where my lightning wallet is supposed to be in Alby Extension
It's not Lightning, but Nostr. Did you connect a Nostr pubkey in the account settings already?
https://accounts.kosmos.org/settings/nostr
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.