The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>Document extraction proof</title></head>
<body>
<label>Document <input id="document" type="file"></label>
<output id="result" aria-live="polite"></output>
<script type="module">
import { extractText } from '/src/api/rag.ts';
document.querySelector('#document').addEventListener('change', async (event) => {
const file = event.target.files?.[0];
if (!file) return;
try { document.querySelector('#result').textContent = await extractText(file); }
catch { document.querySelector('#result').textContent = 'Document extraction failed.'; }
});
</script>
</body>
</html>