blob_admin
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Hand-crafted server-rendered Hono JSX. Back to basics.
- File Management: Upload, view, edit, and delete blob files
- Authentication: Secure access with lastlogin middleware
- File Type Support:
- Images: Display inline with preview
- Text Files: Editable in textarea with syntax highlighting
- JSON Files: Interactive JSON viewer with collapsible nodes and edit capability
- Binary Files: Metadata view with download option
- JSON Detection: Automatically detects JSON files by:
.json
file extension- Files under 100KB that parse as valid JSON
- Public Files: Support for public file hosting via
__public/
prefix - Search & Pagination: Browse files with prefix search and pagination
The JSON viewer provides:
- Collapsible/expandable object and array nodes
- Syntax highlighting
- Copy functionality
- Edit mode with JSON validation
- Error handling for invalid JSON
- Make a seperate val for hosting public files?
- Explain how the public folder works
- Button to move blobs into or out of the public folder
- Merge this back to the orignal
- Ability to rename blobs
Get started with a template: