Skip to content

Add @formstr/storage package#2

Open
harsh04044 wants to merge 1 commit into
formstr-hq:mainfrom
harsh04044:add-formstr-storage
Open

Add @formstr/storage package#2
harsh04044 wants to merge 1 commit into
formstr-hq:mainfrom
harsh04044:add-formstr-storage

Conversation

@harsh04044
Copy link
Copy Markdown

@harsh04044 harsh04044 commented Apr 15, 2026

Adds @formstr/storage. Packages the existing Blossom upload + kind 24242 auth + NIP-44 v2 encryption flow from nostr-forms so it can be reused.

upload/download mirror the existing nostr-forms flow. BlossomClient, createAuthEvent, encryptFileToAuthor, decryptFileFromUploader exported separately for apps that want different encryption strategies.

Tested round-trip against a local Blossom server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant