Set up Blossom server on blossom.kosmos.org #630
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
service
discourse
Kosmos Community Forums
Infrastructure metrics, alerts, notifications, etc.
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#630
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 to WIP until all members are able to use it.
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.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
Verified it with Jimmy's account.
Also checked it with my account with @raucao's help