_______ __ _______ | |
| | |.---.-..----.| |--..-----..----. | | |.-----..--.--.--..-----. | |
| || _ || __|| < | -__|| _| | || -__|| | | ||__ --| | |
|___|___||___._||____||__|__||_____||__| |__|____||_____||________||_____| | |
on Gopher (inofficial) | |
Visit Hacker News on the Web | |
COMMENT PAGE FOR: | |
Ch.at â A lightweight LLM chat service accessible through HTTP, SSH, DNS… | |
1d22a wrote 1 day ago: | |
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. | |
tamimio wrote 1 day ago: | |
I asked 5 questions, 4/5 of them said it canât answer them because | |
âit doesnât have access to real time dataâ | |
userbinator wrote 1 day ago: | |
Does anyone else think "and API" makes as much sense as "apples, | |
oranges, pears, and fruits"? | |
whoamii wrote 16 hours 57 min ago: | |
Youâre comparing apples to fruit. | |
moi2388 wrote 1 day ago: | |
I do, I do! | |
dakinitribe wrote 1 day ago: | |
This is beautiful, thank you. | |
Quickly allowed me to hook up this script, using dmenu and notify on | |
i3: [1] And then trigger it with Mod+l for super quick answers as I'm | |
working! Priceless <3 | |
[1]: https://files.catbox.moe/vbhtg0.jpg | |
HiPHInch wrote 1 day ago: | |
ported to macos using raycast | |
``` | |
#!/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 [1] 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 " [2] ") | |
# 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"' | |
``` | |
[1]: https://github.com/you | |
[2]: https://ch.at/?q=$ENCODED_QUERY | |
HiPHInch wrote 1 day ago: | |
is it a good idea to alias "dig @ch.at TXT +short" to a command say `c` | |
then use `c "the prompt"` | |
zoobab wrote 1 day ago: | |
Via email? | |
dzhiurgis wrote 1 day ago: | |
That would be too good way to bypass corporate firewalls | |
3s wrote 1 day ago: | |
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 | |
anthk wrote 1 day ago: | |
If you can do DNS queries set up a Iodine server at home and tunnel | |
into it. | |
leumon wrote 1 day ago: | |
Lmstudio or something like that on a laptop which has a lot of vram. | |
etaioinshrdlu wrote 1 day ago: | |
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. | |
We are not logging anything but OpenAI must be... | |
OJFord wrote 1 day ago: | |
> Author here, was a bit surprised to see this here. [...] It has not | |
been expensive to operate so far. | |
Well, no worries, it's here now! | |
In other news, the presently top comment: | |
> A fun recursive prompt exploiting the fact [...] | |
busfahrer wrote 1 day ago: | |
> 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. | |
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: | |
[1]: https://dgl.cx/2008/10/wikipedia-summary-dns | |
sunnybeetroot wrote 1 day ago: | |
Do you mind if I know how much you paid for the domain, brilliant | |
find. | |
MuffinFlavored wrote 13 hours 33 min ago: | |
.at is Austria TLD, in case anybody was wondering | |
etaioinshrdlu wrote 1 day ago: | |
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. | |
gloxkiqcza wrote 1 day ago: | |
> 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! | |
tripplyons wrote 1 day ago: | |
Cool! Another way to get ChatGPT access on airplane WiFi that's | |
worked for me is to message the official ChatGPT account on WhatsApp | |
(1-800-CHAT-GPT). | |
indigodaddy wrote 1 day ago: | |
These are the kinds of sites/tools that make me excited/optimistic | |
about the AI/LLM future in general | |
indigodaddy wrote 1 day ago: | |
How are you/will you deal with basically your service getting | |
overwhelmed/ddosed with requests? | |
puppymaster wrote 1 day ago: | |
been using it on a plane for the past one month. it's a great way to do | |
some light reading and learning about obscure topics. | |
dig @ch.at "why is gua musang the king of durian" TXT +short | |
indigodaddy wrote 1 day ago: | |
I'm a host guy.. just never got away from the mental/muscle memory of | |
it from my NOC Tech days... | |
host -t TXT "what is your name?" ch.at | |
w-ll wrote 1 day ago: | |
This is the killer use case. Thanks! | |
JADev62096 wrote 1 day ago: | |
logging policy? | |
nosioptar wrote 21 hours 7 min ago: | |
They don't log. | |
[1]: https://news.ycombinator.com/item?id=44849129#44852102 | |
alhirzel wrote 1 day ago: | |
What are the economics of this? | |
mattpavelle wrote 1 day ago: | |
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 | |
:) | |
indigodaddy wrote 1 day ago: | |
Super clever idea/hack! | |
Nevin1901 wrote 1 day ago: | |
use the new gpt oss to have 0 logs end to end. but cool project | |
zaik wrote 1 day ago: | |
It seems like the only internet protocols they didn't implement were | |
the ones designed for chat. How could they forget about IRC, XMPP and | |
SIP? | |
precommunicator wrote 13 hours 47 min ago: | |
Or IP over Avian Carriers or HTCPCP | |
stephenlf wrote 16 hours 47 min ago: | |
SMTP! | |
urbandw311er wrote 20 hours 50 min ago: | |
Great observation | |
bravesoul2 wrote 1 day ago: | |
No SOAP, CORBA, WAP or RS232 interfaces either. | |
mannyv wrote 20 hours 16 min ago: | |
Tn3270 FTW! | |
nosioptar wrote 21 hours 16 min ago: | |
Lousy infidels snubbed the almighty telnet as well. | |
hkt wrote 1 day ago: | |
I'd love a deltachat bot too.. | |
anthk wrote 1 day ago: | |
It's trivial to bind a text output with socat to a mail account or | |
IRC with ii. | |
etaioinshrdlu wrote 1 day ago: | |
These can definitely be added | |
evbogue wrote 1 day ago: | |
This is because when an account generates text in a chatroom it is | |
generally referred to as a "bot". | |
progval wrote 1 day ago: | |
They can create chatrooms dynamically so no one but the user will | |
see them. | |
evbogue wrote 1 day ago: | |
That's wise, but how will the user protect against the host in | |
those protos? | |
progval wrote 1 day ago: | |
Protect against the host doing what? | |
FraserGreenlee wrote 1 day ago: | |
I see this is using GPT4o, any plans for something more sustainable? | |
Would be interesting to see an [1] for LLMs. | |
Perhaps via an RNN like in [2] Or even just leverage huggingface gradio | |
spaces? (most are Gradio apps that expose APIs [3] ) | |
[1]: https://openfreemap.org | |
[2]: https://huggingface.co/spaces/BlinkDL/RWKV-Gradio-2 | |
[3]: https://www.gradio.app/guides/view-api-page | |
ivape wrote 1 day ago: | |
I wonder if a 1B model could be close to free to host. That's an | |
eventuality, but I wonder how long it'll take for that to be real. | |
codazoda wrote 1 day ago: | |
Iâm planning to deploy a 1B model, feed it all the documents | |
Iâve ever written, host it on a $149 mini-PC in my bedroom, and | |
enable you to chat with it. | |
Iâve released similar projects before. | |
Iâll drop a post about my plans in the coming days and Iâll | |
build and document it about two weeks later if thereâs enough | |
interest. | |
joeldare.com | |
codazoda wrote 19 hours 37 min ago: | |
The post about my plan is now online: | |
[1]: https://joeldare.com/my_plan_to_build_an_ai_chat_bot_in_... | |
indigodaddy wrote 1 day ago: | |
Sounds cool! | |
giantrobot wrote 1 day ago: | |
A 1B model at 2-bit quantization is about the size of the average | |
web page anymore. With some WebGPU support you could run such a | |
model in a browser. | |
I'm half joking. Web pages are ludicrously fat these days. | |
reverius42 wrote 8 hours 0 min ago: | |
Something like this? | |
[1]: https://github.com/huggingface/transformers.js-examples/... | |
giantrobot wrote 2 hours 3 min ago: | |
That was the exact thing I was thinking of but couldn't | |
remember the project name. Thanks! | |
WhatsName wrote 1 day ago: | |
I 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? | |
redindian75 wrote 1 day ago: | |
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? | |
k9294 wrote 1 day ago: | |
If you have a lot of inquiries - start responding with ridiculous | |
prices (whatever ridiculous means to you.. 100k.. 1kk, whatever). | |
Answer different price for each new price request. People either | |
agree, stop talking or start negotiating down. After 30 emails I | |
bet you will have some idea about how much you can sell it for. | |
One simple thought - itâs just an email answer, not a | |
contract/obligation that you have to sell it at particular price, | |
you can change your mind at any time. | |
qingcharles wrote 1 day ago: | |
There's plenty still available. I bought an unregistered one last | |
year for zero markup. Which reminds me, it needs renewing today. | |
SahAssar wrote 1 day ago: | |
I have a few, only bought on open market. | |
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) | |
abxyz wrote 1 day ago: | |
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. | |
Hereâs a reseller with a variety: [1] These guys run a bunch of | |
services on x.xx domains: [2] like c.im, r.nf, p.lu. | |
[1]: https://1-single-letter-domains.com/ | |
[2]: https://o.ee/services/ | |
etaioinshrdlu wrote 1 day ago: | |
Do we know each other :0 :) | |
indigodaddy wrote 1 day ago: | |
This was recently featured on HN, maybe could also help | |
[1]: https://www.ahadomainsearch.com/ | |
weitendorf wrote 1 day ago: | |
I own vecs.ai and it's surprisingly hard to find buyers. Domains are | |
really just Xoomer NFTs | |
SahAssar wrote 1 day ago: | |
Why would that one specifically find buyers? Do people commonly use | |
vecs as a short for vectors or am I missing something? | |
sgjohnson wrote 1 day ago: | |
unless they are .com, nobody cares. | |
twostorytower wrote 1 day ago: | |
.ai expensive these days too | |
dmd wrote 1 day ago: | |
went to ch.ai and was not disappointed by its content | |
nunobrito wrote 1 day ago: | |
There was a time that I owned a one letter domain with a two letter | |
country code. | |
The cost was about 600 USD and was fun, but problematic as it failed | |
to be accepted as valid email address on many websites. | |
nadermx wrote 1 day ago: | |
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. | |
<- back to front page |