├── .gitattributes ├── assets ├── logo.png ├── VidCrop1.gif └── screenshots-1.jpg ├── renovate.json ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── bug_report_cn.yml │ └── bug_report.yml └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.zh.md ├── CHANGELOG.md ├── feedback.zh.md ├── terms-of-service.zh.md ├── README.zh.md ├── privacy-policy.zh.md ├── README.md ├── feedback.md ├── terms-of-service.md └── privacy-policy.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # *.md linguist-language=Swift 2 | *.json linguist-language=Swift 3 | -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/vidcrop/HEAD/assets/logo.png -------------------------------------------------------------------------------- /assets/VidCrop1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/vidcrop/HEAD/assets/VidCrop1.gif -------------------------------------------------------------------------------- /assets/screenshots-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaywcjlove/vidcrop/HEAD/assets/screenshots-1.jpg -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": [ 4 | "config:recommended" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | ko_fi: jaywcjlove 2 | buy_me_a_coffee: jaywcjlove 3 | custom: ["https://www.paypal.me/kennyiseeyou", "https://jaywcjlove.github.io/#/sponsor"] 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | 3 | .DS_Store 4 | .cache 5 | .vscode 6 | .idea 7 | 8 | *.bak 9 | *.tem 10 | *.temp 11 | #.swp 12 | *.*~ 13 | ~*.* 14 | 15 | # IDEA 16 | *.iml 17 | *.ipr 18 | *.iws 19 | .idea/ -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 🌐 VidCrop Official Website 4 | url: https://wangchujiang.com/vidcrop/ 5 | about: Introduction to the VidCrop app on the official website! -------------------------------------------------------------------------------- /CHANGELOG.zh.md: -------------------------------------------------------------------------------- 1 |

2 | English 3 |

4 | 5 | 6 | 更新日志 7 | === 8 | 9 | 10 | VidCrop AppStore 11 | 12 | 13 | ## [v1.1.0](https://github.com/jaywcjlove/vidcrop/releases/tag/v1.1.0) 14 | 15 | 1. feat: 支持 m4v 和 mov 导出 16 | 2. perf: 优化视频拖拽加载 17 | 3. perf: 优化导出时加载状态显示问题 18 | 19 | ## [v1.0.0](https://github.com/jaywcjlove/vidcrop/releases/tag/v1.0.0) 20 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 |

2 | 中文 3 |

4 | 5 | 6 | Changelog 7 | === 8 | 9 | 10 | VidCrop AppStore 11 | 12 | 13 | ## [v1.1.0](https://github.com/jaywcjlove/vidcrop/releases/tag/v1.1.0) 14 | 15 | 1. feat: support m4v and mov export 16 | 2. perf: optimize video drag-and-drop loading. 17 | 3. perf: Optimize export loading status display issue. 18 | 19 | ## [v1.0.0](https://github.com/jaywcjlove/vidcrop/releases/tag/v1.0.0) 20 | -------------------------------------------------------------------------------- /feedback.zh.md: -------------------------------------------------------------------------------- 1 |

2 | English 3 |

4 | 5 | 6 | 反馈与支持 7 | === 8 | 9 | `VidCrop` 是一款视频裁剪工具,帮助用户轻松裁剪视频文件。您可以手动选择视频的任意部分进行裁剪,程序内置视频播放器,方便在裁剪前后查看预览。应用支持 `.mp4`、`.m4v`、`.mov`、`.mpg`、`.mpeg`、`.3gp` 等常见视频格式,用户可以通过拖动调整裁剪框或自定义视频尺寸,精确裁剪视频的任意部分。 10 | 11 | 你的反馈和支持非常重要!如果你遇到任何问题、有疑问,或希望提出新功能建议,请随时联系我们。你的意见将帮助我们改进 `VidCrop`,确保为你提供最佳的用户体验。 12 | 13 | 你可以通过应用内或发送邮件至 **kennyiseeyou@gmail.com** 联系我们。我致力于为你提供支持,确保你拥有流畅、愉快的使用体验。感谢你选择这款工具! 14 | 15 | ### 联系方式 16 | 17 | 如果你在使用过程中需要帮助或遇到问题,可以通过以下渠道联系我们: 18 | 19 | - [**邮件支持**: kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com) 20 | - [**社交媒体**: Twitter/X @jaywcjlove](https://twitter.com/jaywcjlove) 21 | - [**GitHub 问题反馈**](https://github.com/jaywcjlove/vidcrop/issues/new/choose) 22 | 23 | 我会尽快回复你的消息。感谢你对本工具的支持! -------------------------------------------------------------------------------- /terms-of-service.zh.md: -------------------------------------------------------------------------------- 1 |

