A CLI tool that integrates @guidepup/virtual-screen-reader
with an LLM (Large Language Model) to navigate and interact with web pages programmatically.
- Ollama: Install the Ollama server for LLM integration. Visit Ollama for installation instructions.
-
Install dependencies:
yarn install
-
Start the Ollama local server:
yarn serve
-
Pull the required LLM model and set up the environment:
yarn pull
yarn cli <url> <goal> [maxAttempts]
yarn cli https://www.example.com "navigate to the About page" 10
<url>
: The URL of the web page to navigate.<goal>
: The goal or task for the virtual screen reader to achieve.[maxAttempts]
(optional): The maximum number of attempts to achieve the goal (default: 10).