Console mode
[WIP]
Introduction
LumiFind offers a console mode for servers or remote computers such as Network Attached Storage (NAS). Most of these devices do not have a monitor, therefore, a graphical user interface (GUI) cannot be shown.
We introduce aThe console mode for the LumiFind which can work completely in the terminal. Currently,At the first startup, it is in early stage and requiresasks you firstto register, then create the minimal settings onfile, anotherthen computeroffers a set of options. The console mode is written in plain Python and transfercan be expanded if you are comfortable with programming.
Features
Unfortunately, not every feature in the GUI version is available for the easy use, but the core functionalities can be used. Here are the features it there.has so far:
Usage
LumiFind can be used in Linux and macOS devices in Console mode.mode easily.
Requirements
~/.lumifind/ for config and database files.
To start in console mode, on Linux and macOS, run:
lf --console
Then,
First Run Flow
--setup), LumiFind guides you through creating a minimal configuration:
Auto-detected system language: English
===========================================
Welcome to LumiFind Console Mode!
Website: https://lumifind.midilli.tech
Backend Version: 1.0.0
Frontend Version: 1.0.0
This software is copyrighted.
===========================================
Preparing ...
Preparing ...
Preparing ...
🤖 Loading model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
📂 Found on device. Loading from cache.............
Model will run on: cpu
✅ Model loaded successfully!
📂 Found on device. Loading from cache...
🤖 Loading model: openai/clip-vit-base-patch32...
Model will run on: cpu ....
✅ Model loaded successfully!
Model will run on: cpu
🤖 Loading model: openai/whisper-small
📂 Found on device. Loading from cache...........
Model will run on: cpu
Database folder not found: ~/.lumifind/lumifind_db, will assume fresh installation
What do you want to do?
1. Analyze Documents
2. Search Documents
3. Clear Analyzed Data
4. License Manager
5. Settings (create/show)
q. Exit
Enter choice (1/2/3/4/5/q):
Non-Interactive Flags
LumiFind supports automation via command-line flags. Append the flag after enabling the console mode:
lf --console --flaghere
--setup
Run guided setup to create/reset your settings file.
--validate-config
Validate your settings file for required keys, types, and JSON serializability.
--indexStart indexing using the actual settings immediately and exit.
--search "<query>" --type <0|1|2|3>
Run a search for the given query and type, print results, then exit.
Example:
Extending LumiFind
The console mode is written in Python and can be extended for automation, integration, or custom workflows.
You can add new flags, automate menu actions, or integrate with other systems.