A ChatGPT based emulation of the therapist Doctor Kernel from the book "A digital Affair" by Neora Shem Shaul
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
The Dod a26edc285e Intercept SIGINT, propmpt edit, better ANSI cls vor 1 Jahr
book Initial commit vor 1 Jahr
logs Revert example log index (avoid 404s) vor 1 Jahr
.gitignore Initial commit vor 1 Jahr
README.md Add screenshot of logserver web interface vor 1 Jahr
book-chats.txt Initial commit vor 1 Jahr
doctor.py Intercept SIGINT, propmpt edit, better ANSI cls vor 1 Jahr
example.env Initial commit vor 1 Jahr
genlogs.py [BOOTSTRA.386 powered] logserver + better run.sh vor 1 Jahr
install.py Initial commit vor 1 Jahr
logs.tmpl Add source and refresh buttons vor 1 Jahr
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh vor 1 Jahr
prompt-template.txt Intercept SIGINT, propmpt edit, better ANSI cls vor 1 Jahr
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh vor 1 Jahr
run.sh Intercept SIGINT, propmpt edit, better ANSI cls vor 1 Jahr
screenshot-logs.jpg Add source and refresh buttons vor 1 Jahr
screenshot.png New screenshot vor 1 Jahr
was-propmpt-template.txt Initial commit vor 1 Jahr

README.md

A ChatGPT based emulator of Doctor Kernel — JJ’s therapist from the book “A digital Affair” by Neora Shem Shaul.

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).

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

Note that you can try this as is (on a fresh repo clone, without even running install.py) to enjoy the 90s style gui (thanks to BOOTSTRA.386).

Screenshots

Screenshot

Screenshot of the session log web server