Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barrymun/lanflix
A full-stack video streaming app that is designed to run inside a docker container on a home server
https://github.com/barrymun/lanflix
docker expressjs radix-ui react tailwindcss typescript webpack
Last synced: 10 days ago
JSON representation
A full-stack video streaming app that is designed to run inside a docker container on a home server
- Host: GitHub
- URL: https://github.com/barrymun/lanflix
- Owner: barrymun
- License: mit
- Created: 2024-02-20T14:38:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-11T19:26:00.000Z (10 months ago)
- Last Synced: 2024-11-07T00:27:11.605Z (2 months ago)
- Topics: docker, expressjs, radix-ui, react, tailwindcss, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 1.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lanflix
A full-stack video streaming app that is designed to run inside a docker container on a home server. Just run the setup, add the environment files, install nginx as a reverse proxy on your home server and you can now stream your movies from your home server to any device connected to the network.
## Screenshots (mobile)
### Directories found within your provided root directory:
### Directories dark mode:
### Movies:
## To get started execute the following command:
```bash
yarn run setup
```## Support
Currently only supports `.mp4` format.
## Config files
- Create a `.env` file with the following vars:
- `MEDIA_DIRECTORY`: The root directory where your movies are located on your machine.
- Create a `server/.env` file with the following vars:
- `CORS_ORIGIN`: `http://`
- `OMDB_API_KEY` (optional): Gathers poster data if one does not exist for the current movie in the current directory. An image with the same name of the movie will be written to that directory and used by the client when displaying the poster. You can apply for an API key here: https://www.omdbapi.com/.
- Create a `client/.env.production` file with the following vars:
- `REACT_APP_API_URL`: `http://:3001`
- A `client/.env.development` file can be created if you are working locally.# Start the app (requires Docker)
```bash
yarn run docker-up
```## TODO
- [x] document adding `env.<>` files to the README
- [x] better management of installed packages for docker cache layer (so that `yarn install` doesn't install all the packages again)
- [x] i18n
- [ ] support subtitles
- [x] better support for mobile (with hamburger menu) (wip - lots to add)
- [ ] editable directories and files
- [x] spellcheck (cspell)
- [ ] add support for additional formats