Skip to content

Visual UI for Explainroo. Explainer videos and product demos made by your AI agent. Free and open source: a local voice (Kokoro), word timing (Whisper) and a canvas renderer turn a script into a narrated MP4.

Add files via upload

jastfane5cb8cd61674
diff --git a/src/components/explainroo/ExportModal.tsx b/src/components/explainroo/ExportModal.tsx
index b7bb85b..9044005 100644
--- a/src/components/explainroo/ExportModal.tsx
+++ b/src/components/explainroo/ExportModal.tsx
@@ -397,28 +397,3 @@ export const ExportModal: React.FC<ExportModalProps> = ({
</div>
);
};
-
- {/* Tab 3: Snapshot PNG */}
- {activeTab === 'snapshot' && (
- <div className="space-y-4 py-2">
- <div className="p-4 rounded-xl bg-slate-950 border border-slate-800 text-center space-y-2">
- <Camera className="w-8 h-8 text-emerald-400 mx-auto" />
- <h4 className="text-xs font-bold text-slate-200">High-Resolution Canvas Snapshot</h4>
- <p className="text-xs text-slate-400 max-w-sm mx-auto">
- Download a clean, crystal-clear 1280x720 PNG of your current visual scene for presentations, tweets, or documentation.
- </p>
- </div>
-
- <button
- onClick={handleDownloadSnapshot}
- className="w-full flex items-center justify-center gap-2 py-3 rounded-xl bg-emerald-500 hover:bg-emerald-400 text-slate-950 font-bold text-xs shadow-lg transition-transform active:scale-95 cursor-pointer"
- >
- <Download className="w-4 h-4" />
- <span>Download Snapshot PNG</span>
- </button>
- </div>
- )}
- </div>
- </div>
- );
-};
diff --git a/src/components/explainroo/Navbar.tsx b/src/components/explainroo/Navbar.tsx
index 4d9038b..297b67d 100644
--- a/src/components/explainroo/Navbar.tsx
+++ b/src/components/explainroo/Navbar.tsx
@@ -5,6 +5,7 @@ import {
Download,
Palette,
RotateCcw,
+ Github,
} from 'lucide-react';
import { ThemeLook, THEME_CONFIGS } from '../../types/explainroo';
@@ -100,14 +101,14 @@ export const Navbar: React.FC<NavbarProps> = ({
<span className="hidden md:inline">Templates</span>
</button>
- {/* Export Video & CLI Bundle */}
+ {/* Export Video & Direct Download */}
<button
onClick={onOpenExport}
className="flex items-center gap-1.5 px-3 py-1.5 bg-cyan-500/15 hover:bg-cyan-500/25 border border-cyan-500/40 text-cyan-300 text-xs font-semibold rounded-lg transition-colors cursor-pointer"
- title="Export MP4/WebM Video or Explainroo CLI files"
+ title="Download Standalone Player (.html), Video, or Project files"
>
<Download className="w-3.5 h-3.5" />
- <span>Export</span>
+ <span>Download / Export</span>
</button>
{/* Reset Project */}
@@ -118,6 +119,17 @@ export const Navbar: React.FC<NavbarProps> = ({
>
<RotateCcw className="w-3.5 h-3.5" />
</button>
+
+ {/* GitHub Repository */}
+ <a
+ href="https://github.com/jastfan/explainroo-ui"
+ target="_blank"
+ rel="noreferrer"
+ className="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition-colors cursor-pointer flex items-center justify-center"
+ title="GitHub: jastfan/explainroo-ui"
+ >
+ <Github className="w-4 h-4" />
+ </a>
</div>
</div>
</header>