2 | English 3 |

4 | 5 | 6 | 服务条款 7 | === 8 | 9 | 欢迎使用 **VidCrop**!本服务条款(以下简称“条款”)规范您对本应用(以下简称“应用”)的使用。请在使用前仔细阅读本条款。您的使用即表示您同意遵守本条款。 10 | 11 | ## 服务概述 12 | 13 | **VidCrop** 是一款视频裁剪工具,帮助用户轻松裁剪视频文件。您可以手动选择视频的任意部分进行裁剪,程序内置视频播放器,方便在裁剪前后查看预览。应用支持 .mp4、.m4v、.mov、.mpg、.mpeg、.3gp 等常见视频格式,用户可以通过拖动调整裁剪框或自定义视频尺寸,精确裁剪视频的任意部分。应用为离线工具,所有功能均在本地执行,不依赖网络连接。 14 | 15 | ## 用户责任 16 | 17 | - 您同意仅将本应用用于合法目的,不得用于任何非法、侵权或未经授权的用途。 18 | - 您对自己的使用行为及其结果负全部责任,包括遵守适用的法律法规(如隐私法、知识产权法等)。 19 | 20 | ## 隐私保护 21 | 22 | **VidCrop** 尊重您的隐私,不会收集、存储或传输任何用户个人数据。所有设置和数据均保存在您本地设备上。如需了解详情,请参阅我们的《隐私政策》。 23 | 24 | ## 免责声明 25 | 26 | - 本应用按“现状”提供,不对功能的可用性、准确性或适用性提供任何明示或暗示的保证。 27 | - 在适用法律允许的范围内,开发者不对因使用本应用而产生的任何直接或间接损失承担责任,包括但不限于数据丢失、操作误差或设备问题。 28 | 29 | ## 条款变更 30 | 31 | 我们可能会因功能更新或法律要求不时修改本条款。变更将通过应用或相关渠道通知您。继续使用本应用即表示您接受更新后的条款。 32 | 33 | ## 联系我们 34 | 35 | 如您对服务条款或隐私政策有任何疑问或建议,欢迎通过以下方式联系我们: 36 | 📧 邮箱:**[kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com)** 37 | 38 | 本服务条款自 **2025 年 9 月 17 日** 起生效。 39 | -------------------------------------------------------------------------------- /README.zh.md: -------------------------------------------------------------------------------- 1 | 2 | > [!TIP] 3 | > 声明:此项目并非开源项目,仓库作为官方网站,用于收集问题和用户需求。这样做是为了节省成本,因为没有官网,应用无法通过审核。 4 | 5 | 6 |
7 |
8 |
9 | 10 |

11 | VidCrop 12 |

13 | 14 |

15 | English • 16 | 联系&支持 • 17 | 更新日志 18 |

19 |

20 | 21 | VidCrop AppStore 22 | 23 |

24 |
25 | 26 | ![](./assets/VidCrop1.gif) 27 | 28 | ![](./assets/screenshots-1.jpg) 29 | 30 | VidCrop 是一款视频裁剪工具,帮助用户轻松裁剪视频文件。您可以手动选择视频的任意部分进行裁剪,程序内置视频播放器,方便在裁剪前后查看预览。 31 | 32 | ## 主要功能 33 | 34 | - 支持 .mp4, .m4v, .mov, .mpg, .mpeg, .3gp 等常见视频格式。 35 | - 用户可以通过拖动调整裁剪框或自定义视频尺寸,精确裁剪视频的任意部分。 36 | 37 | -------------------------------------------------------------------------------- /privacy-policy.zh.md: -------------------------------------------------------------------------------- 1 |

2 | English 3 |

