FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
pomdtr
pomdtrblob_admin
Remix of stevekrouse/blob_admin
Public
Like
blob_admin
Home
Code
9
BlobPage.tsx
Home.tsx
Layout.tsx
LoginPage.tsx
NewPage.tsx
NotAuthorizedPage.tsx
README.md
H
main.tsx
utils.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
9/2/2025
README.md

Blob Admin

Hand-crafted server-rendered Hono JSX. Back to basics.

Features

  • 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

JSON Viewer

The JSON viewer provides:

  • Collapsible/expandable object and array nodes
  • Syntax highlighting
  • Copy functionality
  • Edit mode with JSON validation
  • Error handling for invalid JSON

Todo

  • 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:
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.