FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine
charmainebulkDeleteVals
Public
Like
1
bulkDeleteVals
Home
Code
2
README.md
H
index.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
1
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
/
Code
/
Search
index.ts
https://charmaine--55ccdb963f3011f0895d76b3cceeab13.web.val.run
README.md

Val Bulk Delete Tool

A web interface for bulk deleting your Val Town vals with visibility information and verification links.

Features

  • 📋 List all your vals with visibility status (Public, Unlisted, Private)
  • 🔗 Direct links to each val for verification before deletion
  • ✅ Bulk selection with select all/none functionality
  • 🗑️ Bulk delete multiple vals at once
  • 🎯 Individual delete option for single vals
  • 🔒 Safe deletion with confirmation dialogs

Setup

  1. Get your Val Town API token:

    • Go to https://www.val.town/settings/api
    • Create a new token or copy an existing one
  2. Set environment variable:

    • Add an environment variable named valtown with your API token as the value

Usage

  1. Visit the val URL to see all your vals in a table format

  2. Each val shows:

    • Name and ID
    • Visibility status (🌍 Public, 🔗 Unlisted, 🔒 Private)
    • Last updated date
    • View link to verify the val
    • Individual delete button
  3. Bulk operations:

    • Use "Select All" or "Select None" buttons
    • Check individual vals you want to delete
    • Click "Delete Selected" to bulk delete
  4. Safety features:

    • Confirmation dialogs before deletion
    • Shows val names in confirmation
    • Real-time count of selected vals

API Endpoints

  • GET / - Main interface
  • POST /delete-bulk - Bulk delete selected vals
  • POST /delete-single - Delete individual val

Security

  • Requires your personal Val Town API token
  • Only you can delete your own vals
  • All deletions require confirmation

Error Handling

  • Shows clear error messages for API issues
  • Handles missing tokens gracefully
  • Reports partial failures in bulk operations
HTTP
  • index.ts
    charmaine--55…13.web.val.run
Code
README.md
H
index.ts
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.