4 | 5 | 6 | 隐私政策 7 | === 8 | 9 | 感谢您使用 **VidCrop**!我们非常重视您的隐私。本文将说明在您使用本应用期间,我们如何处理您的数据。 10 | 11 | ## 信息收集 12 | 13 | **VidCrop** 是一款视频裁剪工具,帮助用户轻松裁剪视频文件。您可以手动选择视频的任意部分进行裁剪,程序内置视频播放器,方便在裁剪前后查看预览。应用支持 .mp4、.m4v、.mov、.mpg、.mpeg、.3gp 等常见视频格式,用户可以通过拖动调整裁剪框或自定义视频尺寸,精确裁剪视频的任意部分。所有操作均在本地完成。 14 | 15 | **重要说明:** VidCrop 完全离线运行,不会收集、存储或传输任何用户个人信息。应用不会连接远程服务器,也不集成任何第三方服务。 16 | 17 | ### a. 本地数据处理 18 | 19 | * 所有设置和操作仅保存在您的本地设备中。 20 | * 应用不会记录您的使用行为或上传任何数据。 21 | 22 | ### b. 无日志记录 23 | 24 | VidCrop 不生成或发送任何日志。所有操作和配置均在本地执行,不涉及远程通信。 25 | 26 | ## 数据的使用 27 | 28 | 由于 VidCrop 不收集或存储任何用户数据,因此不存在对数据的任何使用或共享。您的所有使用过程都是私密且离线的。 29 | 30 | ## 第三方服务 31 | 32 | VidCrop 不使用任何第三方分析工具、广告平台或云服务,也不会与任何第三方共享或出售用户信息。 33 | 34 | ## 数据安全 35 | 36 | 由于所有数据均存储在本地,且应用不进行任何外部通信,您的所有设置和使用信息都受到 macOS 操作系统安全机制的保护。 37 | 38 | ## 用户控制权 39 | 40 | * 您可以随时删除 VidCrop 的所有数据和设置。 41 | * 卸载应用后,所有相关数据将永久从您的设备中移除。 42 | * 应用不进行云端备份,数据完全由您控制。 43 | 44 | ## 隐私政策的变更 45 | 46 | 我们可能会不时更新本隐私政策。如有重大变更,我们将通过应用内或官方渠道进行通知。请定期查看此页面以了解最新信息。 47 | 48 | ## 联系我们 49 | 50 | 如您对本隐私政策有任何疑问或需进一步协助,请通过以下方式联系我们: 51 | 📧 **[kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com)** 52 | 53 | 本政策自 **2025 年 9 月 17 日** 起生效。 54 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | > [!TIP] 3 | > Declaration: This project is not an open-source project. The repository serves as the official website, used to collect issues and user demands. This is done to save costs, because without an official website, the application cannot pass the review. 4 | 5 | 6 |
7 |
8 |
9 | 10 |

11 | VidCrop 12 |

13 | 14 |

15 | 简体中文 • 16 | Contact & Support • 17 | Changelog 18 |

19 |

20 | 21 | VidCrop AppStore 22 | 23 |

24 |
25 | 26 | ![](./assets/VidCrop1.gif) 27 | 28 | ![](./assets/screenshots-1.jpg) 29 | 30 | VidCrop is a video cropping tool that helps you easily crop video files. You can manually select any part of the video to crop, with an integrated video player allowing you to preview before and after cropping. 31 | 32 | ## Key Features 33 | 34 | - Supports common video formats such as .mp4, .m4v, .mov, .mpg, .mpeg, and .3gp. 35 | - Users can adjust the cropping frame by dragging or customize the video size to crop any part of the video with precision. -------------------------------------------------------------------------------- /feedback.md: -------------------------------------------------------------------------------- 1 |

2 | 中文 3 |

