# oss-browser **Repository Path**: mrssai/oss-browser ## Basic Information - **Project Name**: oss-browser - **Description**: 在阿里云OSS Client的基础上增加目录上传完成向指定回调地址进行回调 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-08 - **Last Updated**: 2024-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 以下内容在`Ubuntu20.04`上运行测试过,可打包生成`exe`程序 1. 启动`oss-browser`步骤 ``` # 运行 1. git clone https://github.com/aliyun/oss-browser.git 2. cd oss-browser 3. make i 4. make build 5. make run # 打包 1. cp -r node_modules dist/ 2. make all ``` 2. 推荐使用`Ubuntu18.04`或`Ubuntu20.04`系统,`Ubuntu23.04`系统移除了`libgconf-2-4.so`文件,导致项目不能运行。`node`使用`v8.2.1`版本,推荐使用`nvm`管理`node`。`nvm` 安装脚本:https://github.com/nvm-sh/nvm/blob/master/install.sh 3. `Ubuntu18.04`和`Ubuntu20.04`都需要安装`libgconf-2-4`。安装命令:`sudo apt install libgconf-2-4 -y` 4. `make i`安装依赖慢,可以使用`npm install --registry=https://registry.npmmirror.com `替代`make i` 5. `Ubuntu20.04`需要安装`wine`,安装方法在 [技术|如何在 Ubuntu 中安装 Wine (linux.cn)](https://linux.cn/article-16028-1.html) 6. 单击 `OSS Browser` 工具左上角图标连续 `10 `次弹出调试面板 7. 开发模式运行, `command+option+i `可用打开调试界面,` win`或`linux`按 `F12`. 8. `ctrl+r`是刷新页面 9. 如果启动时白屏、显示和后端接口断开连接。可点击`view`->`reload`刷新页面 需要将`main.js`中的`win.setMenuBarVisibility(false)`;改为`win.setMenuBarVisibility(true)`;) 或`ctrl+r`刷新来解决 10. 打包命令(尽可在`Ubuntu18.04`打包成功,`Ubuntu20.04`打win64包报错缺少`wine`[需要安装`wine`]:`make win64` # 打包win64程序, 可选: `mac`, `linux64`, `linux32`, `win32`, `win64`, `all` 11. 打包输出的路径是项目目录的`build`目录 12. 不要在`dist`中`npm i`。否则在根目录`make run`就会报错,除非把`dist`的`node_modules`目录删除,可以将根目录下的`node_modules`复制到`dist`目录一份 13. 打包前将根目录下的`node_modules`目录复制到`dist`目录一份,不然打包生成的`exe`启动会报`electron-log`错误 # Quick start Ossbrowser is a graphical management tool developed by Alibaba Cloud. It provides features similar to those of Windows Explorer. Using ossbrowser, you can view, upload, download, and manage items with ease. ## [README of Chinese](README-CN.md) ## Platform Windows 7 above, Linux and Mac. We do not recommend using WindowsXP and WindowServer ## Procedure 1. Download and install ossbrowser. | Supported platform | Download link | | :----------------- | :---------------------------------------------------------------------------------------------------------------- | | Window x32 | [Window x32](https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/1.18.0/oss-browser-win32-ia32.zip) | | Window x64 | [Window x64](https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/1.18.0/oss-browser-win32-x64.zip) | | MAC | [MAC](https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/1.18.0/oss-browser-darwin-x64.zip) | | Linux x32 | [Linux x32](https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/1.18.0/oss-browser-linux-ia32.zip) | | Linux x64 | [Linux x64](https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/1.18.0/oss-browser-linux-x64.zip) | 2. Launch ossbrowser. 3. Log in to ossbrowser. 4. Manage buckets. You can do the following: - create a bucket - delete a bucket - modify the ACL for a bucket - manage the fragments in a bucket. 5. Manage items. You can do the following: - upload \(resumable\) - download \(resumable\) - delete - copy - move - rename - search for - preview an object - modify the ACL or set an HTTP header of an item. ## Debugging If you encounter any problems during using ossbrowser, you can switch to the debugging mode and observe the console panel. To switch to the debugging mode, click the icon in the upper left corner (see Figure 1 below) ten times. Note that in post-1.8.0 versions you can also open debug mode in settings page ((see Figure 2 below). ![left-icon](preview/left-icon.png "Figure 1") Figure 1 ![setting-page](preview/setting-debug.png "Figure 2") Figure 2 ## Qr code 1. OssBrowser answering questions 2. Group number:21985509 ## Links [ossbrowser](https://www.alibabacloud.com/help/doc-detail/61872.htm) ## LICENSE [Apache License 2.0](LICENSE)