P-Stream's source code (Allegedly)
Find a file
aq bf14a85f34 feat: add skip source button during scraping
Implement user-initiated source skipping functionality:
- Add skipCurrentSource function to abort current source and all its embeds
- Create AbortController per source and propagate through provider stack
- Mark skipped sources and embeds with 'skipped' status
- Add skip button to scraping UI with translation support
- Filter out skipped source results in PlayerView to prevent playback
- Add fallback to direct fetch when proxy URL is unavailable
- Track failed sources and embeds in player store
- Add 'skipped' status type to ScrapeCard component

Technical details:
- AbortController is created per source in startEvent callback
- Signal is dynamically retrieved via wrapper functions
- Skipped sources continue to next source without showing error screen
- Skip button is passed through component hierarchy via callbacks
- Resume from specific source maintains skip state between attempts

Resolves user ability to manually skip slow or failing sources during media scraping
2025-12-04 01:02:20 +04:00
.github
.vscode
plugins
public Update notifications.xml 2025-12-02 18:37:02 -07:00
src feat: add skip source button during scraping 2025-12-04 01:02:20 +04:00
themes add frost and christmas themes 2025-12-01 15:00:08 -07:00
.dockerignore
.editorconfig
.eslintrc.cjs
.gitattributes
.gitignore chore: ignore local-libs directory 2025-12-03 22:13:17 +04:00
.npmrc
docker-compose.yaml
Dockerfile
example.env Revert "trakt stuff" 2025-11-16 12:48:28 -07:00
index.html
LICENSE.md
manifest.json
package.json bump version 2025-12-01 19:10:20 -07:00
pnpm-lock.yaml update providers 2025-12-01 15:43:58 -07:00
postcss.config.js
prettierrc.js
README.md
tailwind.config.ts
tsconfig.json
vercel.json
vite.config.mts fix: allow Vite to serve files from linked providers directory 2025-12-03 22:18:42 +04: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