GithubHelp home page GithubHelp logo

sussy-code / smov Goto Github PK

View Code? Open in Web Editor NEW
546.0 8.0 534.0 10.95 MB

Sudo-flix's source code (Allegedly)

Home Page: https://docs.undi.rest

License: MIT License

JavaScript 0.55% Dockerfile 0.17% HTML 1.28% TypeScript 97.10% CSS 0.87% Handlebars 0.04%
free-software open-source

smov's Introduction

Sudo-Flix

Sudo-Flix Image

I do not endorse piracy of any kind I simply enjoy programming and large user counts.

Links And Resources

Service Link Source Code
Sudo-Flix Docs sudo-docs source code
Extension extension source code
Proxy sudo-proxy source code
Backend sudo-backend source code
Frontend sudo-flix source code
Weblate sudo-weblate source code

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 Sudo-Flix locally

git clone https://github.com/sussy-code/smov.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 sudo-flix Instance

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

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

Contact Me

Email: [email protected]

smov's People

Contributors

akumaaayush avatar atomiciscool avatar binaryoverload avatar blikje7up avatar castdrian avatar dxnsav avatar frost768 avatar itzcozi avatar jameshawkinss avatar jipfr avatar jordaar avatar jorrinkievit avatar joshheng avatar kuba03099 avatar lem6ns avatar mansoor-roeen-glitch avatar monstorix avatar mrjvs avatar n1cklim avatar pasithea0 avatar patelka2211 avatar pyr33x avatar qtchaos avatar returnkirbo avatar spinixster avatar stive99 avatar teaishealthy avatar weblate avatar zisra avatar ztpn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smov's Issues

[Feature]: Type lables

What feature do you want to add?

Lables in the corner of the poster indicating whether the media is hd, ts,.or a cam.

Why do you want to have this feature?

This site/build is great for many reasons. However, I also prefer to have a good viewing experience. While some are fine with whatever content is available, cams are worse when compared to an hd file. The only problem is that the site doesn't directly indicate whether the content is what type.

Any other details to share?

No response

Captcha not working on website

What happened?

Been trying to watch since this morning but your catcha system isn't working it keeps kicking me off and logging me out or just won't load at all not been asked to do one before today but I'm definitely human please fix asap

What browsers are you seeing the problem on?

Chrome

Steps to reproduce?

No response

Other relevant information

No response

[Bug]: Cloudflare infinite loop on lg tv webOS

What happened?

Hi, fantastic site!
Cloudflare and the site work great on my iPhone however when I try on my LG TV using the built in browser, I’m stuck in an infinite ‘are you human’ loop with Cloudflare.
Browser: NetCast on Linux
WebOS

One of the comments on the Cloudflare forum said that the website owner might need to check a setting as you might be blocking it

I also tried with your other mirror site and same issue unfortunately

IMG_9964

What browsers are you seeing the problem on?

Other (tell us in input box below)

Steps to reproduce?

  1. Gone to the site on my tv and am immediately hit with the verify human thing that just keeps refreshing

Other relevant information

No response

[Feature]: Bring back the extension.

What feature do you want to add?

Bring back the extension. It sucks to see that it got DMCA'd, but GPLv3 is a hydra, and we need to prove that. Trolls get trolled.

Why do you want to have this feature?

To make sudo-flix work like it used to.
(You're pretty much the only Git mirror left, you fared better than Citra, to say the least, and I hate trolls.)

Any other details to share?

I have the Firefox version of the extension installed.
Don't put it on web stores, that'll get it copyright trolled. Maybe get a torrent started, to keep the hydra. (lol) Require people to install it manually similar to AdNauseam.

Also, I don't think it's a good idea to keep the old branding, because you might get trolled. Make it look different or smth idk. At the very least, change the icon.

Also, Netflix might try to troll you for "flix" being in the name. It'd probably be frivolous, but fighting big corporations costs lots of money, money we don't have.

The king is dead, long live the king!

[Bug]: NSBX server error

What happened?

The server is now very unstable and it shows error most of the time actually every time

What browsers are you seeing the problem on?

No response

Steps to reproduce?

No response

Other relevant information

No response

[Feature]: info button that links to tmbd

What feature do you want to add?

I put this together. Can pr if interested
The clickable area is larger for touch input devices.

Screen.Recording.May.2.mp4

Why do you want to have this feature?

because is nice

Any other details to share?

No response

[Feature]: Watched list

What feature do you want to add?

well.. list of stuff you already watched similar to "favorite" thing

Why do you want to have this feature?

Because it would be cool to replace shitty IMDB to proper, cool-looking, amazing and funny site

Any other details to share?

maybe i am dumb and it is already here but like when you local host it, but if not then would be really glad if added :)

[Feature]: Move the repository to https://codeberg.org/

What feature do you want to add?

Due to copyright issues, movie-web has been disabled by GitHub.

Why do you want to have this feature?

Codeberg is a non-profit, community-led organization that aims to help free and open source projects prosper by giving them a safe and friendly home.

Any other details to share?

No response

[Bug]: Manifest.json 403 Forbidden

What happened?

Tried adding the app to homescreen with chrome which even supports the option for apps without a manifest.json. So it was weird to me that this wasn't available at all for your app (great app btw). Looked into the network panel and saw the manifest.json file being requested but the server was returning a 403. When I open the URL in a separate tab however the manifest loads fine. Judging by the fact your app is cloudflare protected I'm willing to bet this a cloudflare config issue. Not a cloudflare user so I won't be much help there. Anyways thanks.

What browsers are you seeing the problem on?

No response

Steps to reproduce?

Issue can be reproduced by either visiting the application or simply sending a request to https://pseudo-flix.pro/assets/manifest-CuRP_CD7.json via postman or other similar HTTP client.

Other relevant information

image

[Feature]: Button to skip to next source

What feature do you want to add?

A new button to skip to the next source to help with frozen sources.

Why do you want to have this feature?

Because is nice

Any other details to share?

I can't figure it out :(

Reorder sources

What feature do you want to add?

Rip movie web
But this is a must have

Why do you want to have this feature?

Qol

Any other details to share?

No response

[Feature]: Bookmarks from card?

What feature do you want to add?

Add button to bookmark without having to start the video to bookmark.a

Why do you want to have this feature?

nice

Any other details to share?

No response

[Bug]: Keyboard navigation conflicting with video playback.

What happened?

While pressing tab to use keyboard navigation and select the pause button, pressing spacebar will trigger the keyboard event which conflicts with the button click event, therefore causing it to pause and resume.

Desktop.2024.06.20.-.12.18.52.02.mp4

What browsers are you seeing the problem on?

Chrome

Steps to reproduce?

Press tab until you're hovering over the pause button, then click the spacebar.

Other relevant information

No response

[Bug]: Repeated cloudflare checks during streaming!

What happened?

During streaming of any media on any server, I get the "Are you a robot?" pop up every few minutes. This destroys any immersion, its utterly annoying and altogether completely ruins the experience. ! image

What browsers are you seeing the problem on?

Other (tell us in input box below)

Steps to reproduce?

No response

Other relevant information

I am using Brave with the movie-web extension.

[Bug]: Logins not persistent when adding site as an iOS home screen shortcut

What happened?

After adding the site to my iOS home screen, I can log in and the site works fine, but if I close and reopen it, I am logged out and forced to log back in. Expected behavior is to stay logged in between sessions.

What browsers are you seeing the problem on?

Safari

Steps to reproduce?

  1. In iOS safari, open the site, click the share icon, scroll down, and press "Add to Home Screen".
  2. Open the "app" that is created and log in as usual.
  3. Close and reopen the app.

Other relevant information

No response

[Bug]: Can't login. GET or POST fail.

What happened?

I'm using latest Brave Browser. Shields are turned off on Sudo-flix. I'm using an official instance with official backend.

When trying to login with the 12 word password and name, it takes some time loading but fails. The error code is the following.

[GET] "https://backend.sudo-flix.lol/users/xxxxxxxxxxxx/progress": Failed to fetch

