Giter Site home page Giter Site logo

simhaonline / yunshu-nas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itning/yunshu-nas

0.0 0.0 0.0 5.39 MB

自建NAS系统,实现本地视频音频点播,文件存储等功能。自动视频转码,在线观看下载视频!

License: Apache License 2.0

Java 85.35% CSS 12.19% HTML 2.45% Shell 0.01% Dockerfile 0.01% Batchfile 0.01%

yunshu-nas's Introduction

云舒NAS

GitHub stars GitHub forks GitHub watchers GitHub followers

Java CI with Maven GitHub issues GitHub license GitHub last commit GitHub release GitHub repo size in bytes HitCount language


Docker

镜像仓库地址:DockerHub-itning

docker run -d -p 8888:8888 -e MYSQL_URL=mysql8 -e MYSQL_PORT=3306 -e MYSQL_USERNAME=root -e MYSQL_PASSWORD=root --name yunshu-nas itning/yunshu-nas:1.0.0
环境变量 用途 默认值
MYSQL_URL MySQL的地址(不包含端口号) localhost
MYSQL_PORT MySQL的端口号 3306
MYSQL_USERNAME MySQL用户名 root
MYSQL_PASSWORD MySQL密码 root
NAS_FFMPEG_BIN_DIR ffmpeg bin 目录位置 /home/ffmpeg/bin
NAS_OUT_DIR 转码目录位置 /home/tmp
NAS_ARIA2C_FILE aria2c.exe 文件位置
NAS_MUSIC_DIR 音乐文件目录 /home/music_yunshu
NAS_LYRIC_DIR 歌词文件目录 /home/lyric_yunshu

启动脚本(aria2c 可以不用)

nohup java -jar yunshu-nas-0.0.1-SNAPSHOT.jar --nas.ffmpeg-bin-dir=/home/shw/ffmpeg-4.2.1-amd64-static --nas.out-dir=/home/shw/a --nas.aria2c-file=/usr/local/bin/aria2c >log.log 2>&1 &
nohup aria2c --rpc-listen-port 6800 --enable-rpc --rpc-listen-all >aria2c.log 2>&1 &
属性 含义 例子
nas.ffmpeg-bin-dir Ffmpeg 所在目录 --nas.ffmpeg-bin-dir=/home/shw/ffmpeg-4.2.1-amd64-static
nas.out-dir HLS视频输出目录 --nas.out-dir=/home/shw/a
nas.aria2c-file aria2c文件全路径 --nas.aria2c-file=/usr/local/bin/aria2c
nas.music-file-dir 音乐文件目录 --nas.music-file-dir=/home/music

实现功能

  • 点播视频文件

  • 点播音频文件 Angular版本 Electron版本

  • 文件分布式存储

  • 远程下载

  • 图片在线查看

  • 提供ftp服务

  • 资料加密

  • axel 下载支持

截图

感谢

yunshu-nas's People

Contributors

itning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.