I will die on the hill of bash + atuin & ble.sh being absolute peak.
Atuin is a shell-history tool that stores detailed shell history in Sqlite, and provides a TUI + fuzzy search to query it efficiently. Optional and self-hostable cross-machine sync is available too, with E2E encryption.
Ble.sh is a bash-enhancement suite that provides autocomplete, syntax highlighting, multi-line editing, etc.
You can test them both out in under 5 minutes, and uninstall them just as easily if they aren’t your cuppa. Singular warning: install ble.shbefore atuin, since atuin will use a different, buggier pre-exec dependency if ble.sh is not present.
Blesh adds a lot of functionality that makes bash feel + act like a fancier neoshell, while keeping the same syntax. Also includes a pre-exec hook, which vanilla bash notably lacks.
Welcome to Lemmy! Sincerely hope you can find some reprieve from your physical circumstances here.
As a friendly heads up, you posted this thread to a tech-related board. Your post may be removed for that reason, but you should consider reposting on a more general comm such as !casualconversation@piefed.social.
On the webpage side, I’d have the login form make a POST to your login endpoint using a basic auth header to pull a JWT that acts as a “real” auth key for other pages.
This is all assuming you want to stick with basic auth as opposed to a more heavyweight option.