I tried logging in before filing these issue and the error was a POST one.

Thank you!

What browsers are you seeing the problem on?

Chrome, Other (tell us in input box below)

Steps to reproduce?

  1. Open Sudo-flix on Brave Browser
  2. Select "Cloud synchronization"
  3. Input your 12 word and name
  4. Click on "Login"
  5. Login fails with either GET or POST "Couldn't fetch".

Other relevant information

No response

[Bug]: No Airplay for video in IOS

What happened?

I used to airplay my series to my roku but now it only sends the audio, i don't know it this is intended or was a block by apple but it just happened a few weeks ago

What browsers are you seeing the problem on?

Safari ios, Google Ios App

Steps to reproduce?

Open any content and try to use the tv icon to use airplay

Other relevant information

No response

[Bug]: Last 30s of episode is skipped

What happened?

The last 30s of every episode is skipped, haven't been able to find a cause on my end. Tried using Firefox (default browser with uBlock Origin) and also tried vanilla Edge with no add-ons, but the issue still occurred.

What browsers are you seeing the problem on?

Firefox, Microsoft Edge

Steps to reproduce?

  1. Press play on an episode
  2. Wait or seek to the end of the episode
  3. Auto-skips last 30s (give or take) of episode

Other relevant information

No response

[Bug]: Have to login everytime I restart my browser

What happened?

When I watch something on my selfhosted instance I get logged out when I close my browser.

What browsers are you seeing the problem on?

No response

Steps to reproduce?

  1. log in
  2. close your browser
  3. revisit the webiste

Other relevant information

With movie-web I have not encountered this issue.
Would be great if I stayed logged in.

[Feature]: User whitelist

What feature do you want to add?

Would there be a way to add who we can whitelist to access the site, or pre-generate id's? Along with disabling search on main page if not logged in.

Why do you want to have this feature?

So not everyone can just access my own instance.

Any other details to share?

No response

[Feature]: Publish images to ghcr for frontend sussy-code/smov for easier docker-compose setup

What feature do you want to add?

