All Projects → dzy321 → file-upload

dzy321 / file-upload

Licence: other
koa2 middleware support upload to cos/oss/obs/aws/local

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to file-upload

vue-koa-mongodb-oss
一个包含前后端鉴权、验证码生成、阿里云上传图片的前后端技术体系,技术栈vue、koa2、mongodb、oss
Stars: ✭ 82 (+192.86%)
Mutual labels:  oss, koa2
ElUploader-OSS-Solution
ElementUI - Upload 组件结合 OSS 的封装
Stars: ✭ 28 (+0%)
Mutual labels:  oss, upload
simple-obs-stt
Speech-to-text and keyboard input captions for OBS.
Stars: ✭ 89 (+217.86%)
Mutual labels:  obs
next-oss
webpack打包文件上传到OSS
Stars: ✭ 18 (-35.71%)
Mutual labels:  oss
yii2-aliyun-oss
Yii2 Aliyun OSS Yii2 阿里云 OSS
Stars: ✭ 41 (+46.43%)
Mutual labels:  oss
character-overlay
Web App for adding an OBS overlay with character information such as name, picture, and health for your favorite role-playing game.
Stars: ✭ 17 (-39.29%)
Mutual labels:  obs
slack-emoji-upload
Slack emoji uploader, CLI. single binary, no dependencies. linux, osx, windows.
Stars: ✭ 28 (+0%)
Mutual labels:  upload
tiny-qiniu-request
tiny-qiniu for rc-upload or antd upload component `customRequest` property
Stars: ✭ 13 (-53.57%)
Mutual labels:  upload
webpack-oss
webpack静态资源一键上传阿里云OSS插件,兼容webpack3.x/4.x
Stars: ✭ 29 (+3.57%)
Mutual labels:  oss
free-fs
✨Free-Fs 开源文件管理系统:基于 SpringBoot2.x + MyBatisPlus + MySQL + Shiro+ Layui 等搭配七牛云,阿里云OSS实现的云存储管理系统。包含文件上传、删除、预览、云资源列表查询、下载、文件移动、重命名、目录管理、登录、注册、以及权限控制等功能。
Stars: ✭ 49 (+75%)
Mutual labels:  oss
obs blade
Make use of the OBS WebSocket Plugin (https://github.com/obsproject/obs-websocket) and control your stream
Stars: ✭ 182 (+550%)
Mutual labels:  obs
wp-graphql-upload
Upload support and functionality for WPGraphQL as specified by graphql-multipart-request-spec.
Stars: ✭ 26 (-7.14%)
Mutual labels:  upload
hanami-shrine
Upload solution for Hanami using Shrine library
Stars: ✭ 28 (+0%)
Mutual labels:  upload
chrome-extension-upload
upload & publish extensions to the Chrome Web Store.
Stars: ✭ 35 (+25%)
Mutual labels:  upload
android-oss-best-practices
Best practices on creating Android OSS library projects [JA]
Stars: ✭ 32 (+14.29%)
Mutual labels:  oss
koahub-cli
KoaHub CLI -- KoaHub.js的开发工具,自动babel编译 ES6/7(Generator Function, Class, Async & Await)并且文件修改后自动重启。
Stars: ✭ 16 (-42.86%)
Mutual labels:  koa2
obs-text-slideshow
OBS plugin inspired by the built in image slideshow, except for text sources instead. Both Free Type 2 and GDI+ are supported.
Stars: ✭ 45 (+60.71%)
Mutual labels:  obs
apkup
🚀 Publish APKs to Google Play directly from the terminal
Stars: ✭ 33 (+17.86%)
Mutual labels:  upload
XION-ChaseCam
This is a free-to-use HTML/javascript based overlay for roleplay streamers. Basically it mimics the overlay of the AXON bodycam, but since most folks play in 3rd person, it's a ChaseCam. I've included a logo, and the html file. The html file has the css, html, and javascript all in one file for ease of editing. Goto line 81 of the html file to c…
Stars: ✭ 27 (-3.57%)
Mutual labels:  obs
BeatRecorder
Easily record your BeatSaber gameplay!
Stars: ✭ 20 (-28.57%)
Mutual labels:  obs

koa2-file-upload

koa2 middle to upload file, 支持文件系统、 阿里 oss 、腾讯 cos 、华为 obs 、azure

Features

  • support upload to dir
options['upload'] = {
  "url": '/api/upload',
  "storeDir": 'xxx',
  "provider": "local",
  "mimetypes": ['image/png','image/bmp'], // 如果没有配置,将不进行类型检查 http://www.freeformatter.com/mime-types-list.html
  "folder": "public",
  "urlPath": "images",
}
  • support upload to oss
options["upload"] = {
  "url": '/api/upload',
  "provider": "oss",
  "storeDir": 'xxx',
  "mimetypes": ['image/png','image/bmp'],
  "accessKeyId": "key",
  "accessKeySecret": "secret",
  "bucket": "terminus-designer",
  "region": "oss-cn-hangzhou",
  "filename": (file) => `${new Date().getTime()}-${file.filename}`, // default null
  "targetProtocol": "http", // default null
  "attachment": true // default null
}
  • support upload to cos
options["upload"] = {
  "url": '/api/upload',
  "provider": "cos",
  "storeDir": 'xxx',
  "bucket": "b2b",
  "appId": "xxx",
  "secretID": "xxx",
  "secretKey": "xx",
  "region": "gz"
}
  • support upload to obs
options["upload"] = {
  "url": '/api/upload',
  "provider": "obs",
  "bucket": "****",
  "accessKeyId": "****",
  "accessKeySecret": "****",
  "server": "****"
}
  • support upload to azure
options["upload"] = {
  "url": '/api/upload',
  "provider": "azure", 
  "container": "xxxx",
  "account": "xxxx",
  "connectionString": "xxxx",
}
  • support upload to aws
options["upload"] = {
  "url": '/api/upload',
  "endpoint": "http://localhost:801",
  "provider": "aws", 
  "bucket": "****",
  "accessKeyId": "****",
  "secretAccessKey": "****",
  "s3ForcePathStyle": true, // minio support
  "signatureVersion": "v4" // minio support
}

How to use

npm i koa2-file-upload

app.use(uploader(options))

Requirements

  • Node v6.0+

Workflow

  • npm install
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].