### Install Python Dependencies Source: https://github.com/lianues/aistudiobridge/blob/main/README.md Installs Python packages required for the project from the requirements.txt file. This step is crucial for setting up the backend servers. ```bash pip install -r requirements.txt ``` -------------------------------- ### Start OpenAI Compatible Server Source: https://github.com/lianues/aistudiobridge/blob/main/README.md Initiates a server that acts as a proxy for the OpenAI API, forwarding requests to the local history server and returning responses in an OpenAI-compatible format. It listens on http://127.0.0.1:5100. ```bash python openai_compatible_server.py ``` -------------------------------- ### Start Local History Server Source: https://github.com/lianues/aistudiobridge/blob/main/README.md Launches a local server to handle history data storage and retrieval, coordinating script operations. It listens on http://127.0.0.1:5101. ```bash python local_history_server.py ``` -------------------------------- ### Clone AIStudioBridge Repository Source: https://github.com/lianues/aistudiobridge/blob/main/README.md Clones the AIStudioBridge project from GitHub and navigates into the project directory. This is the initial step for setting up the project locally. ```bash git clone https://github.com/Lianues/AIStudioBridge cd AIStudioBridge ``` -------------------------------- ### Tampermonkey Scripts for AI Studio Automation Source: https://github.com/lianues/aistudiobridge/blob/main/README.md These JavaScript scripts are designed to run in the browser via Tampermonkey or similar managers. They automate tasks, manage history, and fetch AI model lists by interacting with the local Python servers. ```javascript // TampermonkeyScript/automator.js // Description: Automates repetitive tasks in the browser. // Usage: Install via Tampermonkey. (function() { 'use strict'; // Script for automating tasks console.log('AI Studio Automator script loaded.'); })(); ``` ```javascript // TampermonkeyScript/historyforger.js // Description: Manages and modifies chat history flexibly for testing. // Usage: Install via Tampermonkey. (function() { 'use strict'; // Script for forging history console.log('AI Studio History Forger script loaded.'); })(); ``` ```javascript // TampermonkeyScript/modelfetcher.js // Description: Intercepts and retrieves AI model lists, providing them to the local server. // Usage: Install via Tampermonkey. (function() { 'use strict'; // Script for fetching model lists console.log('AI Studio Model Fetcher script loaded.'); })(); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.