Add note about going offline
Set session page to generic canonical url
Switch to AGPL and add help email address to therapist page
#This application is no longer maintained!
I'm working through getting the website set up for decommission. There are still a small number of people using the application, and I will leave it running for a little while. However, I do not have the time or focus to dedicate my energy towards improving this application and maintaining it, even from a basic software security standpoint. Instead, I recommend therapists evaluate other options. There are free ones out there. One I know of that looks excellent and has a huge number of free features, as well as paid options that ensure development continues, is https://www.bilateralstimulation.io/. It works essentially the same as this application but comes with the greater guarantees of continued development of a paid software project with a dedicated team behind it. It is not FOSS, and that's a shame. This code will stay open and available, and anyone is free to fork it, use it, and host it wherever they like (so long as the AGPL license of the code is respected). Tchau!
A simple EMDR lightbar app for therapists to be able to do EMDR therapy with remote clients.
This was inspired by my own therapist's remarks during our first therapy session at the start of the 2020 Coronavirus lockdown in the US and my own desire to be able to continue EMDR therapy during the quarantine.
Note: the animated demo above is choppy due to frames being dropped in the GIF. When the app is actually running, the animation is smooth and appropriate for EMDR therapy.
No matter how good a video chat is, almost all of them have some degree of latency, and many clients may have low-bandwidth connections, making lag on video chats pretty distracting for finger or remote-lightbar EMDR. Even when there isn't lag, most webcams introduce some amount of blurring with rapid movement, which EMDR obviously requires. This can also be distracting to the client, making it difficult to focus on the already hard work of trauma therapy.
This app solves the problem by allowing a therapist to share a short link with a client that opens a lightbar in the client's web browser. For example, the therapist may generate a link for a client's session that looks something like: www.example.com/s/ABC-123
. These content of these links can only be controlled from the therapists session. On the client side, all that is visible is the configured lightbar. We store neither the therapists nor the client's name and the configuration of the lightbar is not PPI. Because no PPI is stored in any way, there is no risk of the link being brute forced or anything like that, as the only information that could ever be revealed is lightbar's configuration, which again is not PPI. The only information that is stored is a small cookie on the therapists session to identify their browser as the owner of the generated link (which will show them the controls on the page).
You can create a session as a therapist and connect as a client. Once you have access to the app, follow the instructions on the index page to set up a therapist and client session.
Start the light's movement as a therapist by clicking the "Start" button. If you open the session URL in another browser window, and change the settings in the therapist window, you should see them immediately reflected in the client window.
Install Docker, and then a simple docker-compose up
will run the application with everything configured including Redis.
Prerequisites:
To run locally:
git clone https://git.sr.ht/~sara/emdr-lightbar
just install
.env
file and fill it in: just dotenv
just rundev
To deploy the application:
docker-compose build && docker-compose up -d
or if you have just
, just reloadprod