How to talk to the Emacs doctor (ELIZA) in your browser

2 minute read

Published:

🩺

almost Emacs doctor screenshot

🌐

Many times, the answer is already inside you. You don’t always need ChatGPT, Gemini or Claude to hand you one - sometimes you just need to type the problem out and be nudged to keep going until you reach it yourself.

That’s exactly what the old-school Emacs doctor does, and all it takes is a trick from the 1960s: ELIZA, the classic “psychotherapist” program that never answers, never advises - it only reflects your own words back as questions, Rogerian style. Tried and true for decades in Emacs as M-x doctor, and now rebuilt in your browser. No AI, no account, nothing you type leaves your machine (Google Analytics for visit stats only). (Background on all three “almost Emacs” tools in the original post.)

Steps

  1. Open https://www.clearevo.com/doctor/ - it greets you with the original opening line.
  2. Type what’s on your mind, then press RET twice to submit - the authentic Emacs ritual. (There’s a button too, for normal human beings.)
  3. Keep answering its questions. The doctor won’t solve anything - that’s the point. Explaining your problem in your own words, again and again from different angles, is what gets you to your own answer.
  4. Say goodbye when you’re done, and the doctor will, of course, send you a bill.

It’s a parody - not therapy, not medical anything. But as a rubber duck with a medical degree from the 1960s, it works better than it has any right to.

This tool is free software and open source: ykasidit/clearevo_online_tools - issues and pull requests welcome.

Full disclosure: this post - and any code or tool it describes - was co-authored with Claude (Anthropic’s AI, via Claude Code). I directed, guided and reviewed. I don’t want to pretend otherwise.

Leave a Comment