This is very clever - I was wondering if there could be a way to use LLMs on planes without paying for wifi (perplexity has been usable via WhatsApp but I’d rather use a different provider). Appreciate the privacy focus too
Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
41–50 of 75 posts
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#42I find the fact that in this day people can own two letter domains absolutely staggering, based on rarity, those should be worth millions I guess?
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#43Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#44then use `c "the prompt"`
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#45Quickly allowed me to hook up this script, using dmenu and notify on i3: https://files.catbox.moe/vbhtg0.jpg
And then trigger it with Mod+l for super quick answers as I'm working! Priceless <3
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#46Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#47This is beautiful, thank you. Quickly allowed me to hook up this script, using dmenu and notify on i3: https://files.catbox.moe/vbhtg0.jpg And then trigger it with Mod+l for super quick answers as I'm working! Priceless <3
```
#!/bin/bash
# Required parameters: # @raycast.schemaVersion 1 # @raycast.title Ask LLM # @raycast.mode fullOutput
# Optional parameters: # @raycast.icon # @raycast.argument1 { "type": "text", "placeholder": "Your question" }
# Documentation: # @raycast.author Your Name # @raycast.authorURL https://github.com/you
QUERY="$1" [ -z "$QUERY" ] && exit 0
FULL_QUERY="Answer in as little words as possible, concisely, for an intelligent person: $QUERY"
# URL encode (pure bash) encode_query() { local query="$1" local encoded="" local c for (( i=0; iENCODED_QUERY=$(encode_query "$FULL_QUERY")
# Get response RESPONSE=$(curl -s "https://ch.at/?q=$ENCODED_QUERY")
# Output to Raycast echo "$RESPONSE"
# --- Optional: also pop up a big dialog --- osascript -e 'display dialog "'"$RESPONSE"'" buttons {"OK"} default button 1 with title "LLM Answer"'
```
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#48Author here, was a bit surprised to see this here. I thought there needed to be a good zero-JS LLM site for computer people, and we thought it would be fun to add various other protocols. The short domain hack of "ch.at" was exciting because it felt like the natural domain for such a service. It has not been expensive to operate so far. If it ever changes we can think about rate limiting it. We used GPT4o because it…
One interesting thing I forgot to mention: the server streams HTML back to the client and almost all browsers since the beginning will render as it streams. However, we don't parse markdown on the server and convert to HTML. Rather, we just prompt the model to emit HTML directly.
Considering the target audience it probably doesn’t matter but it sounds like this could lead to pretty heavy prompt injections, user intended or not. Have you considered that and are there any safeguards?
The domain is great by the way. Congrats on getting it!
Re: Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API
#49Via email?