NameDateSize

..09-Feb-202326

attr2cH A D09-Feb-2023282

attrs.cH A D09-Feb-202337.4 KiB

attrs.hH A D09-Feb-20234.8 KiB

attrs.txtH A D09-Feb-20233.8 KiB

bin/H09-Feb-20234

bookmark.mimeH A D09-Feb-20233.3 KiB

config/H09-Feb-20233

duckduckgo_request.cppH A D09-Feb-20233.9 KiB

duckduckgo_request.hH A D09-Feb-20231.6 KiB

JamfileH A D09-Feb-2023597

ksocket.hH A D09-Feb-20232.8 KiB

lists.cH A D09-Feb-20231.6 KiB

lists.hH A D09-Feb-20231.1 KiB

lists2.cH A D09-Feb-20232.1 KiB

lists2.hH A D09-Feb-20231.8 KiB

lock.hH A D09-Feb-20231 KiB

makezip.shH A D09-Feb-2023420

parse_duckduckgo_html.cH A D09-Feb-20236.5 KiB

query.cH A D09-Feb-20233 KiB

query.hH A D09-Feb-20231,023

README.websearchfs.txtH A D09-Feb-20231.1 KiB

ringbuff.cH A D09-Feb-20232.6 KiB

ringbuff.hH A D09-Feb-2023628

settings.cH A D09-Feb-20231.3 KiB

settings.hH A D09-Feb-2023391

string_utils.cH A D09-Feb-20233.2 KiB

string_utils.hH A D09-Feb-2023619

vnidpool.cH A D09-Feb-20232.4 KiB

vnidpool.hH A D09-Feb-2023536

websearchfs.cH A D09-Feb-202346.4 KiB

websearchfs.hH A D01-Mar-20233.1 KiB

websearchfs_res.rdefH A D09-Feb-20234.4 KiB

README.websearchfs.txt

1Welcome to the Web Search FileSystem for BeOS���, Zeta��� and Haiku��.
2Copyright�� 2004, 2005, Fran��ois Revol.
3
4DuckDuckGo is a trademark of DuckDuckGo.
5BeOS is a trademark of PalmSource.
6Zeta is a trademark of yellowTAB GmbH.
7Haiku is a trademark of Haiku, Inc.
8
9REQUIRES USERLANDFS
10
11mkdir /Web; mount -t userlandfs -p websearchfs /Web
12
13Use "Search the Web" query template in this folder to search anything on the web.
14The search results are kindly provided by DuckDuckGo (https://duckduckgo.com).
15
16or from the commande line:
17
18    query -v /Web '((name=="*QUESTION*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))'
19
20where QUESTION is what you want to search. (websearchfs currently filters queries to only answer those).
21You will want to pipe that to catattr to get the URLs:
22
23    query -v /Web '((name=="*site:haiku-os.org userlandfs*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))' | xargs catattr META:url
24
25(note that won't work with sync_unlink true in the settings)
26
27Included are 2 scripts, search and imlucky that runs such a query using the arguments given on the command line.
28
29Enjoy.
30