4 | 5 | 6 | Feedback & Support 7 | === 8 | 9 | `VidCrop` is a video cropping tool that helps users easily crop video files. You can manually select any part of the video for cropping, with a built-in video player for convenient preview before and after cropping. The app supports common video formats including `.mp4`, `.m4v`, `.mov`, `.mpg`, `.mpeg`, `.3gp`, and more. Users can adjust the crop area by dragging or customize video dimensions to precisely crop any part of the video. 10 | 11 | Your feedback and support are invaluable! If you encounter any issues, have questions, or would like to suggest new features, please feel free to reach out. Your input helps us improve `VidCrop` and ensures the best user experience for you. 12 | 13 | You can contact us through the app or by sending an email to **kennyiseeyou@gmail.com**. I am dedicated to providing support and ensuring a smooth and enjoyable experience for you. Thank you for choosing this tool! 14 | 15 | ### Contact Information 16 | 17 | If you need assistance or encounter any issues while using VidCrop, please reach out through the following channels: 18 | 19 | - [**Email Support**: kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com) 20 | - [**Social Media**: Twitter/X @jaywcjlove](https://twitter.com/jaywcjlove) 21 | - [**GitHub Issue Tracker**](https://github.com/jaywcjlove/vidcrop/issues/new/choose) 22 | 23 | I will get back to you as soon as possible. Thank you for your support! -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report_cn.yml: -------------------------------------------------------------------------------- 1 | name: 🙋‍♂️ [VidCrop] - 支持与反馈 2 | description: "获取有关 VidCrop、报告错误或请求功能的帮助。" 3 | title: '🙋‍♂️ 支持与反馈: VidCrop' 4 | labels: ['support', 'feedback', 'question'] 5 | assignees: 6 | - jaywcjlove 7 | 8 | body: 9 | - type: markdown 10 | attributes: 11 | value: | 12 | VidCrop 请尽可能详细地提供您的支持请求或反馈。 13 | 14 | VidCrop 是一款视频裁剪工具,帮助用户轻松裁剪视频文件。您可以手动选择视频的任意部分进行裁剪,程序内置视频播放器,方便在裁剪前后查看预览。 15 | 16 | ### 联系信息 17 | 18 | 如果您在使用我们的应用时遇到任何问题或需要支持,请随时通过以下方式与我们联系: 19 | 20 | - **电子邮件支持**: [kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com) 21 | - **社交媒体**: [Twitter](https://twitter.com/jaywcjlove) 22 | 23 | 我们会尽快回复您的消息,感谢您对我们应用的支持! 24 | 25 | 26 | - type: textarea 27 | attributes: 28 | label: 🙋‍♂️ 您需要什么帮助? 29 | description: 描述您面临的问题或您想要请求的功能。 30 | placeholder: 例如,我遇到了问题... 31 | validations: 32 | required: true 33 | 34 | - type: dropdown 35 | id: os_version 36 | attributes: 37 | label: "💻 桌面" 38 | description: 您的操作系统和版本。 39 | options: 40 | - macOS 15.0 (Sequoia) 41 | - macOS 14.0 (Sonoma) 42 | default: 0 43 | validations: 44 | required: true 45 | 46 | - type: markdown 47 | attributes: 48 | value: | 49 | **如何向我发送应用程序的崩溃报告?** 50 | 51 | - 在 macOS 上打开 Finder 52 | - 从“前往”菜单中选择 **前往文件夹…** + + G 53 | - 输入:**~/Library/Logs/DiagnosticReports** 54 | - 在出现的列表中,选择所有以应用程序名称开头的文件,将它们压缩成 ZIP 文件并发送给我 55 | - 将文件附加到此问题中 56 | 57 | - type: textarea 58 | attributes: 59 | label: ℹ️ 补充说明 60 | description: 在此添加有关问题的其他上下文信息。 61 | placeholder: 例如:截图、复现步骤等。 62 | validations: 63 | required: false -------------------------------------------------------------------------------- /terms-of-service.md: -------------------------------------------------------------------------------- 1 |

2 | 中文 3 |

