{"id":18979494,"url":"https://github.com/andyliwr/upload-img","last_synced_at":"2025-04-19T18:06:21.297Z","repository":{"id":72159968,"uuid":"108439173","full_name":"Andyliwr/upload-img","owner":"Andyliwr","description":"小迪版上传图片工具","archived":false,"fork":false,"pushed_at":"2018-12-07T01:36:31.000Z","size":2966,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T11:21:50.879Z","etag":null,"topics":["image-processing","koa2","qiniu","upload"],"latest_commit_sha":null,"homepage":"https://upload.andylistudio.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Andyliwr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-26T16:47:37.000Z","updated_at":"2020-08-09T21:40:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"b35e8eee-aab8-4ff5-b1ed-ca78059f6304","html_url":"https://github.com/Andyliwr/upload-img","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andyliwr%2Fupload-img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andyliwr%2Fupload-img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andyliwr%2Fupload-img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andyliwr%2Fupload-img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andyliwr","download_url":"https://codeload.github.com/Andyliwr/upload-img/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249235126,"owners_count":21235156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-processing","koa2","qiniu","upload"],"created_at":"2024-11-08T15:43:53.136Z","updated_at":"2025-04-16T11:32:27.685Z","avatar_url":"https://github.com/Andyliwr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## **小迪版图片上传工具**\n[Demo地址](https://upload.andylistudio.com)\n### **小迪图片上传工具特色**\n1. **拖拽上传**\n\u003cbr\u003e将本地图片拖放到白框中就能实现图片自动上传，也可以选择手动打开文件上传，两种方式任君选择。\n\n2. **图片压缩**\n\u003cbr\u003e在\"个人中心\"设置\"上传自动压缩\"，即可实现上传过程中对图片压缩，这样生成的图片链接加载更快哦~\n\n3. **图片格式化**\n\u003cbr\u003e上传完成后的图片可以通过url传参，设置图片宽高，裁剪图片，以及添加图片水印等等..\n\n### **部署文档**\n安装两个服务\n```\nsudo apt-get install mongodb\nsudo apt-get install redis\n# 看看两个服务是否正常启动\nsudo netstat -tunpl\n```\n克隆项目并安装依赖\n```\ngit clone https://github.com/Andyliwr/ldk-upload-img.git\ncd ldk-upload-img\nnpm install\n# 安装其他静态资源依赖\nnpm install bower -g\nbower install\n```\n修改配置文件，将`config/index.js`中的`accessKey`和`secretKey`替换成自己七牛云的秘钥，然后启动项目\n```\nnpm run prd\n```\n最后访问[`http://localhost:5000`](http://localhost:5000)就能上传您的图片了!\n\n### **截图**\n#### **首页**\n\u003cimg src=\"https://fs.andylistudio.com/1521210473840.jpg/default\" /\u003e\n\n#### **拖拽上传**\n\u003cimg src=\"https://fs.andylistudio.com/1521210471220.jpg/default\" /\u003e\n\n#### **注册**\n\u003cimg src=\"https://fs.andylistudio.com/1521210480561.jpg/default\" /\u003e\n\n#### **上传记录**\n\u003cimg src=\"https://fs.andylistudio.com/1521210477738.jpg/default\" /\u003e\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyliwr%2Fupload-img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyliwr%2Fupload-img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyliwr%2Fupload-img/lists"}