Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Save a bot's page: hand the download over as octet-stream
milind-sonic44fdd78a1e1
diff --git a/src/components/app/PageTools.tsx b/src/components/app/PageTools.tsxindex e441984dbe..d292913b62 100644--- a/src/components/app/PageTools.tsx+++ b/src/components/app/PageTools.tsx@@ -87,7 +87,8 @@ async function saveToDevice(file: File): Promise<void> {}return;}- const url = URL.createObjectURL(file);+ // Security: octet-stream, so a browser that ignores download never renders the bot's HTML as the app's own page.+ const url = URL.createObjectURL(new Blob([file], { type: "application/octet-stream" }));const link = document.createElement("a");link.href = url;link.download = file.name;