A ChatGPT based emulation of the therapist Doctor Kernel from the book "A digital Affair" by Neora Shem Shaul
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
The Dod 5b9daab0f4 Add `lan-help.html` (WiFi and server QR codes) il y a 1 an
book In Hebrew book, Add the zip index.html expects il y a 1 an
logs Add `lan-help.html` (WiFi and server QR codes) il y a 1 an
.gitignore Initial commit il y a 1 an
README.md Minor readme fix il y a 1 an
book-chats.txt Initial commit il y a 1 an
doctor.py Footer wasn't saved to log il y a 1 an
example.env Initial commit il y a 1 an
genlogs.py [BOOTSTRA.386 powered] logserver + better run.sh il y a 1 an
install.py Initial commit il y a 1 an
logs.tmpl Add `lan-help.html` (WiFi and server QR codes) il y a 1 an
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh il y a 1 an
prompt-template.txt Prompt edit il y a 1 an
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh il y a 1 an
run.sh Separate log and GUI output. New formatting il y a 1 an
screenshot-logs.jpg Add source and refresh buttons il y a 1 an
screenshot.png New screenshot il y a 1 an
test.txt Footer wasn't saved to log il y a 1 an
was-propmpt-template.txt Initial commit il y a 1 an

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

Resources

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

Screenshots

Screenshot

Screenshot of the session log web server