diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c09ccfb..07e7a78 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,6 @@ yarn dev 5. 与图床管理功能相关的代码请在`src/main/manage`和`src/renderer/manage`目录下添加。 - ## i18n 1. 在 `public/i18n/` 下面创建一种语言的 `yml` 文件,例如 `zh-Hans.yml`。然后参考 `zh-CN.yml` 或者 `en.yml` 编写语言文件。并注意,PicList 会通过语言文件中的 `LANG_DISPLAY_LABEL` 向用户展示该语言的名称。 diff --git a/FAQ.md b/FAQ.md index 784e00d..72ef999 100644 --- a/FAQ.md +++ b/FAQ.md @@ -27,8 +27,13 @@ PicList所有新功能的添加没有影响到PicGo的原有功能,所以你 - SM.MS - Imgur - GitHub -- Webdav +- WebDav - Aws S3 +- 本地路径 +- 内置SFTP +- 多吉云 +- 华为云 OBS +- Alist ## 4. 能否支持上传视频文件 @@ -47,6 +52,7 @@ PicList本体支持了如下图床: - `Imgur` - `Webdav` - `本地图床` +- `SFTP` PicList计划整合和优化现有插件,内置更多的常用图床。 diff --git a/FAQ_EN.md b/FAQ_EN.md index 5d42f9c..baca537 100644 --- a/FAQ_EN.md +++ b/FAQ_EN.md @@ -29,6 +29,11 @@ Currently, the supported image hosting platforms are: - GitHub - Webdav - Aws S3 +- Local path +- Built-in SFTP +- Doge Cloud +- Huawei Cloud OBS +- Alist ## 4. Is it possible to upload video files? @@ -46,7 +51,8 @@ PicList itself supports the following image hosting platforms: - Aliyun OSS - Imgur - Webdav -- local path +- Local path +- SFTP PicList plans to integrate and optimize existing plugins and embed more commonly used image hosting platforms. diff --git a/README.md b/README.md index 57f1676..aeaf4f8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ 简体中文 | [English](https://github.com/Kuingsmile/PicList/blob/dev/README_en.md) -PicList是一款云存储/图床平台管理和文件上传工具,基于PicGo的进行了深度二次开发,保留了PicGo的所有功能的同时,为相册添加了同步云端删除功能,同时增加了完整的云存储管理功能,包括云端目录查看、文件搜索、批量上传下载和删除文件,复制多种格式文件链接和图片/markdown/文本/视频预览等,另外还有更加强大的相册和多项功能新增或优化。 +PicList是一款高效的云存储和图床平台管理工具,在PicGo的基础上经过深度的二次开发,不仅完整保留了PicGo的所有功能,还增添了许多新的feature。例如相册支持同步云端删除文件,内置图床额外添加了WebDav、本地图床和SFTP等。PicList同时增加了完整的云存储管理功能,包括云端目录查看、文件搜索、批量上传下载和删除文件,复制多种格式文件链接和图片/markdown/文本/视频预览等,另外还有更加强大的相册和多项功能新增或优化。 ## 如何从PicGo迁移 @@ -30,16 +30,17 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt ## 特色功能 -- 保留了PicGo的所有功能,兼容已有的PicGo插件系统,包括和typora、obsidian等的搭配 -- 新增了对webdav上传,imgur账户上传,本地文件夹上传等的支持 -- 相册中可同步删除云端图片,同时新增了高级搜索和排序,批量修改URL等功能 -- 内置水印添加、图片压缩、图片缩放、图片旋转和图片格式转换等功能,支持自定义配置,且可以通过CLI命令行调用 -- 新增配置多端同步功能 -- 支持管理所有图床,可以在线进行云端目录查看、文件搜索、批量上传、批量下载、删除文件等 +- 保留了PicGo的所有功能,兼容绝大部分已有的PicGo插件,包括和Typora、Obsidian等软件的搭配 +- 新增了多个内置图床,如WebDav、本地图床和SFTP等,原内置imgur图床额外支持登录账号上传 +- 相册中可同步删除云端图片,支持所有内置图床和多个插件 +- 相册新增了高级搜索和排序,批量修改URL等功能 +- 内置水印添加、图片压缩、图片缩放、图片旋转和图片格式转换等功能,同时支持高级重命名 +- 支持配置同步至Github或Gitee仓库 +- 支持管理十余种图床,可以在线进行云端目录查看、文件搜索、批量上传、批量下载、删除文件等 - 支持预览多种格式的文件,包括图片、视频、纯文本文件和markdown文件等,具体支持的格式请参考[支持的文件格式列表](https://github.com/Kuingsmile/PicList/blob/dev/supported_format.md) -- 支持正则表达式的批量云端文件重命名 +- 支持启用正则表达式的批量云端文件重命名 - 对于私有存储桶等支持复制预签名链接进行分享 -- 支持自动更新,无需每次手动下载,支持多种启动模式选择,还有更多功能细节新增和优化 +- 支持软件自动更新,支持多种启动模式,还有更多功能细节新增和优化 - 优化了PicGo的界面,解锁了窗口大小限制,同时美化了部分界面布局 - mac平台安装包已签名,从源头解决了PicGo上的安装包已损坏的日经问题 @@ -49,10 +50,7 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt **Typora 1.6.0-dev以及以上版本现在已经原生支持PicList了** -下载地址: - -[Windows 版本](https://download.typora.io/windows/typora-setup-x64-1.6.0-dev.exe "windows") -[Mac OS版本](https://download.typora.io/mac/Typora-1.6.0-dev.dmg "macOS") +[下载地址](https://typora.io/releases/all) #### 1.6.0版本以下 @@ -74,7 +72,7 @@ MacOS: ### 如何在Obsidian中使用 -在社区插件中搜索安装 `Image auto upload Plugin`,然后进入插件设置页面,修改默认上传器为 `PicGo(app)`,设置 `PicGo server`为 `http://127.0.0.1:36677/upload`即可,如下图所示: +在社区插件中搜索安装 `Image auto upload Plugin`,然后进入插件设置页面,修改默认上传器为 `PicGo(app)`,设置 `PicGo server`为 `http://127.0.0.1:36677/upload`即可,如下图所示, 此外该插件还额外支持通过PicList进行云端删除,请在删除接口内填入 `http://127.0.0.1:36677/delete`: ![image](https://user-images.githubusercontent.com/96409857/226522718-8378c480-9fb4-4785-87e1-d59808862016.png) @@ -92,10 +90,15 @@ MacOS: | S3 API兼容平台 | ✔️ | ✔️ | | WebDAV | ✔️ | ✔️ | | 本地文件夹 | ✔️ | ✔️ | +| 内置SFTP | ✔️ | ✔️ | +| 多吉云 | ✔️ | ✔️ | -| 插件 | 相册云删除 | -| :----------------------------------------------------------: | :--------: | -| [picgo-plugin-s3](https://github.com/wayjam/picgo-plugin-s3) | ✔️ | +| 插件 | 相册云删除 | +| :----------------------------------------------------------------------------------------: | :--------: | +| [picgo-plugin-s3](https://github.com/wayjam/picgo-plugin-s3) | ✔️ | +| [picgo-plugin-alist](https://github.com/jinzhi0123/picgo-plugin-alist) | ✔️ | +| [picgo-plugin-huawei-uploader](https://github.com/YunfengGao/picgo-plugin-huawei-uploader) | ✔️ | +| [picgo-plugin-dogecloud](https://github.com/w4j1e/picgo-plugin-dogecloud) | ✔️ | ## 下载安装 @@ -115,29 +118,14 @@ brew install piclist --cask brew uninstall piclist ``` -### Mac特殊说明 - -如果macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应,请升级到PicList V1.4.1以上版本。 - -从V1.4.1版本开始,所有的mac安装包均经过了我的开发者证书签名,不会再被macOS系统识别为「恶意软件」,不会再出现「文件已损坏」的提示。 - -### Mac App Store - -由于Mac App Store的沙盒机制,导致多项功能无法正常使用,因此不再支持Mac App Store的安装方式。 - -如果您已经通过Mac App Store购买了PicList,请添加我的微信 `pku_sq_ma`,我会为您退费。 - -再次感谢您对PicList的支持。 - ## 应用截图 -![image](https://user-images.githubusercontent.com/96409857/222900642-f1d04a41-f025-4f3c-b838-bae770e0b929.png) -![image](https://user-images.githubusercontent.com/96409857/222900656-6bb33045-6672-4c4d-ac34-1b9ba86011cc.png) -![image](https://user-images.githubusercontent.com/96409857/220510112-e524f270-ab56-4e8b-bfb2-eb0a77e559ef.png) -![image](https://user-images.githubusercontent.com/96409857/220510176-8a3f9f19-9182-4b56-b943-fc408ef63f22.png) -![image](https://user-images.githubusercontent.com/96409857/220510302-f193fc77-db1b-4817-81ff-3ab1c3a1f4d3.png) -![image](https://user-images.githubusercontent.com/96409857/220510371-a2fad42e-8063-4014-a691-ca5b66b8cc60.png) -![image](https://user-images.githubusercontent.com/96409857/220510427-b85ffc0a-55cf-43f1-b1b0-ba7776a75de2.png) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/1b76c0c4-753c-4d66-aa24-f805f9c2da15) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/56cf838a-a2eb-40af-96d4-1ffea25400af) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/bca7688a-e07f-4e80-9edd-c224298fa8ab) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/3e48e03d-b0b2-49e2-92a6-a52e0884677d) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/29de0046-1aef-4b28-95a6-b26c6e297c6f) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/e1c04488-2d3a-4e8f-aa26-ce41d0a383e2) ## 微信交流群 @@ -148,8 +136,8 @@ brew uninstall piclist 1. 你需要有 Node、Git 环境,了解 npm 的相关知识。 2. git clone [https://github.com/Kuingsmile/PicList.git](https://github.com/Kuingsmile/PicList.git) 并进入项目。 `yarn` 下载依赖 - 注意如果你没有yarn,请去 官网 下载安装后再使用。 用 npm install 将导致未知错误! -3. Mac 需要有 Xcode 环境,Windows 需要有 VS 环境。 + 注意如果你没有`yarn`,请去 官网 下载安装后再使用。 用 `npm install` 将导致未知错误! +3. Mac 需要有 `Xcode` 环境,Windows 需要有 `VS` 环境。 4. 如果需要贡献代码,可以参考[贡献指南](https://github.com/Kuingsmile/PicList/blob/dev/CONTRIBUTING.md)。 ### 开发模式 @@ -158,6 +146,7 @@ brew uninstall piclist `ctrl+c` # 退出开发模式 `yarn run dev` # 重新进入开发模式 + 注:Windows 开发模式运行之后会在底部任务栏的右下角应用区出现 PicList 的应用图标。 ### 生产模式 diff --git a/README_en.md b/README_en.md index 31f0f8f..50e7c22 100644 --- a/README_en.md +++ b/README_en.md @@ -16,7 +16,8 @@ [简体中文](https://github.com/Kuingsmile/PicList/blob/dev/README.md) | English -PicList is a cloud storage platform management and file upload tool based on PicGo, which has been deeply redeveloped. It retains all the functions of PicGo, adds the function of synchronous cloud deletion to the album, and adds a complete cloud storage management function, including cloud directory viewing, file search, batch upload and download, and file deletion, copying multiple formats of file links and image/markdown/text/video preview, etc. Additionally, there are several other feature improvements and additions. + +PicList is an efficient cloud storage and image hosting platform management tool. Building upon the foundation of PicGo, it has been deeply modified and enhanced. Not only does it retain all of PicGo's features, but it also adds many new ones. For instance, the album now supports synchronized deletion of files in the cloud. Built-in image hosting options have been expanded to include WebDav, local image hosting, and SFTP. Additionally, PicList introduces comprehensive cloud storage management functions, including cloud directory viewing, file search, batch uploading, downloading, and file deletion, copying links in various formats, and previews for images, markdown, text, and videos. Moreover, it boasts a more powerful album function and numerous other improvements and enhancements. ## How to migrate from PicGo @@ -30,19 +31,19 @@ if you want to use PicList-core, please go to [https://github.com/Kuingsmile/Pic ## Features -- Maintain all the functions of PicGo, compatible with the existing PicGo plug-in system, including the combination with typora, obsidian and other software -- Add support for webdav upload, imgur account upload, local path upload, etc. -- Synchronous cloud deletion of pictures in the album, advanced search and sorting features have been added, along with the ability to bulk modify URLs. -- Built-in watermark addition, image compression, image scaling, image rotation and image format conversion functions, support custom configuration, and can be called through CLI command line -- Add the configuration of multi-device synchronization function. -- Add -- Support management of all cloud storage platforms, can be online to view the cloud directory, file search, batch upload, batch download, delete files and other operations +- Retains all the features of PicGo and is compatible with the vast majority of existing PicGo plugins, including integrations with software like Typora and Obsidian. +- Added multiple built-in image hosting platforms, such as WebDav, local image hosting, and SFTP. The original built-in imgur image host now also supports account login for uploading. +- Within the album, you can synchronize the deletion of cloud images. This is supported across all built-in image hosts and multiple plugins. +- The album now offers advanced search and sorting features, as well as batch URL modification. +- Built-in tools for adding watermarks, compressing images, scaling images, rotating images, and converting image formats are now available. Advanced renaming is also supported. +- Configuration can be synchronized to Github or Gitee repositories. +- Manages over ten types of image hosting platforms, allowing online viewing of cloud directories, file searching, batch uploading, batch downloading, file deletion, and more. - Support previewing multiple formats of files, including pictures, videos, plain text files and markdown files, etc. For the specific formats supported, please refer to [Supported file format list](https://github.com/Kuingsmile/PicList/blob/dev/supported_format.md) -- Support batch cloud file renaming based on regular expressions -- The management interface uses the built-in database cache directory to accelerate the directory loading speed -- Support automatic update, no need to download manually every time, support multiple startup mode selection, and more function details are added and optimized -- Optimized the PicGo interface, unlocked the window size limit, and beautified the interface layout -- The installation package of the mac platform has been signed, and the installation package has been corrupted from the source to solve the daily problem of PicGo's installation package has been corrupted +- Supports the use of regular expressions for batch renaming of cloud files. +- For private storage buckets, pre-signed link copying for sharing is available. +- Software auto-updates are available, along with multiple startup modes, and many other feature details have been added and optimized. +- The PicGo interface has been enhanced, window size restrictions have been unlocked, and some interface layouts have been beautified. +- The installation package for the Mac platform is now signed, addressing the recurring issue on PicGo where the installation package was reported as damaged. ### How to use in Typora @@ -50,11 +51,7 @@ if you want to use PicList-core, please go to [https://github.com/Kuingsmile/Pic **Typora 1.6.0-dev and above versions now support PicList natively** -download link: - -[Windows Version](https://download.typora.io/windows/typora-setup-x64-1.6.0-dev.exe) - -[Mac OS Version](https://download.typora.io/mac/Typora-1.6.0-dev.dmg) +[download link](https://typora.io/releases/all) #### **Version < 1.6.0-dev** @@ -76,7 +73,7 @@ The verification of the upload option may have problems, you can ignore it, and ### How to use in Obsidian -Search and install `Image auto upload Plugin` in the community plugin, then enter the plugin settings page, modify the default uploader to `PicGo(app)`, set `PicGo server` to `http://127.0.0.1:36677/upload`, as shown below: +In the community plugins, search for and install the Image auto upload Plugin. Next, go to the plugin settings page and change the default uploader to PicGo(app). Set the PicGo server to http://127.0.0.1:36677/upload as shown in the image below. Additionally, this plugin also supports cloud-based deletion through PicList. To use this feature, enter http://127.0.0.1:36677/delete in the deletion interface. ![image](https://user-images.githubusercontent.com/96409857/226522718-8378c480-9fb4-4785-87e1-d59808862016.png) @@ -94,10 +91,15 @@ Search and install `Image auto upload Plugin` in the community plugin, then ente | S3 API compatible platform | ✔️ | ✔️ | | WebDAV | ✔️ | ✔️ | | Local | ✔️ | ✔️ | +| Built-in SFTP | ✔️ | ✔️ | +| Doge Cloud | ✔️ | ✔️ | -| Plugin | Album cloud deletion | -| :----------------------------------------------------------: | :------------------: | -| [picgo-plugin-s3](https://github.com/wayjam/picgo-plugin-s3) | ✔️ | +| Plugin | Album cloud deletion | +| :----------------------------------------------------------------------------------------: | :------------------: | +| [picgo-plugin-s3](https://github.com/wayjam/picgo-plugin-s3) | ✔️ | +| [picgo-plugin-alist](https://github.com/jinzhi0123/picgo-plugin-alist) | ✔️ | +| [picgo-plugin-huawei-uploader](https://github.com/YunfengGao/picgo-plugin-huawei-uploader) | ✔️ | +| [picgo-plugin-dogecloud](https://github.com/w4j1e/picgo-plugin-dogecloud) | ✔️ | ## Download and install @@ -135,13 +137,12 @@ Thank you again for your support for PicList. ## Application screenshot -![image](https://user-images.githubusercontent.com/96409857/222900642-f1d04a41-f025-4f3c-b838-bae770e0b929.png) -![image](https://user-images.githubusercontent.com/96409857/222900656-6bb33045-6672-4c4d-ac34-1b9ba86011cc.png) -![image](https://user-images.githubusercontent.com/96409857/220510112-e524f270-ab56-4e8b-bfb2-eb0a77e559ef.png) -![image](https://user-images.githubusercontent.com/96409857/220510176-8a3f9f19-9182-4b56-b943-fc408ef63f22.png) -![image](https://user-images.githubusercontent.com/96409857/220510302-f193fc77-db1b-4817-81ff-3ab1c3a1f4d3.png) -![image](https://user-images.githubusercontent.com/96409857/220510371-a2fad42e-8063-4014-a691-ca5b66b8cc60.png) -![image](https://user-images.githubusercontent.com/96409857/220510427-b85ffc0a-55cf-43f1-b1b0-ba7776a75de2.png) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/1b76c0c4-753c-4d66-aa24-f805f9c2da15) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/56cf838a-a2eb-40af-96d4-1ffea25400af) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/bca7688a-e07f-4e80-9edd-c224298fa8ab) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/3e48e03d-b0b2-49e2-92a6-a52e0884677d) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/29de0046-1aef-4b28-95a6-b26c6e297c6f) +![image](https://github.com/Kuingsmile/PicList/assets/96409857/e1c04488-2d3a-4e8f-aa26-ce41d0a383e2) ## WeChat group @@ -152,8 +153,8 @@ Thank you again for your support for PicList. 1. You need to have Node, Git environment, and understand the related knowledge of npm. 2. git clone [https://github.com/Kuingsmile/PicList.git](https://github.com/Kuingsmile/PicList.git) and enter the project. `yarn` download dependencies - Note that if you don't have yarn, please go to the official website to download and install it before using it. Using npm install will cause unknown errors! -3. Mac needs Xcode environment, Windows needs VS environment. + Note that if you don't have `yarn`, please go to the official website to download and install it before using it. Using `npm install` will cause unknown errors! +3. Mac needs `Xcode` environment, Windows needs `VS` environment. 4. If you need to contribute code, you can refer to [contribution guide](https://github.com/Kuingsmile/PicList/blob/dev/CONTRIBUTING_EN.md) ### Development mode @@ -162,6 +163,7 @@ Enter `yarn run dev` to enter development mode, which has hot reload feature. Ho `ctrl+c` # Exit development mode `yarn run dev` # Re-enter development mode + Note: After the development mode is running, the application icon of PicList will appear in the application area of the taskbar in the lower right corner of the bottom bar. ### Production mode diff --git a/package.json b/package.json index 5663c75..05494b0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "name": "Kuingsmile", "email": "pkukuing@gmail.com" }, - "description": "PicList is a simple and powerful cloude storage manage tool.", + "description": "A powerful cloude storage manage tool.", "homepage": "https://piclist.cn", "bugs": { "url": "https://github.com/Kuingsmile/PicList/issues", diff --git a/src/main/utils/sshClient.ts b/src/main/utils/sshClient.ts index e6c8a53..1c2449b 100644 --- a/src/main/utils/sshClient.ts +++ b/src/main/utils/sshClient.ts @@ -44,6 +44,7 @@ class SSHClient { } try { remote = this.changeWinStylePathToUnix(remote) + if (remote === '/' || remote.includes('*')) return false const script = `rm -f "${remote}"` return await this.exec(script) } catch (err: any) { diff --git a/src/universal/utils/common.ts b/src/universal/utils/common.ts index 7fdbd23..208846c 100644 --- a/src/universal/utils/common.ts +++ b/src/universal/utils/common.ts @@ -10,8 +10,7 @@ export const isUrlEncode = (url: string): boolean => { url = url || '' try { return url !== decodeURI(url) - } catch (e) { - // if some error caught, try to let it go + } catch { return false } } diff --git a/supported_format.md b/supported_format.md index 5f91006..19ba129 100644 --- a/supported_format.md +++ b/supported_format.md @@ -2,52 +2,52 @@ ### 图片 -| 格式 | 描述 | 格式 | 描述 | -| :-: | :-: | :-: | :-: | -| [.bmp](https://en.wikipedia.org/wiki/BMP_file_format) | 位图文件格式 | [.jpeg/.jpg](https://en.wikipedia.org/wiki/JPEG) | 联合照片专家组格式 | -| [.gif](https://en.wikipedia.org/wiki/GIF) | 图形交换格式 | [.png](https://en.wikipedia.org/wiki/Portable_Network_Graphics) | 可移植网络图形格式 | -| [.ico](https://en.wikipedia.org/wiki/ICO_(file_format)) | 图标文件格式 | [.webp](https://developers.google.com/speed/webp/) | WebP格式 | +| 格式 | 描述 | 格式 | 描述 | +| :-----------------------------------------------------: | :----------: | :-------------------------------------------------------------: | :----------------: | +| [.bmp](https://en.wikipedia.org/wiki/BMP_file_format) | 位图文件格式 | [.jpeg/.jpg](https://en.wikipedia.org/wiki/JPEG) | 联合照片专家组格式 | +| [.gif](https://en.wikipedia.org/wiki/GIF) | 图形交换格式 | [.png](https://en.wikipedia.org/wiki/Portable_Network_Graphics) | 可移植网络图形格式 | +| [.ico](https://en.wikipedia.org/wiki/ICO_(file_format)) | 图标文件格式 | [.webp](https://developers.google.com/speed/webp/) | WebP格式 | ### 文本 -| 格式 | 描述 | 格式 | 描述 | -| :-: | :-: | :-: | :-: | -| .bat | 批处理文件 | .java | Java源代码文件 | -| .c | C语言源代码文件 | .js | JavaScript文件 | -| .cmd | Windows命令脚本文件 | .json | JSON文件 | -| .conf | 配置文件 | .log | 日志文件 | -| .config | 配置文件 | .php | PHP源代码文件 | -| .cpp | C++源代码文件 | .prop/.properties | 属性文件 | -| .css | 层叠样式表文件 | .py | Python源代码文件 | -| .csv | 逗号分隔值文件 | .rc | Windows资源文件 | -| .dart | Dart源代码文件 | .sh | Shell脚本文件 | -| .gitattributes | Git属性文件 | .tsv | 制表符分隔值文件 | -| .gitconfig | Git配置文件 | .txt | 纯文本文件 | -| .gitignore | Git忽略文件 | .xml | XML文件 | -| .gitkeep | Git保留文件 | .yaml/.yml | YAML文件 | -| .gitmodules | Git子模块文件 | .yarnrc | Yarn配置文件 | -| .go | Go源代码文件 | LICENSE | 许可证文件 | -| .h | 头文件 | .condarc | Conda配置文件 | -| .hpp | C++头文件 | .md | Markdown文件 | -| .htm/.html | HTML文件 | | | +| 格式 | 描述 | 格式 | 描述 | +| :------------: | :-----------------: | :---------------: | :--------------: | +| .bat | 批处理文件 | .java | Java源代码文件 | +| .c | C语言源代码文件 | .js | JavaScript文件 | +| .cmd | Windows命令脚本文件 | .json | JSON文件 | +| .conf | 配置文件 | .log | 日志文件 | +| .config | 配置文件 | .php | PHP源代码文件 | +| .cpp | C++源代码文件 | .prop/.properties | 属性文件 | +| .css | 层叠样式表文件 | .py | Python源代码文件 | +| .csv | 逗号分隔值文件 | .rc | Windows资源文件 | +| .dart | Dart源代码文件 | .sh | Shell脚本文件 | +| .gitattributes | Git属性文件 | .tsv | 制表符分隔值文件 | +| .gitconfig | Git配置文件 | .txt | 纯文本文件 | +| .gitignore | Git忽略文件 | .xml | XML文件 | +| .gitkeep | Git保留文件 | .yaml/.yml | YAML文件 | +| .gitmodules | Git子模块文件 | .yarnrc | Yarn配置文件 | +| .go | Go源代码文件 | LICENSE | 许可证文件 | +| .h | 头文件 | .condarc | Conda配置文件 | +| .hpp | C++头文件 | .md | Markdown文件 | +| .htm/.html | HTML文件 | | | ### 视频 -| 格式 | 描述 | 格式 | 描述 | -| :-: | :-: | :-: | :-: | -| .aac | AAC音频文件 | .mpeg | MPEG视频文件 | -| .amv | AMV视频文件 | .mpg | MPEG视频文件 | -| .avi | AVI视频文件 | .mts | AVCHD视频文件 | -| .flac | FLAC音频文件 | .ogg | Ogg Vorbis音频文件 | -| .flv | Flash视频文件 | .ogv | Ogg Theora视频文件 | -| .m2ts | M2TS视频文件 | .vob | DVD视频文件 | -| .m4a | MPEG-4音频文件 | .wav | WAV音频文件 | -| .m4v | MPEG-4视频文件 | .webm | WebM视频文件 | -| .mp3 | MP3音频文件 | .mp4 | MPEG-4视频文件 | -| .mov | QuickTime视频文件 | .3g2 | 3GPP2视频文件 | -| .mp4 | MPEG-4视频文件 | .3gp | 3GPP视频文件 | -| .mxf | MXF视频文件 | .asf | Advanced Systems Format视频文件 | -| .rm | RealMedia视频文件 | .rmvb | RealMedia可变比特率视频文件 | -| .wmv | Windows Media视频文件 | .mkv | Matroska视频文件 | +| 格式 | 描述 | 格式 | 描述 | +| :---: | :-------------------: | :---: | :-----------------------------: | +| .aac | AAC音频文件 | .mpeg | MPEG视频文件 | +| .amv | AMV视频文件 | .mpg | MPEG视频文件 | +| .avi | AVI视频文件 | .mts | AVCHD视频文件 | +| .flac | FLAC音频文件 | .ogg | Ogg Vorbis音频文件 | +| .flv | Flash视频文件 | .ogv | Ogg Theora视频文件 | +| .m2ts | M2TS视频文件 | .vob | DVD视频文件 | +| .m4a | MPEG-4音频文件 | .wav | WAV音频文件 | +| .m4v | MPEG-4视频文件 | .webm | WebM视频文件 | +| .mp3 | MP3音频文件 | .mp4 | MPEG-4视频文件 | +| .mov | QuickTime视频文件 | .3g2 | 3GPP2视频文件 | +| .mp4 | MPEG-4视频文件 | .3gp | 3GPP视频文件 | +| .mxf | MXF视频文件 | .asf | Advanced Systems Format视频文件 | +| .rm | RealMedia视频文件 | .rmvb | RealMedia可变比特率视频文件 | +| .wmv | Windows Media视频文件 | .mkv | Matroska视频文件 |