A ChatGPT based emulation of the therapist Doctor Kernel from the book "A digital Affair" by Neora Shem Shaul
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
The Dod ae35bc9c71 README edit 8 mēnešus atpakaļ
book In Hebrew book, Add the zip index.html expects 10 mēnešus atpakaļ
logs Add matrix chat log 8 mēnešus atpakaļ
.gitignore Initial commit 10 mēnešus atpakaļ
README.md README edit 8 mēnešus atpakaļ
book-chats.txt Add initial mail 9 mēnešus atpakaļ
doctor.py Deal with utf-8 inside chat (add BOM). 9 mēnešus atpakaļ
example.env Initial commit 10 mēnešus atpakaļ
genlogs.py Add [ChatGPT generated] session log titles 9 mēnešus atpakaļ
install.py Initial commit 10 mēnešus atpakaļ
logs.tmpl Add [ChatGPT generated] session log titles 9 mēnešus atpakaļ
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh 10 mēnešus atpakaļ
prompt-template.txt Add initial mail 9 mēnešus atpakaļ
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh 10 mēnešus atpakaļ
run.sh Separate log and GUI output. New formatting 10 mēnešus atpakaļ
screenshot.png New screenshot 10 mēnešus atpakaļ
was-propmpt-template.txt Initial commit 10 mēnešus atpakaļ

README.md

A ChatGPT based emulator of Doctor Kernel — JJ’s therapist from the book “A digital Affair” by Neora Shem Shaul (or rather, a partial translation of it to English, because [at least currently] ChatGPT’s Hebrew is not good enough.

As seen at the book’s 30th anniversary party.

It is run as a console app, and emulates slow typing like a chat over a modem in 1993. For best results, run on a green on black terminal, with a large and archaic monospace font (see screenshot below for inspiration).

See also: Sample session archive (in vivid BOOTSTRA.386 colors).

Setup

  • run ./install.sh
  • copy example.env to .env and edit it according to the instructions inside.

Usage

./run.sh is an infinite loop of sessions with the doctor. Whenever you finish a non-empty session, the log is saved and the index.html of the logs/ folder gets regenerated (see below).

Serving session logs via web

./logserver.sh would serve session log files on port 8000 (example). Thanks to bootstra.386 for their Norton-Commanderish GUI lib.

Resources

book/ contains the partial English translation of the book, and the entire original Hebrew book.

Screenshot

Screenshot