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

dcm31

svgRenderer_http

Public
Like
svgRenderer_http
Home
Code
2
README.md
H
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
main.tsx
https://dcm31--98d3a754278311f0b46e569c3dd06744.web.val.run
README.md

SVG Renderer HTTP Endpoint

This val provides an HTTP endpoint for the SVG Renderer project. It accepts SVG content via the 'svg' query parameter and renders it using the main svgRenderer function.

Features:

  • Displays a default SVG if no custom SVG is provided
  • Accepts custom SVG via the 'svg' query parameter
  • Renders the SVG in a simple, clean interface

Usage:

  • Navigate to the val URL to see the default SVG
  • Add a custom SVG by using the 'svg' query parameter

Example: ?svg=<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="red"/></svg>

HTTP
  • main.tsx
    dcm31--98…44.web.val.run
Code
README.md
H
main.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
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.