diff --git a/bin/pages/render-home.mjs b/bin/pages/render-home.mjs index 8a77c83d6..749326a1a 100644 --- a/bin/pages/render-home.mjs +++ b/bin/pages/render-home.mjs @@ -36,7 +36,7 @@ export function renderHome({ locale, data, locales }) { * how the hand-written Chinese homepage always did it, and what the first * generated version of this template dropped. */ - const editor = (query) => `/editor?${locale === DEFAULT_LOCALE ? '' : `locale=${locale}&`}${query}`; + const editor = (query) => `/editor?locale=${locale}&${query}`; const alternates = locales .map((l) => ` `) .join('\n'); @@ -232,7 +232,7 @@ ${langMenu(locale, locales, ui, (l) => LOCALES[l].home)}
${e(data.recent.note)} - ${e(data.recent.all)}
diff --git a/docs/media/ai-demos/README.md b/docs/media/ai-demos/README.md new file mode 100644 index 000000000..49a361560 --- /dev/null +++ b/docs/media/ai-demos/README.md @@ -0,0 +1,53 @@ +# AI assistant demos + +**Experimental feature.** The AI assistant is still being developed. It can misunderstand requests or produce incomplete or incorrect answers and edits. Review suggestions and check important results before relying on them. Capabilities and response times depend on your model and device. + +These silent screen recordings use the English interface, English captions and fictional project information. They were recorded with the local Qwen3 4B model in a browser. Model preparation is left out; the prompts, replies, reviews and editor changes are recorded from the running application. + +To try a demo yourself, open a document, open **AI Assistant**, then load a local model or connect your AI service. Type the request shown below. Some changes require review before applying; you can cancel them or use the editor's **Undo** after applying. + +## Word: draft and insert + +[![Watch the Word demo](word-ai.jpg)](word-ai.mp4) + +[Watch video](word-ai.mp4) · [English captions](word-ai.vtt) + +Request: “Write a short project update about our spring launch. Include a heading and three concise bullet points. Mention the design review is complete, user testing is next, and launch is May 15.” + +The assistant drafts a heading and three bullet points. **Write into document** inserts the formatted content into the Word document. The demo then uses **Undo** and **Redo** in the editor to show that the change is reversible. + +## Excel: fill and calculate + +[![Watch the Excel demo](excel-ai.jpg)](excel-ai.mp4) + +[Watch video](excel-ai.mp4) · [English captions](excel-ai.vtt) + +Requests: + +1. “Fill cells A1:A10 with the numbers 1 through 10, one number per row.” +2. “Sum A1:A10 into B1.” + +Review the proposed cell changes and apply them. The assistant fills A1:A10 with the requested numbers, then puts their sum, **55**, in B1. The results appear in the actual worksheet. + +## PowerPoint: create a slide + +[![Watch the PowerPoint demo](pptx-ai.jpg)](pptx-ai.mp4) + +[Watch video](pptx-ai.mp4) · [English captions](pptx-ai.vtt) + +Request: “Create a slide titled ‘Spring launch’ with these three points: Design review complete; User testing next; Launch on May 15.” + +Review the proposed slide content and apply it. The new slide appears in the presentation. Answers about slides can be inaccurate with a small local model; check them against the presentation. + +## PDF: read and review a note + +[![Watch the PDF demo](pdf-ai.jpg)](pdf-ai.mp4) + +[Watch video](pdf-ai.mp4) · [English captions](pdf-ai.vtt) + +Requests: + +1. “Read the text on PDF page 1.” +2. “Add a note to page 1: Check the launch date.” + +The assistant reads and displays the selectable text on page 1, then prepares a page note for review. The demo chooses **Cancel**, leaving the PDF unchanged. **Current limitation:** A page note can be saved even when the assistant’s follow-up reply fails. Check the note on the page before retrying to avoid adding it twice. A page note does **not** rewrite PDF body text. These features do not recognize text in scanned page images, and an answer about the current page is not a review of the entire PDF. diff --git a/docs/media/ai-demos/excel-ai.jpg b/docs/media/ai-demos/excel-ai.jpg new file mode 100644 index 000000000..a90ee61fe Binary files /dev/null and b/docs/media/ai-demos/excel-ai.jpg differ diff --git a/docs/media/ai-demos/excel-ai.mp4 b/docs/media/ai-demos/excel-ai.mp4 new file mode 100644 index 000000000..bc5c33446 Binary files /dev/null and b/docs/media/ai-demos/excel-ai.mp4 differ diff --git a/docs/media/ai-demos/excel-ai.vtt b/docs/media/ai-demos/excel-ai.vtt new file mode 100644 index 000000000..7698aa566 --- /dev/null +++ b/docs/media/ai-demos/excel-ai.vtt @@ -0,0 +1,16 @@ +WEBVTT + +00:00:00.000 --> 00:00:02.005 +Excel - AI assistant. Experimental AI assistant. + +00:00:02.005 --> 00:00:28.256 +Ask for a number series. Experimental AI assistant. + +00:00:28.256 --> 00:00:40.145 +Review and apply. Experimental AI assistant. + +00:00:40.145 --> 00:00:43.919 +Calculate using the document. Experimental AI assistant. + +00:00:43.919 --> 00:00:47.919 +Result checked in the editor. Experimental AI assistant. diff --git a/docs/media/ai-demos/pdf-ai.jpg b/docs/media/ai-demos/pdf-ai.jpg new file mode 100644 index 000000000..ae1236d3b Binary files /dev/null and b/docs/media/ai-demos/pdf-ai.jpg differ diff --git a/docs/media/ai-demos/pdf-ai.mp4 b/docs/media/ai-demos/pdf-ai.mp4 new file mode 100644 index 000000000..620d2f4c4 Binary files /dev/null and b/docs/media/ai-demos/pdf-ai.mp4 differ diff --git a/docs/media/ai-demos/pdf-ai.vtt b/docs/media/ai-demos/pdf-ai.vtt new file mode 100644 index 000000000..d10cdb2bf --- /dev/null +++ b/docs/media/ai-demos/pdf-ai.vtt @@ -0,0 +1,19 @@ +WEBVTT + +00:00:00.000 --> 00:00:02.001 +PDF - AI assistant. Experimental AI assistant. + +00:00:02.001 --> 00:00:29.017 +Read the current PDF page. Experimental AI assistant. + +00:00:29.017 --> 00:00:58.587 +Ask for a page note. Experimental AI assistant. + +00:00:58.587 --> 00:01:01.089 +Review the proposed note. Experimental AI assistant. + +00:01:01.089 --> 00:01:01.619 +Cancel without changing the PDF. Experimental AI assistant. + +00:01:01.619 --> 00:01:05.619 +Cancelled - PDF unchanged. Experimental AI assistant. diff --git a/docs/media/ai-demos/pptx-ai.jpg b/docs/media/ai-demos/pptx-ai.jpg new file mode 100644 index 000000000..5d123e785 Binary files /dev/null and b/docs/media/ai-demos/pptx-ai.jpg differ diff --git a/docs/media/ai-demos/pptx-ai.mp4 b/docs/media/ai-demos/pptx-ai.mp4 new file mode 100644 index 000000000..a8b53200c Binary files /dev/null and b/docs/media/ai-demos/pptx-ai.mp4 differ diff --git a/docs/media/ai-demos/pptx-ai.vtt b/docs/media/ai-demos/pptx-ai.vtt new file mode 100644 index 000000000..eca3a3a69 --- /dev/null +++ b/docs/media/ai-demos/pptx-ai.vtt @@ -0,0 +1,13 @@ +WEBVTT + +00:00:00.000 --> 00:00:02.004 +PowerPoint - AI assistant. Experimental AI assistant. + +00:00:02.004 --> 00:00:33.981 +Describe the slide. Experimental AI assistant. + +00:00:33.981 --> 00:00:53.390 +Review the slide content. Experimental AI assistant. + +00:00:53.390 --> 00:00:57.390 +Result checked in the editor. Experimental AI assistant. diff --git a/docs/media/ai-demos/word-ai.jpg b/docs/media/ai-demos/word-ai.jpg new file mode 100644 index 000000000..4a8204563 Binary files /dev/null and b/docs/media/ai-demos/word-ai.jpg differ diff --git a/docs/media/ai-demos/word-ai.mp4 b/docs/media/ai-demos/word-ai.mp4 new file mode 100644 index 000000000..4a7bf7d24 Binary files /dev/null and b/docs/media/ai-demos/word-ai.mp4 differ diff --git a/docs/media/ai-demos/word-ai.vtt b/docs/media/ai-demos/word-ai.vtt new file mode 100644 index 000000000..c27860f17 --- /dev/null +++ b/docs/media/ai-demos/word-ai.vtt @@ -0,0 +1,19 @@ +WEBVTT + +00:00:00.000 --> 00:00:02.003 +Word - AI assistant. Experimental AI assistant. + +00:00:02.003 --> 00:00:16.787 +Ask for a first draft. Experimental AI assistant. + +00:00:16.787 --> 00:00:19.838 +Write the draft into the document. Experimental AI assistant. + +00:00:19.838 --> 00:00:21.865 +Undo in the editor. Experimental AI assistant. + +00:00:21.865 --> 00:00:22.383 +Redo the change. Experimental AI assistant. + +00:00:22.383 --> 00:00:26.383 +Result checked in the editor. Experimental AI assistant. diff --git a/index.html b/index.html index 9224eaa38..d72878d60 100644 --- a/index.html +++ b/index.html @@ -250,10 +250,10 @@

Open Word, Excel & PowerPoint files, right in your browser.

Open, view and edit DOCX, XLSX, PPTX and CSV in your browser without Office or an account. Core editing requires no document upload; offline use depends on cached resources.

- Open a file - New Word - New Excel - New PowerPoint + Open a file + New Word + New Excel + New PowerPoint