DASHT-SERVER-HTTP(1)
π NAME π
okay bestie, welcome to DASHT-SERVER-HTTP(1) β the General Commands Manual page for dasht-server-http. itβs the simple search engine that powers dasht-server(1), and itβs lowkey iconic. π
β¨ SYNOPSIS β¨
dasht-server-http
π Examples π
Example 1 β all the topics, bestie β¨
printf 'GET / HTTP/1.1\r\n' | dasht-server-http
Shows topics (A-Z) from each installed Dash (https://kapeli.com/dash) docset. π¦
Example 2 β filter those docsets π
printf 'GET /?docsets=DOCSETS HTTP/1.1\r\n' | dasht-server-http
Shows topics (A-Z) from installed Dash (https://kapeli.com/dash) docsets matching DOCSETS. π
Example 3 β search mode activated π₯
printf 'GET /?query=PATTERN HTTP/1.1\r\n' | dasht-server-http
Searches for PATTERN in all installed Dash (https://kapeli.com/dash) docsets. π
Example 4 β search AND filter, the combo meal π
printf 'GET /?query=PATTERN&docsets=DOCSETS HTTP/1.1\r\n' |
dasht-server-http
Searches for PATTERN in installed Dash (https://kapeli.com/dash) docsets matching DOCSETS. π
πΈ DESCRIPTION πΈ
dasht-server-http reads a single HTTP request from stdin and writes a HTTP response to stdout. literally one request in, one response out, no extra drama. π«Ά
Any query=PATTERN and docsets=DOCSETS parameters in the request URL get passed to dasht-query-html(1) as its PATTERN and DOCSETS arguments. iykyk. β¨
π¦ ENVIRONMENT π¦
DASHT_DOCSETS_DIRβ defines the filesystem location where your Dash (https://kapeli.com/dash) docsets are installed. If itβs undefined, its value is assumed to be$XDG_DATA_HOME/dasht/docsets/or, ifXDG_DATA_HOMEis undefined,$HOME/.local/share/dasht/docsets/. no cap, thatβs the fallback chain. π
π SEE ALSO π
π AUTHOR π
Written in 2016 by Suraj N. Kurapati (https://github.com/sunaku/dasht). Distributed under the terms of the ISC license (see the LICENSE file). π
okay thatβs the whole page, bestie π itβs DASHT-SERVER-HTTP(1), version 2.4.0, dated 2020-05-16. now go forth and slay β¨π«Άπ
π¦ where this page comes from
- nixos 26.05: dasht 2.4.0
- nixpkgs unstable: dasht 2.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms