Add a storage page w/ breakdown and files#86
Draft
wooorm wants to merge 7 commits into
Draft
Conversation
Member
Author
Closed
ThisIsMissEm
reviewed
Apr 8, 2026
| * Query; see <https://docs.bsky.app/docs/api/com-atproto-sync-list-blobs>. | ||
| */ | ||
| const query = l.query( | ||
| 'com.atproto.sync.listBlobs', |
Collaborator
There was a problem hiding this comment.
you just do pnpm lex install com.atproto.sync.listBlobs and then pnpm lex:build and you'll get the types into the lexicon directory: https://github.com/eurosky-social/eurosky-portal/tree/main/app/lexicons
That is, codegen automatically makes this for you, you just need to do import * as lexicon from '#lexicons' then lexicon.com.atproto.sync.listBlobs
ThisIsMissEm
marked this pull request as draft
April 9, 2026 00:41
* new `/storage` route * `controllers/storage_controller.ts` lists user blob CIDs server side (capped at 5k) and renders page * `storage/show.tsx` fetches all blobs, gives insights, and lets folks interact with their files Important to note: * server does not support `Range` requests, that should be done to prevent large files, especially non-image/videos, from being read; this is important both for the server and for client performance; I also don’t see images being cached; is there a Eurosky proxy/cache layer endpoint for blobs given DIDs and CIDs? * a rather nice to have would be a new endpoint to analyze the users data *without* having to fetch it all on the client; this would reduce a lot of load for users client side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


/storageroutecontrollers/storage_controller.tslists user blob CIDs server side (capped at 5k) and renders pagestorage/show.tsxshows things and lets folks interact with their filesImportant to note: