P-Stream's source code (Allegedly)
Find a file
Pas 126d9c0b49 Dont reset inprogress settings when backend loads
useDerived resets its local edit whenever initial changes. When the async loadSettings() completes it updates the store, so initial changes and the effect clears the user's toggle before they click Save. Fixing by: 1) removing the effect in useDerived that clears overwrite when initial changes; 2) calling state.reset() in Settings after applying loaded settings so the form reflects backend values without wiping in-progress edits.
2026-02-20 23:13:48 -07:00
.github prettier 2025-11-07 16:50:35 -07:00
.vscode Apply copilot fixes 2025-12-27 01:25:19 +02:00
plugins prettier 2025-11-07 16:50:35 -07:00
public Update notifications.xml 2026-02-20 21:19:33 -07:00
src Dont reset inprogress settings when backend loads 2026-02-20 23:13:48 -07:00
themes prettier 2026-02-20 20:54:10 -07:00
.dockerignore Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
.editorconfig Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
.eslintrc.cjs prettier 2025-11-07 16:50:35 -07:00
.gitattributes Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
.gitignore Revert "Merge pull request #71 from afyef/feat/skip-source-button" 2025-12-04 11:07:44 -07:00
.npmrc Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
docker-compose.yaml remove Provider API logic and OLD turnstile code 2025-12-27 13:07:32 -07:00
Dockerfile remove Provider API logic and OLD turnstile code 2025-12-27 13:07:32 -07:00
example.env add support for multiple backends 2025-12-27 21:32:22 -07:00
index.html fix random errors 2025-12-06 21:17:19 -07:00
LICENSE.md Add sudo-flix code from github 2024-02-26 10:54:56 -05:00
manifest.json rename 2024-09-19 22:22:40 -06:00
package.json bump version 2026-02-20 20:54:10 -07:00
pnpm-lock.yaml update wyzie-lib 2026-02-07 20:11:56 -07:00
postcss.config.js prettier 2025-11-07 16:50:35 -07:00
prettierrc.js prettier 2025-11-07 16:50:35 -07:00
README.md update discord invite 2026-02-20 08:46:31 -07:00
tailwind.config.ts prettier 2025-11-07 16:50:35 -07:00
tsconfig.json add custom theme 2026-02-20 16:31:07 -07:00
vercel.json Revert "try vercel method" 2025-01-14 16:28:02 -07:00
vite.config.mts add custom theme 2026-02-20 16:31:07 -07:00

P-Stream

P-Stream Image

Quick Deploy

Deploy with Vercel

Deploy to Cloudflare

NOTE: To self-host, more setup is required. Check the docs to properly set up!!!!

Service Link Source Code
P-Stream Docs docs source code
Extension extension source code
Proxy simple-proxy source code
Backend backend source code
Frontend P-Stream source code
Weblate weblate

I provide these if you are not able to host yourself, though I do encourage hosting the frontend.

Referrers

Running Locally

Type the following commands into your terminal / command line to run P-Stream locally

git clone https://github.com/p-stream/p-stream.git
cd smov
git pull
pnpm install
pnpm run dev

Then you can visit the local instance here or, at local host on port 5173.

Updating a P-Stream Instance

To update a P-Stream instance you can type the below commands into a terminal at the root of your project.

git remote add upstream https://github.com/p-stream/p-stream.git
git fetch upstream # Grab the contents of the new remote source
git checkout <YOUR_MAIN_BRANCH>  # Most likely this would be `origin/production`
git merge upstream/production
# * Fix any conflicts present during merge *
git add .  # Add all changes made during merge and conflict fixing
git commit -m "Update p-stream instance (merge upstream/production)"
git push  # Push to YOUR repository

Contact Me / Discord

Discord