Backend
The backend#
The backend syncs your account across devices: bookmarks, watch progress, history, watchlist groups and settings. That's all it does.
Do I need one?#
No. P-Stream works fully signed out — your watchlist, history and settings are stored in your browser, and nothing is lost as long as you don't clear it.
A backend gets you:
- the same watchlist and progress on your phone and your laptop
- a way to recover everything after clearing browser data
- Watch Party, which needs a server to keep everyone in sync
You can use the one P-Stream ships with, or run your own and point the site at it — there's nothing special about ours.
What it stores#
Account data is encrypted at rest with a key you generate yourself. The backend never sees what you watch beyond the ids you sync to it, and it does not proxy or touch video at all — that's the proxy's job, and the two are completely separate services.
Next: deploy it.