HomeStream Server is the backend for the HomeStream project.
It lets you stream your media files seamlessly across devices on your local network (or even remotely).
HomeStream is built with Nuxum, a simple and lightweight express server framework. Both projects are open-source and free to use.
- Stream media files to any device
- Easy to set up and configure
- Supports automatic media library updates
To install and run the server from source:
- Clone the repository
git clone https://github.com/ValDesign22/homestream_server.git
cd homestream_server
- Install the dependencies
npm install
- Build the project
npm run build
- Start the server
npm start
To install and run the server from a pre-built release:
- Download the latest release from the releases page
- Extract the files and navigate to the extracted folder
- Install the dependencies
npm install
- Start the server
npm start
You can configure the server using environment variables. Create a .env
file in the root of the project and add the following variables:
APP_STORAGE_PATH=SERVER_STORAGE # Where the server will store the files
FILES_FOLDER=SERVER_FILES # Where the server will look for the files
PORT=PORT # The port the server will listen on
TMDB_API_KEY=YOUR_TMDB_API_KEY # You can get one from https://www.themoviedb.org/documentation/api
WATCH_DIR=SERVER_WATCH_DIR # The directory the server will watch for new files
- Start the server
- Open the client
- Connect to the server
- Enjoy your media
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.