展示HN:我开发了一款Mac应用,可以在你重命名文件时自动转换文件格式。

1作者: imfavourite大约 2 个月前原帖
嗨,HN, 我在 macOS 上反复遇到同样令人烦恼的工作流程后,创建了 Morpholder。 每次需要转换文件时,我都得打开转换器,上传文件,再下载回来,然后再移动到 Finder。每当我已经知道需要的格式时,这种过程总让我觉得不必要。 于是我尝试了一个不同的想法:如果重命名文件实际上就能完成转换呢? Morpholder 监视文件夹,并在文件扩展名更改时执行实际转换。 例如: favicon.png → favicon.ico photo.heic → photo.jpg video.mov → video.gif video.mp4 → audio.mp3 但它还解锁了一些超越简单转换的工作流程: - 在图像后面添加 _nobg → 背景自动去除(使用苹果的主题检测) - 将图像重命名为 .txt → 从图像中提取文本,使用实时文本功能 - 添加 _min → 压缩图像以适应网页,同时保持质量 - 将图像重命名为 .icns → 构建 macOS 应用图标包 - 在 PDF 后面添加 _pages → 将每一页导出为高分辨率图像 该应用在菜单栏中运行,并在本地处理所有内容。 我很好奇 HN 社区的想法——特别是如果你们有其他基于后缀的工作流程的想法。 [https://morpholder.com](https://morpholder.com)
查看原文
Hi HN,<p>I built Morpholder after repeatedly running into the same annoying workflow on macOS.<p>Every time I needed to convert a file I had to open a converter, upload the file, download it again, and move it back to Finder. It always felt unnecessary when I already knew the format I needed.<p>So I tried a different idea: what if renaming the file actually converted it?<p>Morpholder watches folders and performs the real conversion when the extension changes.<p>For example:<p>favicon.png → favicon.ico photo.heic → photo.jpg video.mov → video.gif video.mp4 → audio.mp3<p>But it also unlocks some workflows beyond simple conversions:<p>- Append _nobg to an image → background is removed automatically (uses Apple’s subject detection) - Rename an image to .txt → text is extracted from the image using Live Text - Append _min → compress image for the web while preserving quality - Rename an image to .icns → builds a macOS app icon package - Append _pages to a PDF → exports each page as high-resolution images<p>The app runs in the menu bar and processes everything locally.<p>Curious what the HN community thinks — especially if you have ideas for other suffix-based workflows.<p><a href="https:&#x2F;&#x2F;morpholder.com" rel="nofollow">https:&#x2F;&#x2F;morpholder.com</a>