Skip to content

hicugi/network-media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Media

Go

Idea

Transforms your device into server and shares your media folder across local network by web.

Motivation

Installing stuff like Plex and going through all those setting up steps takes a lot of time.
Would be much easier just run a app and everything ready to go live on TV.

Quick Start

  1. Download the medianetwork execution file
  2. Move the medianetwork into directory where media files located
  3. Run the app

Usage

Open borwser on any device and type the address of your server.

Contributing

  1. Install Go v1.14.1
  2. Run the command in the root of the project go build
  3. Move the medianetwork into directory where media files located

The server will be running on port :8000 in the background.
You can check your local IP by next command ifconfig | grep RUNNING -A 1 and open it in your device.
Be sure to connect in the same network and don't forget to add the PORT :8000.
Example of the URL: http://192.168.0.100:8000/. Replace the 192.168.0.100 with your server's local IP.

Requirements

  • User should be able to run executable binary file on his server (for now Ubuntu linux/amd64)
  • A folder, where the binary file located will be shared by network
  • Devices in the same network can open a Web page in a browser and play videos (for now)

Approach

  • Use net/http to run web server
  • Scan the folder where is the app is running (skip sub folder for now)
  • Look for all .mp4 (for now) video files in root of the binary file
  • Display list of the files in browser
  • Check if it is accessible on other devices
  • Update the README doc for step by step instruction - how to run the project

Extra features when the main approach is finished

  • Scan sub filders
  • Add .mkv format for video files. Check for other formats
  • Make the binary build for Windows 10/11
  • Scan for images (.jpg, .jpeg, .png, .gif) and add gallery UI
  • Scan for audio files and add music player

Inspired project for hackathon by [Boot.Dev](https://www.boot.dev/)

About

Watch media by network across multiple devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published