Installation¶
This guide covers the different ways to install and set up LORG.
Prerequisites¶
- Node.js: Version 18 or higher
- npm: Comes with Node.js
- OpenAI API Key: Required for LLM functionality
Installation Methods¶
NPM (Recommended)¶
Install LORG globally to use the CLI:
Or install locally in your project:
From Source¶
Clone the repository and install dependencies:
Docker¶
Build and run using Docker:
Configuration¶
Environment Variables¶
Set your OpenAI API key:
Optional Environment Variables¶
| Variable | Default | Description |
|---|---|---|
OPENAI_BASE_URL | OpenAI default | Custom OpenAI API endpoint |
LORG_DEFAULT_MODEL | gpt-4o-mini | Default model for queries |
LORG_SEARCH_API_URL | https://search-dev.d736.uk/search | SearxNG API URL |
LORG_SEARCH_ENGINES | google,yahoo,bing,duckduckgo | Search engines to use |
LORG_SEARCH_LIMIT | 20 | Maximum search results |
Verify Installation¶
Check that LORG is installed correctly:
Run a test search:
Next Steps¶
- Quick Start Guide - Run your first search
- Configuration Guide - Customize LORG settings
- CLI Usage - Learn CLI commands