Beatrice Room — portable classroom edition

For a same-browser rehearsal

Extract the whole folder. Open index.html in a modern desktop browser. Create room, then Open learner view. Both tabs must use the same browser profile and exact file or web origin. If the browser restricts local-file storage, start the local host with “python3 classroom.py” and use its loopback address. Every exercise uses a fictional call sign and the paper bridge prompt.

For two people on two devices

1. Extract the ZIP to a writable folder on the facilitator’s computer. The host needs Python 3.8 or newer. The learner needs only a browser.
2. Connect both devices to the same trusted local network. In the extracted folder run:

   python3 classroom.py --lan

   On Windows with the Python launcher, use “py -3 classroom.py --lan”.
3. Open the host's printed two-device address in the facilitator browser. If the list only shows loopback, find the host's local Wi-Fi IPv4 address in its network settings and open http://that-address:8787/ . Use the LAN address even on the facilitator computer so learner links work on the second device. If prompted by the OS, allow local-network access for this host. Some guest Wi-Fi networks isolate devices.
4. Create room. Use Copy learner link or copy the destination of Open learner view. Open the complete learner link on the second device, including the fragment after #. The role link grants access to that room. Keep the facilitator link with the facilitator.
5. Join room, Open check-in, then Ready. Save plan. At expiry both views show Reflection, or the facilitator can use Open reflection now. Finish reflection and Download session in either view.
6. Keep the host running while participants use the room. Ctrl-C stops it. Reopen using the same host address, port and data file to resume. The host checks the saved deadline when either view reconnects.

Storage and controls

The classroom host saves records in classroom-data.sqlite3 beside classroom.py. Its web service serves only the listed public assets and room protocol. The receipt is a UTF-8 text file. Enter practice content. Room records persist until the operator removes the database with the host stopped. Back it up to retain all rooms. Use --data PATH for a different database, or --port 8888 for a different port. The --lan option is intended for a trusted local network.

The static rehearsal uses IndexedDB in this browser profile. Its room links work across tabs in that profile. The shared host uses its own separate rooms and works without Internet access. Neither edition contacts a school service.

Historical basis

The 2023 Beatrice socket server and React classroom client documented check-in, five-minute planning and reflection. This is a new teaching edition with distinct roles, an actual deadline and a retained shared record. The fictional study and call signs were written for this edition.

