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 63870c6139 New screenshot, update README at logs 1 gadu atpakaļ
book Initial commit 1 gadu atpakaļ
logs New screenshot, update README at logs 1 gadu atpakaļ
.gitignore Initial commit 1 gadu atpakaļ
README.md [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
book-chats.txt Initial commit 1 gadu atpakaļ
doctor.py [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
example.env Initial commit 1 gadu atpakaļ
genlogs.py [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
install.py Initial commit 1 gadu atpakaļ
logs.tmpl [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
prompt-template.txt Initial commit 1 gadu atpakaļ
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh 1 gadu atpakaļ
run.sh New screenshot, update README at logs 1 gadu atpakaļ
screenshot.png New screenshot, update README at logs 1 gadu atpakaļ
was-propmpt-template.txt Initial commit 1 gadu atpakaļ

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

Screenshot

Screenshot