[go: up one dir, main page]

Skip to content

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

License

Notifications You must be signed in to change notification settings

X-FRI/easy-video-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 29.9%
  • Go 28.4%
  • Vue 26.2%
  • SCSS 14.2%
  • CSS 1.2%
  • Dockerfile 0.1%