Sign inSign up

asanrom/pmv

By asanrom

•Updated 16 days ago

PersonalMediaVault official image

Image
Web servers
Databases & storage
0

7.1K

asanrom/pmv repository overview

⁠Personal Media Vault

Web application to store media files (video, audio and pictures) in an encrypted storage, and visualize them using a web browser.

Repository: https://github.com/AgustinSRG/PersonalMediaVault⁠

⁠Project motivation

This is a personal project developed with the goal of making a media management tool that has a similar web interface to YouTube, while keeping the media files encrypted in disk.

Why encryption?: When storing your personal pictures, videos or audio recordings, if you store them unencrypted in your computer, any malware that is able to infect your device will be able to easily get them from the file system. By encrypting them, it makes harder for those media files to be stolen. Also, by being encrypted, you can easily make backups of them in cloud storage services like Google Drive, without giving Google the ability to peek into your personal media files.

Why a web application?: By making it a web application, its usage becomes very flexible. You can to run the backend in a computer in your LAN or a remote server and you are able to use the app from all the devices connected to the Internet without any extra installation. Also, web interfaces are easier to develop to work in multiple devices and they offer standard features already implemented that are required for the app, like the video player.

⁠Features

  • Support for videos, audios and pictures.
  • Web interface: The project provides a Web interface, allowing the access to the vault from multiple devices and operating systems.
  • Encrypted and easy to back-up storage: The vault is encrypted using the user's password, and is stored in files in a data folder. It's possible to make backups of the vault just by copying the folder, ideal for tools like rsync. This project also provides its own backup tool for doing that.
  • Indexed tags: Each media asset can be tagged, so the user can search for it with a tag based search system.
  • Albums: Media files can be sorted using albums.
  • Media encoding: Media files are encoded into multiple formats in order to allow the playback from multiple browsers. For videos and pictures, they can also be resized into multiple resolutions for different kind of devices.
  • Automated thumbnail generation.
  • Subtitles support for videos and audios.
  • Multiple audio track support for videos
  • Video timeline previews.
  • Video timeline slices.
  • Image annotations.

⁠Docker

In order to pull the image, type:

docker pull asanrom/pmv

To run a personal media vault instance, you can create a container, which is going to run the backend binary inside it.

Here is an example command to create a container:

docker run -p 80:80 -v /path/to/the/vault:/vault asanrom/pmv --daemon --clean --log-requests --vault-path /vault

You can replace /path/to/the/vault for the path where you have your vault stored.

For empty vaults, a default admin, with password admin will be created. You can also override them by changing the environment variables VAULT_INITIAL_USER and VAULT_INITIAL_PASSWORD respectively. You should change the password as soon as you first login into your vault to protect it with a strong password.

For more options, run:

docker run asanrom/pmv --help

Tag summary

Content type

Image

Digest

sha256:da212859c…

Size

352.3 MB

Last updated

16 days ago

docker pull asanrom/pmv