Set up Blossom server on blossom.kosmos.org #630

Merged
raucao merged 4 commits from feature/blossom_server into master 2026-05-26 12:49:55 +00:00
Owner

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.

Sets up a [Blossom](https://github.com/hzrd149/blossom) server based on [blossom-server](https://github.com/hzrd149/blossom-server) and Deno 2, which allows uploading, mirroring, and deleting blobs via Nostr events. There's a re-usable [kosmos/blossom-cookbook](https://gitea.kosmos.org/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](https://blossom.kosmos.org/2536f113ec54c868a97c977afff8b56a061649bc81fd5aae712c70377b529659.png)) 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.
raucao added the kredits-2ops labels 2026-04-18 12:42:05 +00:00
raucao added 1 commit 2026-04-18 12:42:05 +00:00
raucao requested review from greg 2026-04-18 12:42:05 +00:00
raucao changed title from Set up Blossom server on blossom.kosmos.org to WIP: Set up Blossom server on blossom.kosmos.org 2026-04-26 07:38:12 +00:00
Author
Owner

Set to WIP until all members are able to use it.

Set to WIP until all members are able to use it.
raucao added 1 commit 2026-05-14 05:51:19 +00:00
raucao added 1 commit 2026-05-14 05:51:44 +00:00
raucao added 1 commit 2026-05-19 14:32:23 +00:00
Only available in our feature branch atm
raucao changed title from WIP: Set up Blossom server on blossom.kosmos.org to Set up Blossom server on blossom.kosmos.org 2026-05-19 14:32:29 +00:00
Author
Owner

I 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.org to your Blossom server list.)

I 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.org` to your Blossom server list.)
greg approved these changes 2026-05-20 08:24:29 +00:00
greg left a comment
Owner

👍

👍
Owner

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

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
Author
Owner

It's not Lightning, but Nostr. Did you connect a Nostr pubkey in the account settings already?

https://accounts.kosmos.org/settings/nostr

It's not Lightning, but Nostr. Did you connect a Nostr pubkey in the account settings already? https://accounts.kosmos.org/settings/nostr
Author
Owner

Verified it with Jimmy's account.

Verified it with Jimmy's account.
raucao closed this pull request 2026-05-26 12:49:33 +00:00
raucao reopened this pull request 2026-05-26 12:49:37 +00:00
raucao merged commit 96bab62af1 into master 2026-05-26 12:49:55 +00:00
raucao deleted branch feature/blossom_server 2026-05-26 12:49:56 +00:00
Owner

Also checked it with my account with @raucao's help

Also checked it with my account with @raucao's help
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#630