A ChatGPT based emulation of the therapist Doctor Kernel from the book "A digital Affair" by Neora Shem Shaul
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
The Dod bdf8f43cc8 Prompt edit 1年前
book Initial commit 1年前
logs Revert example log index (avoid 404s) 1年前
.gitignore Initial commit 1年前
README.md Add screenshot of logserver web interface 1年前
book-chats.txt Initial commit 1年前
doctor.py Intercept SIGINT, propmpt edit, better ANSI cls 1年前
example.env Initial commit 1年前
genlogs.py [BOOTSTRA.386 powered] logserver + better run.sh 1年前
install.py Initial commit 1年前
logs.tmpl Add source and refresh buttons 1年前
logserver.sh [BOOTSTRA.386 powered] logserver + better run.sh 1年前
prompt-template.txt Prompt edit 1年前
requirements.txt [BOOTSTRA.386 powered] logserver + better run.sh 1年前
run.sh Intercept SIGINT, propmpt edit, better ANSI cls 1年前
screenshot-logs.jpg Add source and refresh buttons 1年前
screenshot.png New screenshot 1年前
was-propmpt-template.txt Initial commit 1年前

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