• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dl4senses

dl4senses

grok_thread

Public
Like
grok_thread
Home
Code
11
.vtignore
AGENTS.md
IMAGE_SETUP.md
README.md
deno.json
generate_base64.sh
H
main.ts
main_golden.ts
main_golden_2.ts
upload_images.ts
x-thread-Krishnasagrawal-2025-12-08T17-44-35.md
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
/
IMAGE_SETUP.md
Code
/
IMAGE_SETUP.md
Search
12/8/2025
Viewing readonly version of main branch: v183
View latest version
IMAGE_SETUP.md

Image Setup Instructions

Val Town doesn't support binary files in vt push, so we use Blob Storage for images.

Quick Setup (3 steps)

1. Push your code to Val Town

cd individual_vals/grok_thread vt push

2. Upload images via browser

  1. Open your val's web URL: https://YOUR_USERNAME-grokthread.web.val.run/setup-images
  2. Upload all 4 images:
    • header.jpg
    • ui.jpg
    • result.jpg
    • remix.jpg
  3. Click "Upload All Images"
  4. Wait for success confirmation

3. Update README and clean up

  1. Replace YOUR_USERNAME in README.md with your actual Val Town username
  2. (Optional) Remove the /setup-images endpoint from main.ts lines 819-937

How it works

  • Images are stored in Val Town's Blob Storage (10MB free, 1GB pro)
  • Images are served from your val at /images/*.jpg
  • README references these URLs so images work on Val Town, GitHub, and Medium

Troubleshooting

Images not showing?

  • Check you completed step 2 (upload)
  • Verify your username is correct in README URLs
  • Visit /images/header.jpg directly to test

Upload failed?

  • Check image files are .jpg format
  • Verify file sizes (should be ~100KB each after optimization)
  • Try uploading again
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.