GithubHelp home page GithubHelp logo

x-fri / easy-video-net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suanju/easy-video-net

1.0 0.0 0.0 18.92 MB

A video bullet screen developed based on gin + vue3, with video, column, live broadcast, im and other functions

License: MIT License

Go 28.43% TypeScript 29.88% CSS 1.18% HTML 0.04% Vue 26.22% Dockerfile 0.05% SCSS 14.20%

easy-video-net's Introduction

easy-video-net

Golang + Vue编写的视频弹幕网,支持视频,专栏 ,直播 ,im等功能

预览

体验地址 easy-video

image-20230419151645612 image-20230419151937238 image-20230419151819626 image-20230419151958183 image-20230419152335308 image-20230419151844222

简介

easy-video-net 是基于Golang + Vue开发的前后端分离项目

  • Server端采用 Golang + Gin + Gorm
  • Web端采用 Vue3 + Typescript + Element-Plus

主要模块

  1. 视频上传分享支持转码及弹幕功能
  2. 稿件投稿使用富文本编辑器进行简单发布
  3. 一个简单直播功能 需要使用livego搭建直播服务
  4. 简单的消息通知 及其im功能
  5. 个人相关及其相关发布信息的CRUD

特点

  • 上传支持 不用存储、 不同质量、 实现本地及阿里云oss存储、 支持分片上传、 断点续传、 oss直传
  • 视频本地存储使用ffmpeg进行视频转码 , oss使用阿里云智能媒体转码
  • 简单实现直播功能并且采用protobuf进行通信

项目结构

easy-vide-net
├─service 服务端代码
│  ├─assets 静态资源
│  ├─config 配置文件
│  ├─consts 常量定义
│  ├─controllers 控制器
│  ├─global 全局使用
│  ├─interaction 结构体定义
│  │  ├─receive   请求  
│  │  └─response   响应
│  ├─logic  逻辑处理
│  ├─middlewares 中间件
│  ├─models  模型定义
│  ├─proto   proto文件
│  ├─router   路由定义
│  ├─runtime 运行时文件如日志
│  └─utils 工具类
│              
└─web
    │  .env  配置文件
    └─src
        ├─apis 接口定义
        ├─assets 静态资源
        ├─components 组件
        ├─hooks 
        ├─logic 逻辑代码
        ├─proto proto文件
        ├─router 路由定义
        ├─store 状态管理
        ├─types 类型定义
        ├─utils 工具类
        └─views 视图文件

构建 || 运行

依赖

  • Server端依赖

    1. golang v1.18
    2. mysql v8.0
    3. reids v3.0
    4. ffmpeg v4.2
  • Web端依赖

    1. node v16.16

Server端构建 || 运行

  1. 配置 ./service/config/config.ini
  2. cd service && go mod tidy
  3. go build
  4. ./easy-video-net.exe

Web端构建 || 运行

  1. 配置 ./web/.env
  • cd web && npm i
  • npm run dev

License

The MIT License (MIT)

Copyright (c) 2023 saunju

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

easy-video-net's People

Contributors

muqiuhan avatar suanju avatar

Stargazers

 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.