Readme

Blob Admin

This is a lightweight Blob Admin interface to view and debug your Blob data.

Screenshot 2024-11-22 at 15.43.43@2x.png

Versions 0-17 of this val were done with Hono and server-rendering. Versions 18+ were generated with Townie and use client-side React.

To use this val, fork it to your account. Authentication is handled by @stevekrouse/lastlogin, so only the owner of the val will be able to see and edit their own blobs.

Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
8
pomdtr avatar

Instead of instructing the user to fork the val, why not suggest the user to create a new val referencing your own ?

export { default } from "https://esm.town/v/stevekrouse/blob_admin";

It would allow the user to automatically get update from your, or control them using the version query param.

stevekrouse avatar

Excellent idea! That's how @rodrigotello/hnFollow works.

This way is slightly easier to customize, that way is slightly easier to manage updates.

In theory, Val Town could help users manage forks like Github does:

Screenshot 2023-12-14 at 09.28.40.png

Or even notify users that they should "pull" from the remote val because it has new changes.

The question of when to use something as a dependency vs as a fork is a fascinating one. I'm eager to see what patterns emerge

pomdtr avatar

I see importing as an installation method a val to my val.town account, while forking is just copying a specific version of a val.

I can see myself using, it depends as if I see myself as a user or a contributor.

Even for the same val, I can see myself having my prod endpoint and my dev endpoint.

pomdtr avatar

comments really need an edit button 😅

loshmyy avatar

It's not working anymore. I'm getting an error message. "message": "{"statusCode":500,"error":"Internal Server Error","message":"Failed to create Turso DB: Namespace store has shutdown"}",

stevekrouse avatar

Sorry about that @loshmyy. We haven't seen that error message before. Is everything working properly now?

kora avatar
kora(Edited )

@pomdtr

comments really need an edit button 😅

And a like button too, even reply or quote button.

PS. I just notice I can 'edit' the comment easily now.

loshmyy avatar

@stevekrouse Everything is working now, thank you!

stevekrouse-blob_admin.web.val.run
Updated: November 27, 2024