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

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
- Open https://www.clearevo.com/doctor/ - it greets you with the original opening line.
- 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.)
- 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.
- 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.
หลายครั้งคำตอบก็อยู่ในตัวเราอยู่แล้ว ไม่จำเป็นต้องให้ ChatGPT, Gemini หรือ Claude ยื่นคำตอบให้เสมอไป — บางทีแค่ได้พิมพ์ปัญหาออกมา แล้วมีคนคอยสะกิดให้เล่าต่อไปเรื่อย ๆ ก็พาเราไปถึงคำตอบด้วยตัวเองได้
นั่นคือสิ่งที่หมอ Emacs รุ่นเก๋าทำมาตลอด ด้วยกลเม็ดจากยุค 1960s: ELIZA โปรแกรม “นักจิตบำบัด” สุดคลาสสิกที่ไม่เคยให้คำตอบ ไม่เคยให้คำแนะนำ — มันแค่สะท้อนคำพูดของเรากลับมาเป็นคำถามตามแนวทางแบบ Rogerian ผ่านการพิสูจน์มาแล้วหลายสิบปีใน Emacs ในชื่อ M-x doctor และตอนนี้ถูกสร้างเลียนแบบขึ้นใหม่ให้เล่นได้ในเบราว์เซอร์ ไม่มี AI ไม่ต้องสมัครบัญชี ข้อความที่พิมพ์ไม่ถูกส่งออกจากเครื่องของคุณเลย (มีเพียง Google Analytics สำหรับนับสถิติผู้เข้าชมเท่านั้น) (อ่านที่มาของเครื่องมือ “almost Emacs” ทั้งสามตัวได้ในโพสต์ต้นฉบับ)
วิธีใช้
- เปิด https://www.clearevo.com/doctor/ — หมอจะทักทายด้วยประโยคเปิดตามต้นฉบับ
- พิมพ์สิ่งที่อยู่ในใจ แล้วกด RET สองครั้ง เพื่อส่งข้อความ — ตามธรรมเนียม Emacs ของแท้ (มีปุ่มกดให้ด้วย สำหรับมนุษย์ปกติทั่วไป)
- ตอบคำถามของหมอไปเรื่อย ๆ หมอจะไม่แก้ปัญหาอะไรให้เลย — และนั่นแหละคือประเด็น การได้อธิบายปัญหาด้วยคำพูดของตัวเอง ซ้ำแล้วซ้ำอีกจากหลาย ๆ มุม คือสิ่งที่พาเราไปถึงคำตอบของตัวเอง
- เสร็จแล้วก็พิมพ์ goodbye เพื่อบอกลา แล้วหมอก็จะส่งบิลค่ารักษามาให้ตามระเบียบ
นี่คือโปรแกรมล้อเลียนขำ ๆ — ไม่ใช่การบำบัดจริง ไม่ใช่อะไรทางการแพทย์ทั้งสิ้น แต่ในฐานะ “เป็ดยาง” ที่จบแพทย์มาตั้งแต่ยุค 1960s มันทำหน้าที่ได้ดีเกินคาดไปมาก
เครื่องมือนี้เป็นซอฟต์แวร์เสรีและโอเพนซอร์ส: ykasidit/clearevo_online_tools — ยินดีรับ issue และ pull request ครับ
คำแปลภาษาไทยนี้มี AI ช่วยเรียบเรียง — หากพบจุดที่อ่านแล้วขัด แจ้งได้ในคอมเมนต์ครับ
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