• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wilt

wilt

thisUrl

Public
Like
thisUrl
Home
Code
2
README.md
main.tsx
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
/
Code
/
Search
README.md

Programmatically get the API URLs for the val that calls this val. For example:

// @wilt.myCoolVal: const myCoolVal = @wilt.thisUrl("web"); } // returns: // https://wilt-myCoolVal.web.val.run

If targetVal is passed as entry, returns the URL of the very first val in the current call stack. For example:

// @wilt.myFirstCoolVal: const myFirstCoolVal = @wilt.mySecondCoolVal()); } // @wilt.mySecondCoolVal: const mySecondCoolVal = () => { return @wilt.thisUrl("web", "entry"); } // Running @wilt.myFirstCoolVal returns: // https://wilt-myFirstCoolVal.web.val.run
Code
README.mdmain.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.