Giter Site home page Giter Site logo

kled_nas's Introduction

一个基于Nodejs 计划使用Koa2 + Typescript + typeorm + socketIo的一个简易nas服务系统。

Vue3+Typescript的PC浏览器端在这 基于electron的PC客户端在这 基于Flutter的移动客户端在这

计划实现功能

  • 用户登录
  • 文件存取管理 断点上传下载
  • 音频播放器
  • 视频播放器
  • 远程下载

写代码的过程日记

2022.04.08

很早就有这个想法, 之前要了公网ip, 现在封城在家无聊开整吧。算是对nodejs的一个练习。今天硬件准备已到货, 老电脑, bios限制cpu功耗35w, 换上静音电源加猫扇。刷好centos 配置好ssh smb文件共享, 开发机连上, 配置服务器环境完成。

2022.09.06

文件断点上传思路

客户端:
将上传文件解析为Buffer, 生成md5(用于验证合并后文件) 拆分文件数据并标记索引加入数组 查询已上传分片的索引值 上传剩余分片数据 所有上传完成通知后端合并分片数据 服务端: 首次接受分片数据时创建临时文件夹 接收合并通知 合并分片 验证md5 合并验证通过删除临时文件

kled_nas's People

Contributors

totoding 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.