4 | 5 | 6 | Terms of Service 7 | === 8 | 9 | Welcome to **VidCrop**! These Terms of Service (hereinafter referred to as "Terms") govern your use of this application (hereinafter referred to as "the App"). Please read these Terms carefully before using the App. Your use of the App indicates your agreement to comply with these Terms. 10 | 11 | ## Service Overview 12 | 13 | **VidCrop** is a video cropping tool that helps users easily crop video files. You can manually select any part of the video for cropping, with a built-in video player for convenient preview before and after cropping. The app supports common video formats including .mp4, .m4v, .mov, .mpg, .mpeg, .3gp, and more. Users can adjust the crop area by dragging or customize video dimensions to precisely crop any part of the video. The App operates offline, and all functions are performed locally without relying on an internet connection. 14 | 15 | ## User Responsibilities 16 | 17 | - You agree to use the App only for lawful purposes and not for any illegal, infringing, or unauthorized use. 18 | - You are solely responsible for your use of the App and any consequences thereof, including compliance with applicable laws and regulations (such as privacy laws and intellectual property laws). 19 | 20 | ## Privacy Protection 21 | 22 | **VidCrop** respects your privacy. The App does not collect, store, or transmit any personal data. All settings and data are stored locally on your device. For more details, please refer to our [Privacy Policy](#). 23 | 24 | ## Disclaimer 25 | 26 | - The App is provided "as is" without any express or implied warranties regarding its availability, accuracy, or suitability for any purpose. 27 | - To the extent permitted by applicable law, the developer shall not be liable for any direct or indirect losses arising from the use of the App, including but not limited to data loss, operational errors, or device issues. 28 | 29 | ## Changes to the Terms 30 | 31 | We may update these Terms from time to time due to functional updates or legal requirements. Changes will be communicated through the App or related channels. Continued use of the App constitutes your acceptance of the updated Terms. 32 | 33 | ## Contact Us 34 | 35 | If you have any questions or suggestions regarding these Terms of Service or our Privacy Policy, please contact us at: 36 | 📧 **[kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com)** 37 | 38 | These Terms of Service are effective as of **Sep 17, 2025**. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- 1 | name: 🙋‍♂️ [VidCrop] - Support & Feedback 2 | description: Get help with VidCrop, report bugs, or request features. 3 | title: '🙋‍♂️ Support & Feedback: VidCrop' 4 | labels: ['support', 'feedback', 'question'] 5 | assignees: 6 | - jaywcjlove 7 | body: 8 | - type: markdown 9 | attributes: 10 | value: | 11 | VidCrop Please provide as much detail as possible about your support request or feedback. 12 | 13 | VidCrop is a video cropping tool that helps you easily crop video files. You can manually select any part of the video to crop, with an integrated video player allowing you to preview before and after cropping. 14 | 15 | ### Contact Information 16 | 17 | If you encounter any issues or need support while using our app, please feel free to contact us through the following methods: 18 | 19 | - **Email Support**: [kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com) 20 | - **Social Media**: [Twitter](https://twitter.com/jaywcjlove) 21 | 22 | We will respond to your message as soon as possible. Thank you for your support of our app! 23 | 24 | - type: textarea 25 | attributes: 26 | label: 🙋‍♂️ How can we help you? 27 | description: Describe the issue you're facing or the feature you'd like to request. 28 | placeholder: For example, I'm experiencing an issue with... 29 | validations: 30 | required: true 31 | 32 | - type: dropdown 33 | id: os_version 34 | attributes: 35 | label: "💻 Desktop" 36 | description: Your operating system and version. 37 | options: 38 | - macOS 15.0 (Sequoia) 39 | - macOS 14.0 (Sonoma) 40 | default: 0 41 | validations: 42 | required: true 43 | 44 | - type: markdown 45 | attributes: 46 | value: | 47 | **How can I send you a crash report for one of your apps?** 48 | 49 | - macOS Open Finder 50 | - Select Go to **Folder…** from the Go menu + + G 51 | - Enter: **~/Library/Logs/DiagnosticReports** 52 | - In the resulting list, select all files that starts with the app name, ZIP them, and send me 53 | - Attach the file to this issue 54 | 55 | - type: textarea 56 | attributes: 57 | label: ℹ️ Additional context 58 | description: Add any additional information that could be helpful. 59 | placeholder: ex. Screenshots, steps to reproduce, etc. 60 | validations: 61 | required: false -------------------------------------------------------------------------------- /privacy-policy.md: -------------------------------------------------------------------------------- 1 |

2 | 中文 3 |

