A full-stack, dynamic Next.js Directed Acyclic Graph orchestrator explicitly mapping visual drag-and-drop user interfaces seamlessly traversing deep background serverless Trigger.dev execution queues securely mapping Google Gemini interactions securely alongside Transloadit CDNs bypassing standard backend pipelines gracefully.
- Visual Workflow Builder: Drag-and-drop React Flow canvas to design automation graphs visually.
- AI Automation: Native "LLM" blocks process contextual text visually bridging
gemini-3-flash-preview. - Media File Processing: "Upload Image" and "Upload Video" blocks stream 4K physical binaries to Transloadit CDNs bypass Next.js API rate-limits natively.
- Background Extraction/Crop: Native mock
FFmpegprocessing blocks isolate frames and intelligently crop remote CDN URLs cleanly. - Topological DAG Execution: A high-level algorithm traversing nodes backwards invoking massive parallel queue sub-routines safely awaiting sequential requirements.
- Historical Execution Replays: Robust right-hand persistent sidebar restoring deeply nested hierarchical JSON structural arrays mapped natively out from Serverless PostgreSQL.
- Login & Authenticate: Navigate to the platform seamlessly traversing Clerk's authentication flow.
- Build the Application Logic: On the Canvas Dashboard, open the Left Tool Sidebar and drag custom automation blocks into the vast center grid.
- Connect Nodes Natively: Connect a
Textnode handle to the intake handle of anLLMnode creating rigid logical paths. Add Media assets intoUpload Imagenodes seamlessly syncing local hard-drives natively up to the UI. - Initiate Global Execution: Click "Run" in the Right Sidebar. The active node boundaries will pulse in vivid purple, evaluating operations contextually on backend servers. Successful outcomes will stamp solid green badges above the bounding nodes.
- Review Historical Assets: The Right Sidebar preserves your historical footprint in nested expandable structures dynamically logging exact JSON completion mappings forever.
Users can assemble limitless creative visual flows. Here are three core architectural examples natively supported:
- Action: Drag an Upload Image block and connect its output to an LLM block. Input a prompt inside the LLM like, "Extract the text from this receipt."
- Result: Uppy streams the image to Transloadit. The DAG Orchestrator intercepts the secure CDN URL and pipes it physically into Google Gemini Vision parameters synchronously, extracting the text natively.
- Action: Connect an Upload Image block to a Crop Image block.
- Result: Visual asset is securely stored. The orchestrator triggers an isolated serverless FFmpeg routine that crops the physical asset coordinates, resolving a fresh cropped URL payload downstream.
- Action: Upload a raw
.mp4into the Upload Video node. Plumb its output into the Extract Frame node, and connect the extracted keyframe into an LLM node. - Result: Transloadit evaluates the video. The Trigger.dev Master DAG intelligently evaluates dependencies—halting execution to await FFmpeg's isolated video extraction snippet, passing the resulting still frame dynamically into Gemini for conversational analysis.
- Frontend / Graphics: Next.js 14 App Router, Tailwind CSS, Zustand global context mappings,
@xyflow/react - System Automations / Queue Evaluation: Trigger.dev Core SDK (v3) spanning multiple discrete tasks (
execute-dag,run-llm, etc.) - Database Architecture: Prisma v7 (Neon edge adaptations), Serverless PostgreSQL,
@clerk/nextjs - File Systems / Compute Logic: Native React Uppy CDN streaming, external cloud Transloadit FFmpeg manipulations natively tied to custom DAG React Nodes.
Follow these explicit steps to spin up the entire architectural environment securely isolating user APIs mimicking production workloads.
Deploy the foundational layout and synchronize node dependencies natively traversing local node environments.
git clone https://github.com/somilgupta/nodal
cd nodal
npm installInitialize .env.local directly imitating the parameter strings internally populated across .env.example:
Required Cloud Gateway Proxies:
- Clerk Auth Keys: Retrieve via global
clerk.comdashboards binding the Next.js middleware natively. - Neon Postgres Pools: Mint a PostgreSQL pooling string via
neon.techaligning explicitly insideDATABASE_URL. - Transloadit API Identifiers: Extract native physical Auth Keys locally inside
transloadit.comtemplates. - Trigger.dev Secret: Access
trigger.devcapturing backend REST communication logic keys natively. - Google Gemini Generative AI: Access native AI generation endpoints locally via
aistudio.google.com.
Synchronize physical Neon SQL mappings enforcing relational schemas via local CLI logic natively instantiating nested Typescript typings globally.
npx prisma generate
npx prisma db pushTo completely evaluate native parallel queue structures locally, systematically invoke the Trigger.dev tunneling application bypassing external execution bottlenecks globally syncing webhooks natively:
npx trigger.dev@latest devInitialize parallel Next.js processes traversing React routing native mappings locally mimicking physical browser interactions:
npm run devNavigate efficiently towards http://localhost:3000 invoking graphical interface executions securely instantiating active application shells!