With movie-web, it was possible to design a docker-compose setup pointing to the ghcr build image of the movie-web frontend itself, as well as the backend and proxy - see below. It would be great to have access to a build of sussy-code/smov the `sussy-code/smov docker image for the frontend, the same way it is done for the backend and proxy for the other 2 sussy-code repos.

 movieweb-frontend:
   image: ghcr.io/movie-web/movie-web 
   container_name: movieweb-frontend
   image: ghcr.io/movie-web/movie-web 
   ports:
     - 80:80
   volumes: 
     - /movieweb/config.js:/usr/share/nginx/html/config.js
   restart: always

Why do you want to have this feature?

Some configurations require installing git on host and portainer container or result in the error exec: "git": executable file not found in $PATH. Using a container image for the frontend would resolve that problem.

Any other details to share?

No response

[Bug]: Cannot create new account (selfhosted)

What happened?

When I try to create a new account on my selfhosted instance I get the following error:
image

What browsers are you seeing the problem on?

Chrome

Steps to reproduce?

  1. Create a new instance (using docker)
  2. Try to create a new account

Other relevant information

Docker compose file:

services:
  frontend:
    image: ghcr.io/sussy-code/smov:latest
    environment:
      TMDB_READ_API_KEY: ${TMDB_READ_API_KEY}
      CORS_PROXY_URL: ${CORS_PROXY_URL}
      BACKEND_URL: ${BACKEND_URL}
    restart: unless-stopped
    ports:
      - "127.0.0.1:8855:80"
    depends_on:
      - backend
      - proxy

  proxy:
    image: ghcr.io/sussy-code/sudo-proxy:latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:8856:3000"

  backend:
    image: ghcr.io/sussy-code/backend:latest
    restart: unless-stopped
    environment:
      MWB_POSTGRES__CONNECTION: postgresql://${DATABASE_USER}:${DATABASE_PASSWORD}@postgres:5432/${DATABASE_NAME}
      MWB_CRYPTO__SESSION_SECRET: ${SESSION_SECRET}
      MWB_META__NAME: ${META_NAME}
      MWB_SERVER__CORS: ${SERVER_CORS}
      MWB_SERVER__ALLOW_ANY_SITE: "true"
      MWB_POSTGRES__MIGRATE_ON_BOOT: "true"
      MIKRO_ORM_MIGRATIONS_DISABLE_FOREIGN_KEYS: "true"
    ports:
      - "127.0.0.1:8857:80"
    depends_on:
      postgres:
        condition: service_healthy

  postgres:
    image: postgres:16.2-alpine3.19
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${DATABASE_USER}
      POSTGRES_DB: ${DATABASE_NAME}
      POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
    volumes:
      - postgres-data:/var/lib/postgresql/data
    healthcheck:
      test: [ "CMD-SHELL", "sh -c 'pg_isready -U ${DATABASE_USER} -d ${DATABASE_NAME} || exit 1'" ]
      interval: 10s
      timeout: 3s
      retries: 3

volumes:
  postgres-data: ~

[Feature]: Stream Local Files

What feature do you want to add?

if no source works with the current movie or TV show, there should be a button to browse local files and choose a video, and in the sources too there should be a button to choose.
There could also be a button in the landing page (home) to browse.

Why do you want to have this feature?

beacause the video player of mw is really good and i don't like any other video player

Any other details to share?

no.

[Bug]: Wrong cd directory in readme

What happened?

cd sudo-flix should be cd smov in:

git clone https://github.com/sussy-code/smov.git
cd sudo-flix
git pull
pnpm install
pnpm run dev

What browsers are you seeing the problem on?

No response

Steps to reproduce?

No response

Other relevant information

No response

[Bug]: inaccessible

What happened?

Are we down?

What browsers are you seeing the problem on?

No response

Steps to reproduce?

Visit the website

Other relevant information

No response

what is failed to verify your humanity

i setuo my proxy on cloudflare but there are 2 which is one is named simple proxy another is the one i created in the documentation and the cilent i hosted it in vercel

[Bug]: Captcha token is invalid

What happened?

I have used your backend server on my frontend and here is what users have

image
image
image

What browsers are you seeing the problem on?

No response

Steps to reproduce?

No response

Other relevant information

No response

[Feature]: Search by IMDb id

What feature do you want to add?

It would be nice if we could search by imdb id.

Why do you want to have this feature?

To be able to directly open desired page.

Any other details to share?

No response

[Feature]: Proxy NSBX and spoof the origin header

What feature do you want to add?

Currently NSBX doesn't work with a self-hosted frontend. This is because the request is sent straight to NSBX and not proxied. Even then, if the request was proxied it would need to set the origin header to https://sudo-flix.lol.

I've tested this locally with curl and unless the origin header is set to https://sudo-flix.lol, I get a 521.

Why do you want to have this feature?

NSBX is great.

If this is something you'd be open to, happy to open a PR. I think it would require a PR first to https://github.com/sussy-code/providers and then here.

Please correct me if I'm wrong. Thanks!

Any other details to share?

No response

[Bug]: When the video is on full screen and the playback bar disappears, the subtitles also disappear

What happened?

If I turn on the video and select subtitles from the menu and put full screen and then wait for the playback bar to disappear, the subtitles disappear too. I have to have my mouse on the playback bar to see the subtitles throughout the show.

My player setting: image

What browsers are you seeing the problem on?

Other (tell us in input box below)

Steps to reproduce?

No response

Other relevant information

I use Brave Browser Version 1.67.123 Chromium: 126.0.6478.126

Dubbed Audios

What feature do you want to add?

There is no hindi dubbed audio track for English movies like iron man Twilight etc.

Why do you want to have this feature?

I am Indian so I need this

Any other details to share?

No response

Unable to access outside of server

I have installed on ubuntu erver 24.10 standard but unable to access it in a browser on a computer.
pnpm run dev seems to work but i dont get access when i run it in a browser on another computer

Then I try pnpm run dev --listen and get the error below

[email protected] dev /root/smov
vite "--listen"

file:///root/smov/node_modules/.pnpm/vite@5.2.11_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:442
throw new CACError(Unknown option \${name.length > 1 ? --${name} : -${name}}``);
^

CACError: Unknown option --listen
at Command.checkUnknownOptions (file:///root/smov/node_modules/.pnpm/vite@5.2.11_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:442:17)
at CAC.runMatchedCommand (file:///root/smov/node_modules/.pnpm/vite@5.2.11_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:640:13)
at CAC.parse (file:///root/smov/node_modules/.pnpm/vite@5.2.11_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:579:12)
at file:///root/smov/node_modules/.pnpm/vite@5.2.11_@types[email protected][email protected]/node_modules/vite/dist/node/cli.js:923:5
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)

Node.js v22.3.0
 ELIFECYCLE  Command failed with exit code 1.
root@sudoflix:~/smov#

[Feature]: API

What feature do you want to add?

A simple GET or POST api to be able to get links to movies.

Why do you want to have this feature?

to make addons to kodi, or standalone apps, or so many other things.

Any other details to share?

it would be nice if you could do something like "curl api.sudo-flix.lol/search/The-truman-show" to get a link back to the truman show (the movie)

Bug:

What happened?

Failed a humanity verification

What browsers are you seeing the problem on?

No response

Steps to reproduce?

Cant watch anything

Other relevant information

No response

[Bug]: Full-screen button doesn't launch the landscape player

What happened?

On android (chrome), clicking on the fullscreen button in the player does not make the player go landscape, instead it plays in portrait mode. You have to rely on Android's auto-rotate feature.

What browsers are you seeing the problem on?

Chrome

Steps to reproduce?

  1. Launch a video
  2. Click fullscreen
  3. Watch it go go fullscreen but play in portrait mode

Other relevant information

No response

[Feature]: AMOLED theme

What feature do you want to add?

Add AMOLED theming for those who have AMOLED devices!

Why do you want to have this feature?

To enrich the viewing experiences on said devices!

Any other details to share?

viva sudo-flix

[Bug]: Frontend docker doesn't work

What happened?

Jun 02 21:31:12 nuc systemd[1]: Started movie_web.service - movie_web.
Jun 02 21:31:13 nuc docker-compose[513112]: Creating network "movie_web_default" with the default driver
Jun 02 21:31:13 nuc docker-compose[513112]: Building movieweb
Jun 02 21:31:13 nuc docker-compose[513166]: unable to prepare context: unable to 'git clone' to temporary context directory: error fetching: fatal: couldn't find remote ref master
Jun 02 21:31:13 nuc docker-compose[513166]: : exit status 128
Jun 02 21:31:13 nuc docker-compose[513112]: Service 'movieweb' failed to build : Build failed

What browsers are you seeing the problem on?

No response

Steps to reproduce?

No response

Other relevant information

No response

[Feature]: Add more playback speed options

What feature do you want to add?

0.75x and 1.25x speed buttons and editing of speed using keyboard

Why do you want to have this feature?

Currently, there is only a 1.5x and 2.0x speed option. 1.5x is too fast to watch anything comfortably. So, there should be a 1.25x speed button, and a way to edit the speed using the keyboard.

Any other details to share?

No response

[Bug]: Vidsrc to error occurred

What happened?

i have tried multiple times in the past few hours but no luck whenever i try to watch a season it says we couldnt find that i kn
ow for a fact its in vidsrc to since i watched it yesterday but idk why today it doesnt even check vidsrc to just says error eccoured

image

What browsers are you seeing the problem on?

google chrome

Steps to reproduce?

No response

Other relevant information

No response

[Bug]: Seekbar is completely broken on edge (hyperOS) when using NSBX

What happened?

When using the NSBX source in edge on HyperOS, the Seekbar is always all the way and only ever says 00:00. It works on other sources but not with NSBX.
Screenshot_2024-07-04-10-52-47-293_com microsoft emmx

What browsers are you seeing the problem on?

No response

Steps to reproduce?

Open Sudo flix with edge.
Use the NSBX source.

Other relevant information

This Seekbar bug has been happening even back since the movie-web days.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.