4 | 5 | 6 | Privacy Policy 7 | === 8 | 9 | Thank you for using **VidCrop**! We highly value your privacy. This document explains how we handle your data when you use this app. 10 | 11 | ## Information Collection 12 | 13 | **VidCrop** is a video cropping tool that helps users easily crop video files. You can manually select any part of the video for cropping, with a built-in video player for convenient preview before and after cropping. The app supports common video formats including .mp4, .m4v, .mov, .mpg, .mpeg, .3gp, and more. Users can adjust the crop area by dragging or customize video dimensions to precisely crop any part of the video. All operations are performed locally on your device. 14 | 15 | **Important Note:** VidCrop operates completely offline. It does not collect, store, or transmit any personal information. The app does not connect to remote servers or integrate any third-party services. 16 | 17 | ### a. Local Data Processing 18 | 19 | * All settings and operations are stored only on your local device. 20 | * The app does not record your usage behavior or upload any data. 21 | 22 | ### b. No Logging 23 | 24 | VidCrop does not generate or send any logs. All operations and configurations are performed locally, with no remote communication involved. 25 | 26 | ## Use of Data 27 | 28 | Since VidCrop does not collect or store any user data, there is no use or sharing of data. All of your usage remains private and offline. 29 | 30 | ## Third-Party Services 31 | 32 | VidCrop does not use any third-party analytics tools, advertising platforms, or cloud services, nor does it share or sell user information to any third party. 33 | 34 | ## Data Security 35 | 36 | Since all data is stored locally and the app does not communicate externally, all your settings and usage information are protected by the security mechanisms of macOS. 37 | 38 | ## User Control 39 | 40 | * You may delete all VidCrop data and settings at any time. 41 | * When you uninstall the app, all related data will be permanently removed from your device. 42 | * The app does not perform any cloud backups — all data is fully under your control. 43 | 44 | ## Changes to the Privacy Policy 45 | 46 | We may update this privacy policy from time to time. If there are significant changes, we will notify you through the app or official channels. Please check this page periodically to stay informed of any updates. 47 | 48 | ## Contact Us 49 | 50 | If you have any questions or need further assistance regarding this privacy policy, please contact us at: 51 | 📧 **[kennyiseeyou@gmail.com](mailto:kennyiseeyou@gmail.com)** 52 | 53 | This policy is effective as of **Sep 17, 2025**. 54 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI/CD 2 | on: 3 | push: 4 | branches: 5 | - main 6 | 7 | jobs: 8 | build-deploy: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v4 12 | - uses: actions/setup-node@v4 13 | with: 14 | node-version: 20 15 | 16 | - name: Create Tag 17 | id: create_tag 18 | uses: jaywcjlove/create-tag-action@main 19 | with: 20 | test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' 21 | 22 | - name: Create Released Tag 23 | uses: jaywcjlove/create-tag-action@main 24 | with: 25 | version: ${{ steps.create_tag.outputs.version }} 26 | release: true 27 | body: | 28 | 29 | VidCrop AppStore 30 | 31 | 32 | - name: Get latest tag 33 | id: get_latest_tag 34 | run: echo "LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV 35 | 36 | - name: Create idoc config. 37 | run: | 38 | cat > idoc.yml << EOF 39 | site: "VidCrop {{version:${{ steps.create_tag.outputs.version }}}}" 40 | description: VidCrop is a video cropping tool that helps you easily crop video files 41 | keywords: video crop, video cutter, crop tool, video preview,video trimming, video resize, video tool 42 | favicon: assets/logo.png 43 | logo: ./assets/logo.png 44 | openSource: https://github.com/jaywcjlove/vidcrop 45 | tocs: false 46 | element: 47 | wrapper: style=max-width:720px; 48 | menus: 49 | Home: index.html 50 | Apps: https://wangchujiang.com/#/app 51 | About: https://wangchujiang.com/#/about 52 | sideEffectFiles: 53 | - README.md 54 | - README.zh.md 55 | - CHANGELOG.md 56 | - CHANGELOG.zh.md 57 | - feedback.md 58 | - feedback.zh.md 59 | - terms-of-service.md 60 | - terms-of-service.zh.md 61 | - privacy-policy.md 62 | - privacy-policy.zh.md 63 | footer: | 64 | App • 65 | Projects • 66 | Sponsor • 67 | More Apps

68 | Generated by idoc v{{idocVersion}} 69 | EOF 70 | - run: npm install idoc@1 -g 71 | - run: idoc 72 | 73 | - name: Deploy 74 | uses: peaceiris/actions-gh-pages@v4 75 | with: 76 | commit_message: ${{ github.event.head_commit.message }} 77 | github_token: ${{ secrets.GITHUB_TOKEN }} 78 | publish_dir: ./dist 79 | 80 | --------------------------------------------------------------------------------