libDrive is a media library manager, similar to Plex, that organizes Google Drive folders and offers an intuitive interface to explore them
This repositry (https://github.com/libDrive/libDrive) only serves to display the libDrive project. No source code is displayed on this repositry.
- To access the source code for the backend visit: https://github.com/libDrive/backend
- To access the source code for the frontend visit: https://github.com/libDrive/frontend
- Automatically retreives movie and TV show metadata based on file name
- Movie/TV show synopsis, release date, posters etc. are displayed
- Fast streaming speeds
- User management, to allow multiple accounts
- Search feature to find specific movies/TV shows
- Admin panel UI
- Add transcoding on server side
- Make backend multithreaded
- Stream videos directly to client rather than through server
- Add custom video player able to play complexly encoded videos on desktop app
Use this if a server has already been set up (you have the URL of the libDrive server)
- Windows: To install libDrive download the file titled
libDrive_Desktop_win.exe
from here - Linux: To install libDrive download the latest file titled
libDrive_Desktop_linux.snap
from here
- A Google Developers Console API client credentials
- To make one go to this link
- Then click the
Enable the Drive API
button - Name the project anything you want, then click
Next
- Wait for the page titled
Configure your OAuth client
to show - From the dropdown menu, select
Web Server
- Then under the
Authorized redirect URIs
field, put the following URL:https://libdrive-config.netlify.app
- Keep note of the
client_id
andclient_secret
- A TMDB API key
- Python 3 (this isn't needed for Heroku deployment)
The easiest method is deploying to Heroku, just click the button below and fill in the LIBDRIVE_CONFIG
field with the config
To generate the config, go here and fill in the fields
If you would like to host libDrive some place else (such as a personal computer or server), do the following:
- First make sure you have all the prerequisites
- Now download the latest server version from here. The file name should look like this:
libDrive_Server.zip
- Extract the downloaded zip file then open a termninal in the folder
- In the termninal, run
pip install -r requirements.txt
- Next you need to generate a config
- To generate the config, go here and fill in the fields
- Set the config as the environment variable
LIBDRIVE_CONGIG
- Now your server is ready, to start it run
python main.py
- This is not a production build and will only work locally. To create a production build consider using a WSGI such as Gunicorn (if you're on Windows Gunicorn will not work) and port forwarding