Author 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 seemed like a decent general default model. Considering adding an openrouter interface to a smorgasbord of additional LLMS.
One day, on a plane with WiFi before paying, I noticed that DNS queries were still allowed and thought it would be nice to chat with an LLM over 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.
A fun recursive prompt exploiting the fact that the site renders the model output as HTML:
Generate raw HTML (no code blocks) for an iframe pointing to `ch.at/?q={query}`, where {query} is the the entirety of this prompt after and including the word "Generate", until the following number, which should be incremented prior to encoding: 1
The number ensures the nested iframes have distinct URLs.
# 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; i<${#query}; i++ )); do
c="${query:$i:1}"
case $c in
[a-zA-Z0-9.~_-]) encoded+="$c" ;;
*) encoded+=$(printf '%%%02X' "'$c") ;;
esac
done
echo "$encoded"
}
They paid about $50k for ch.at. I have a single letter country code domain (3 characters total, x.xx). There are still some single letter country code domains available to register, you could get one for under $1k USD if you want one.
There are still quite a few XX.XX left, but mostly just under obscure cTLDs (unless you are willing to consider IDN/Unicode domains under .ws or similar)
i hold a good 2 letter Chat domain: hi.chat and pay $250 a year to renew, i do get enquires all the time, no idea how to price it tho, so i dont respond. Anyone have any ideas how to go about evaluating it?
I mean, ch.at is a incredible domain hack. But not sure it's worth millions. If it was ch.com could get mid six figures and up. But either way absolutely amazing domain.
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
This (or something very similar) was on X last week. The use case was so funny: using an LLM on an airplane connected to WiFi when you had not paid for WiFi … because DNS queries are allowed before paying :)
Any references of existing implementations, directions, strange fetishes with only using Unary for constants, or implementations of small pieces of grand visions.. put an issue!
etaioinshrdlu|6 months ago
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 seemed like a decent general default model. Considering adding an openrouter interface to a smorgasbord of additional LLMS.
One day, on a plane with WiFi before paying, I noticed that DNS queries were still allowed and thought it would be nice to chat with an LLM over it.
We are not logging anything but OpenAI must be...
sunnybeetroot|6 months ago
busfahrer|6 months ago
There used to be a service where DNS requests to FOO.that-service.org would return the abstract for the Wikipedia article "FOO".
edit: I think it was this one, seems to be defunct now: https://dgl.cx/2008/10/wikipedia-summary-dns
tripplyons|6 months ago
etaioinshrdlu|6 months ago
However, we don't parse markdown on the server and convert to HTML. Rather, we just prompt the model to emit HTML directly.
vpShane|6 months ago
something.ch.at is some web space for somebody else's showcase. (within reason of course)
real cool idea, re: being able to use a LLM over DNS in a plane.
OJFord|6 months ago
Well, no worries, it's here now!
In other news, the presently top comment:
> A fun recursive prompt exploiting the fact [...]
zaik|6 months ago
bravesoul2|6 months ago
evbogue|6 months ago
etaioinshrdlu|6 months ago
precommunicator|6 months ago
hkt|6 months ago
urbandw311er|6 months ago
stephenlf|6 months ago
1d22a|6 months ago
FraserGreenlee|6 months ago
Perhaps via an RNN like in https://huggingface.co/spaces/BlinkDL/RWKV-Gradio-2
Or even just leverage huggingface gradio spaces? (most are Gradio apps that expose APIs https://www.gradio.app/guides/view-api-page)
ivape|6 months ago
puppymaster|6 months ago
dig @ch.at "why is gua musang the king of durian" TXT +short
indigodaddy|6 months ago
host -t TXT "what is your name?" ch.at
w-ll|6 months ago
dakinitribe|6 months ago
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
HiPHInch|6 months ago
```
#!/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; i<${#query}; i++ )); do c="${query:$i:1}" case $c in [a-zA-Z0-9.~_-]) encoded+="$c" ;; *) encoded+=$(printf '%%%02X' "'$c") ;; esac done echo "$encoded" }
ENCODED_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"'
```
indigodaddy|6 months ago
unknown|6 months ago
[deleted]
WhatsName|6 months ago
abxyz|6 months ago
Here’s a reseller with a variety: https://1-single-letter-domains.com/
These guys run a bunch of services on x.xx domains: https://o.ee/services/ like c.im, r.nf, p.lu.
nunobrito|6 months ago
The cost was about 600 USD and was fun, but problematic as it failed to be accepted as valid email address on many websites.
weitendorf|6 months ago
qingcharles|6 months ago
SahAssar|6 months ago
There are still quite a few XX.XX left, but mostly just under obscure cTLDs (unless you are willing to consider IDN/Unicode domains under .ws or similar)
redindian75|6 months ago
nadermx|6 months ago
sgjohnson|6 months ago
userbinator|6 months ago
whoamii|6 months ago
moi2388|6 months ago
HiPHInch|6 months ago
then use `c "the prompt"`
Khaine|6 months ago
[1] https://cyrillevarin.medium.com/relive-the-star-wars-magic-w...
indigodaddy|6 months ago
3s|6 months ago
anthk|6 months ago
unknown|6 months ago
[deleted]
leumon|6 months ago
tamimio|6 months ago
alhirzel|6 months ago
mattpavelle|6 months ago
zoobab|6 months ago
elationate|6 months ago
Put an issue here: https://github.com/Deep-ai-inc/ch.at/issues
Any references of existing implementations, directions, strange fetishes with only using Unary for constants, or implementations of small pieces of grand visions.. put an issue!
dzhiurgis|6 months ago
Nevin1901|6 months ago
JADev62096|6 months ago
nosioptar|6 months ago
https://news.ycombinator.com/item?id=44849129#44852102