Skip to content

oleh-devlab/olive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O.L.I.V.E.

Operational Liaison for Intelligent Virtual Engagement

Python Disnake


OLIVE is a modular hub designed to integrate disparate microservices into a single, managed ecosystem, utilizing Discord as its primary control interface.

The Discord bot was created based on the Flores project, which was previously used as a test and training project. The source code is not publicly available.


Status: We are currently refactoring the old version of the code. Product descriptions may not reflect reality.


Expected file structure

.
├── .venv/              # Virtual environment (ignored by Git)
├── docs/               # Documentation files (setup instructions, walkthroughs)
│   ├── EN/
│   └── UK/
├── src/
│   ├── main.py         # The main entry point of the bot
│   ├── settings.py     # Local configuration (created by the user based on settings.py.example. Ignored by Git)
│   ├── phrases.json    # Local phrases configuration (ignored by Git)
│   ├── cogs/
│   ├── core/
│   ├── modules/
│   ├── ...             # The bot will store files such as llm_context.json, config.ini, currency_cache.json, and others in this (src/) folder.
│   └── .env            # And the rest of the tokens with the names you specify in settings.py (should be in .gitignore)
├── README.md
├── .gitignore
├── requirements.txt    # Tracked by Git
└── settings.py.example # Tracked by Git

Setup Instructions

Ukrainian

Ukrainian version of the initial setup instructions located in docs/UK/setup-instructions.md.

English

  1. Clone the repository and navigate to its directory:
git clone https://github.com/oleh-devlab/olive.git
cd olive
  1. Create a Python virtual environment and activate it:
python -m venv .venv

# Windows
.venv\Scripts\activate
# Linux/MacOS
source .venv/bin/activate
  1. Move settings.py.example to the source folder (into src/, or such that it is on the same level as main.py).
  2. Rename settings.py.example to settings.py and fill in the required fields (see the comments inside the file).
  3. Create token files in the source folder (src/, in the same folder as main.py and settings.py) according to their names defined in settings.py.
  • You can skip adding tokens for modules that are disabled (see settings.py).
  1. Ensure that the token paths you use (see settings.py) are listed in .gitignore.
  2. Install dependencies.
  • You can skip installing dependencies for unused modules. Check settings.py to see which modules to disable and edit requirements.txt accordingly.
pip install -r requirements.txt
  • If you have made changes to the requirements.txt file to exclude certain dependencies, we recommend reverting it to its original state after the installation is complete to avoid conflicts when working with Git.
  • Tip: You can quickly revert the file by running git checkout -- requirements.txt or git restore requirements.txt.
  1. (Optional) Fill in phrases.json.

    • Comprehensive documentation for phrases.json is currently unavailable, so you will need to check the source code to fill in the parts you want to change. However, you can review the multi-server format documentation: English | Ukrainian.
  2. Run the bot (it is recommended to run this from the src directory, or the one containing main.py):

cd src
python main.py

About

A system that integrates various scripts, monitoring tools, and AI into a single infrastructure, with convenient management via Discord.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages