diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 1d1587f0..f43ad3c7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -5,15 +5,17 @@ Thank you for investing your time in contributing to our project! Your contribut
Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
## Contents
- - [New Contributor Guide](#new-contributor-guide)
- - [Requesting a feature or reporting a bug](#requesting-a-feature-or-reporting-a-bug)
- - [Discord Server](#discord-server)
- - [GitHub Issues](#github-issues)
- - [Before you start](#before-you-start)
- - [Contributing](#before-you-start)
- - [Recommended Development Environment](#recommended-development-environment)
- - [Tips](#tips)
- - [Language Contributions](#language-contributions)
+- [Contributing Guidelines for movie-web](#contributing-guidelines-for-movie-web)
+ - [Contents](#contents)
+ - [New contributor guide](#new-contributor-guide)
+ - [Requesting a feature or reporting a bug](#requesting-a-feature-or-reporting-a-bug)
+ - [Discord Server](#discord-server)
+ - [GitHub Issues](#github-issues)
+ - [Before you start!](#before-you-start)
+ - [Contributing](#contributing)
+ - [Recommended Development Environment](#recommended-development-environment)
+ - [Tips](#tips)
+ - [Language Contributions](#language-contributions)
## New contributor guide
diff --git a/Dockerfile b/Dockerfile
index 5923db79..cc9b84be 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,10 +8,6 @@ COPY package.json ./
COPY pnpm-lock.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
-ARG PWA_ENABLED="false"
-
-ENV VITE_PWA_ENABLED=${PWA_ENABLED}
-
COPY . ./
RUN pnpm run build
diff --git a/README.md b/README.md
index 29afdbcd..53f22424 100644
--- a/README.md
+++ b/README.md
@@ -1,67 +1,15 @@
+# Sudo-Flix
+Sudo-Flix is a mirror of [Movie-Web](https://github.com/movie-web/movie-web) with some changes...
-
-
-
-
-
- 🔵 discord 🟢 docs
-
-
-
-# ⚡What is movie-web?
-
-movie-web is a web app for watching movies easily.
-
-This service works by displaying video files from third-party providers inside an intuitive and aesthetic user interface.
-
-# 🔥Features
-
-- Automatic saving of progress - optionally synced to an account.
-- Bookmark shows or movies, keep track of what you want to watch.
-- Minimalistic interface that only shows whats required - no algorithm to consume you.
-
-## 🍄 Philosophy
-
-This project is meant to be simple and easy to use. Keep features minimal but polished.
-We do not want this project to be yet another bulky streaming site, instead it aims for minimalism.
-
-On top of that, hosting should be as cheap and simple as possible. Just a static website with a proxy, with an optional backend if you want cross-device syncing.
-
-Content is fetched from third parties and scraping is fully done on the client. This means that the hoster has no files or media on their server. All files are streamed directly from the third parties.
-
-## ⚠️ Limitations
-
-- Due to being a static site, there can be no SSR
-- To keep it cheap to host, amount of proxied requests need to be kept to a minimum
-- Also to keep it cheap, no content must ever be streamed through the proxy. So only streams not protected by CORS headers.
-
-# 🧬 Running locally for development
-
-To run locally, you must first clone the repository. After that run the following commands in the root of the repository:
+## Running Locally
+Type the following commands into your terminal / command line to run Sudo-Flix locally
```bash
+git clone https://gitlab.com/itzCozi/sudo-flix.git
+cd sudo-flix
+git pull
pnpm install
pnpm run dev
```
-You have to also make an `.env` file to configure your environment. Inspire it from the content of `example.env`.
-
-To build production files, run:
-```bash
-pnpm build
-```
-
-> [!TIP]
-> You must use pnpm (`npm i -g pnpm`) and run NodeJS 20
-
-# 🥔 Selfhosting
-
-A simple guide has been written to assist in hosting your own instance of movie-web. Check it out below
-
-|[Selfhosting guide](https://movie-web.github.io/docs)|
-|---|
-
-## 🤝 Thanks to all Contributors
-This project would not be possible without our amazing contributors and the community. Thanks a lot! Keep rocking 🍻.
-
-[![Contributors](https://contrib.rocks/image?repo=movie-web/movie-web)](https://github.com/movie-web/movie-web/graphs/contributors)
-
+## Contributing
+If you want to contribute to this project, you can fork the repository and make a pull request.
diff --git a/package.json b/package.json
index 8031308c..9389abee 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
- "name": "movie-web",
+ "name": "sudo-flix",
"version": "4.5.0",
"private": true,
- "homepage": "https://github.com/movie-web/movie-web",
+ "homepage": "https://sudo-flix.lol",
"scripts": {
"dev": "vite",
"build": "vite build",
@@ -123,8 +123,7 @@
"vite-plugin-package-version": "^1.1.0",
"vite-plugin-pwa": "^0.17.4",
"vite-plugin-static-copy": "^1.0.0",
- "vitest": "^1.1.0",
- "workbox-window": "^7.0.0"
+ "vitest": "^1.1.0"
},
"pnpm": {
"overrides": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2ded1fb4..97b59603 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -302,9 +302,6 @@ devDependencies:
vitest:
specifier: ^1.1.0
version: 1.1.0(@types/node@20.10.5)(jsdom@23.0.1)
- workbox-window:
- specifier: ^7.0.0
- version: 7.0.0
packages:
diff --git a/public/config.js b/public/config.js
index a0681d06..627b0f45 100644
--- a/public/config.js
+++ b/public/config.js
@@ -1,10 +1,9 @@
window.__CONFIG__ = {
// The URL for the CORS proxy, the URL must NOT end with a slash!
- // If not specified, the onboarding will not allow a "default setup". The user will have to use the extension or set up a proxy themselves
- VITE_CORS_PROXY_URL: "",
+ VITE_CORS_PROXY_URL: "https://sudo-proxy.netlify.app", // https://mweb-proxy.up.railway.app
// The READ API key to access TMDB
- VITE_TMDB_READ_API_KEY: "CHANGEME",
+ VITE_TMDB_READ_API_KEY: "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJiZmU0OGY4NjFkY2NmMjczMzUyMDdmMWVjYmVkNjNjNiIsInN1YiI6IjY1YjNmMWI0NTk0Yzk0MDE2MzNkZDBjNSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.GiCKswc2u9NraBbujm0ykI5G3p-K9WJoHg40jYbFv4o",
// The DMCA email displayed in the footer, null to hide the DMCA link
VITE_DMCA_EMAIL: null,
@@ -12,8 +11,8 @@ window.__CONFIG__ = {
// Whether to disable hash-based routing, leave this as false if you don't know what this is
VITE_NORMAL_ROUTER: false,
- // The backend URL to communicate with
- VITE_BACKEND_URL: null,
+ // The backend URL to communicate with, defaults to the movie-web hosted one at backend.movie-web.app
+ VITE_BACKEND_URL: "https://sudo-flix-backend.up.railway.app",
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-" and "movie-"
VITE_DISALLOWED_IDS: ""
diff --git a/public/flixico.jpg b/public/flixico.jpg
new file mode 100644
index 00000000..ef5127cc
Binary files /dev/null and b/public/flixico.jpg differ
diff --git a/src/assets/templates/opensearch.xml.hbs b/src/assets/templates/opensearch.xml.hbs
index e0ce3a5a..da580b46 100644
--- a/src/assets/templates/opensearch.xml.hbs
+++ b/src/assets/templates/opensearch.xml.hbs
@@ -1,5 +1,5 @@
- movie-web
+ sudo-flix
The place for your favorite movies & shows
UTF-8
diff --git a/vite.config.mts b/vite.config.mts
index 264871b0..550ecfc0 100644
--- a/vite.config.mts
+++ b/vite.config.mts
@@ -66,9 +66,9 @@ export default defineConfig(({ mode }) => {
"safari-pinned-tab.svg",
],
manifest: {
- name: "movie-web",
- short_name: "movie-web",
- description: "The place for your favourite movies & shows",
+ name: "sudo-flix",
+ short_name: "sudo-flix",
+ description: "A mirror of movie-web",
theme_color: "#120f1d",
background_color: "#120f1d",
display: "standalone",