Repository files navigation LibreAI LibreOffice Writer Extension
Build the .oxt package:
Zip the contents of the extension/ directory (including uno_extension.py, manifest.xml, and all submodules).
Rename the zip file to libreai.oxt.
Open LibreOffice Writer.
Go to Tools > Extensions Manager and add libreai.oxt.
Use the sidebar or configuration dialog to select and configure your LLM provider (OpenAI, Anthropic, Google, Ollama).
API keys and settings are stored securely in your user profile.
Open the sidebar from the LibreAI menu.
Enter your prompt and interact with the AI agent.
The agent can edit, insert, or replace text in your document.
Python 3.8+
Install dependencies: pip install -r requirements.txt
Run tests: python -m unittest discover tests
To create a distributable .oxt file, zip the contents of the extension/ directory and rename the file extension to .oxt.
Tested on Windows, Linux, and macOS.
All configuration and data are stored in platform-appropriate locations.
You can’t perform that action at this time.