A hypertext reference www navigator or text web browser for linux.
- hotl (repo: https://codeberg.org/nsm/hotl)
- isocline (repo: https://github.com/daanx/isocline)
- quickjs (repo: https://github.com/quickjs-ng/quickjs)
checkout v3.0.0 and follow INSTALL.md in lexbor repo. But basically:
git clone https://github.com/lexbor/lexbor
cd lexbor
git checkout v3.0.0
cmake .
make
sudo make installYou may need also to:
sudo echo /usr/local/lib > /etc/ls.so.conf.d/lexbor.conf
sudo ldconfig
if liblexbor.so.2 not found when running ahre.
pkg install libandroid-wordexp
pkg install libiconv
export LDFLAGS="-landroid-wordexp -liconv"sudo apt install libcurl4-openssl-devor
sudo apt install libcurl4-gnutls-devgit clone
git submodule update --init(to update: git submodule update --recursive --remote)
mkdir build
make ahretcc does not support regex and wordexp so currently it won't work.
To build using tcc the NO_REGEX flag must be passed:
CC=tcc CFLAGS=-DAHRE_REGEX_DISABLED make
To build with no quickjs (and hence no js):
CFLAGS=-DAHRE_QUICKJS_DISABLED make
./build/ahre -d 'q=ahre' lite.duckduckgo.com/lite
Search something in duckduckgo
ddg () {
local IFS="+"
ahre -d q="$1" lite.duckduckgo.com/lite
}
ddg something