[BRLTTY] Tipp: Locally hosted image description with llava in Lynx and other terminal browsers
Pranav Lal
pranav at techesoterica.com
Sat May 10 17:48:23 UTC 2025
Hi,
I am trying to run your script in arch linux.
I get the following error.
[pranav at archlinux ~]$ ./llava_install.sh
-bash: ./llava_install.sh: cannot execute: required file not found
[
I do not know what file the script needs.
What are the steps that you are executing please?
-----Original Message-----
From: BRLTTY <brltty-bounces at brltty.app> On Behalf Of Mario Lang
Sent: Friday, May 9, 2025 11:43 AM
To: brltty at brltty.app
Subject: [BRLTTY] Tipp: Locally hosted image description with llava in Lynx and other terminal browsers
Hi.
I am using the following to fetch/install/configure llava, Meta AIs multi-modal LLM for image description.
It will download llava-1.5 from HuggingFace, place it in ~/.local/bin, and add a .mailcap entry for image/jpeg to call llava. Depending on your machine, descriptions might take a minute or two. OTOH, you don't need API access (payed) for any AI providers, nor will your data be sent over the net.
Its a complete free and local solution.
After you executed this script (or performed the equivalent actions) you can invoke image links in Lynx. After the obligatory waiting time, you will be presented with a textual description of the linked image in a pager. Read the description, and type 'q' to continue with your browsing.
If you find improvements to this approach, let me know.
More information about the BRLTTY
mailing list