Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

627 B
Raw Blame
import { LIVE_NODES_FILE_NAME, LIVE_NODES_SOURCE } from "@/lib/comfy-live-nodes";

/**
 * Fuobe's live edit nodes for ComfyUI (fuobe_live.py), as a download: put it in ComfyUI's custom_nodes folder and
 * restart ComfyUI. The same file the Windows start file writes; open source, so anyone may fetch it.
 */
export function GET() {
  return new Response(LIVE_NODES_SOURCE, {
    headers: {
      "Content-Type": "text/x-python; charset=utf-8",
      "Content-Disposition": `attachment; filename="${LIVE_NODES_FILE_NAME}"`,
      "Cache-Control": "public, max-age=300",
      "X-Content-Type-Options": "nosniff",
    },
  });
}