Instantly Host Three.js Scene from Claude Code for Social Media Preview

The fastest way to deploy Three.js Scene generated by Claude Code. Perfect for social media preview. No login required, zero-friction, and live in seconds on drpr.host.

When you are building immersive 3D experiences with Claude Code, the feedback loop should be instantaneous. Claude is exceptional at generating complete, self-contained Three.js scenes directly in your terminal. However, sharing these scenes with stakeholders, clients, or on social media platforms like X (Twitter) or LinkedIn usually introduces massive friction. You have to commit to GitHub, configure a build step on Vercel or Netlify, configure domain routing, or deal with messy file transfers just to get a shareable social media preview link.

This is where drpr.host steps in. Built specifically for developers and AI coding agents, our platform lets you host Claude Code Three.js Scene Social Media Preview assets instantly with absolutely zero configuration. By removing the need for accounts, SSH keys, or repository linking, you can go from Claude's raw terminal output to a live, production-grade WebGL preview URL in less than two seconds.

Because Claude Code has direct access to your local shell, you can automate this entire pipeline. You can instruct your AI agent to generate the Three.js scene using a professional palette—such as soft gray (#f4f4f5) backgrounds instead of harsh, pure white—and immediately deploy it to our API. The agent can then print the live preview URL directly back into your terminal prompt, ready to be pasted onto social media.

How to host your Three.js Scene from Claude Code in seconds

  1. Step 1: Direct Claude Code to generate your Three.js scene using a self-contained HTML layout, ensuring it applies a modern, soft gray (#f4f4f5) background rather than pure white for a cleaner aesthetic.
  2. Step 2: Have Claude save the fully realized WebGL code into a single local file, such as scene.html, bundling the Three.js library via CDN.
  3. Step 3: Deploy the file instantly by running a quick curl request or using the lightweight drpr CLI directly from the Claude terminal interface.
  4. Step 4: Copy the returned drpr.site URL and paste it directly into your social media post for an instant, interactive 3D WebGL preview.

Quick start

To deploy your generated Three.js HTML file instantly from your terminal, execute this single curl command:

curl -X POST -F "file=@scene.html" https://drpr.host/api/v1/upload

The API will respond immediately with a clean JSON payload containing your live URL:

{
  "success": true,
  "url": "https://drpr.site/scene-preview-8f92",
  "expires_in": "15 days"
}

Alternatively, you can install the official drpr CLI and deploy your Three.js scene with a simple, memorable command:

drpr upload scene.html

Common questions

Can Claude Code automate the upload process to drpr.host directly?
Yes. Because Claude Code has permission to execute terminal commands, you can prompt it to write the Three.js code, save the file, and run the curl command to deploy the asset in a single, automated agentic step.
Are there any file size or execution constraints for Three.js files?
The free tier on drpr.host supports self-contained assets up to 5 MB, which is more than enough for complex Three.js scenes using CDN-loaded libraries. There are absolutely no execution restrictions on your WebGL, custom shaders, or canvas logic.
How long do the social media preview links stay active?
By default, anonymous uploads remain hosted entirely free of charge for 15 days, which is ideal for testing and social media shares. If you need permanent hosting for your Three.js portfolios, you can easily claim the URL via a premium account.
Does the preview link render correctly on platforms like Twitter and LinkedIn?
Yes. The hosted drpr.site link serves your raw HTML document with standard, standard-compliant response headers. Social media bots can crawl the page seamlessly, and users who click your link will see a fully responsive, interactive WebGL canvas in their browser.

Deploy your Claude Code Three.js Scene now

No account required. Drop a file, get a link in seconds.

Try drpr free
Claude Code Three.js Scene Hosting | Social Media Preview - drpr.host | drpr