Hacker News 中文摘要

RSS订阅

显示HN:Mini-Diarium——一款加密、本地、跨平台的日记应用 -- Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

文章摘要

mini-diarium是一个加密的本地跨平台日记应用,支持在多个平台上安全地记录个人日记,数据存储在本地并经过加密保护。

文章总结

Mini Diarium:一款加密的跨平台本地日记应用

项目概述

Mini Diarium 是一款基于 Tauri、SolidJS 和 Rust 构建的加密日记应用,主打隐私保护。所有日记内容均通过 AES-256-GCM 加密,数据完全本地存储,无需网络连接。项目继承自已停止维护的 Mini Diary,并进行了全面重构。

核心特性

  1. 加密与安全

    • 采用 X25519 密钥文件认证(类似 SSH 密钥)和密码双重解锁机制
    • 主密钥随机生成,通过 AES-256-GCM 加密所有日记条目
    • 支持多设备密钥管理,可独立撤销单个设备的访问权限
  2. 功能亮点

    • 富文本编辑器
    • 日历导航和日期跳转
    • 数据导入/导出(支持 JSON、Markdown 等格式)
    • 自动备份与统计功能
    • 暗黑/明亮主题切换
  3. 跨平台支持

    • 提供 Windows(.msi/.exe)、macOS(.dmg)和 Linux(.AppImage/.deb)版本

技术架构

  • 前端:SolidJS + TipTap 编辑器 + UnoCSS
  • 后端:Rust(Tauri 2)处理加密和数据库操作
  • 加密方案:X25519 ECIES 密钥封装 + Argon2 密钥派生
  • 数据存储:本地 SQLite 数据库

安装说明

  • macOS 用户:首次运行需执行终端命令 xattr -cr "/Applications/Mini Diarium.app" 绕过 Gatekeeper 限制
  • Windows 用户:需手动点击"更多信息"→"仍要运行"通过 SmartScreen 过滤
  • Linux 用户:建议安装前校验 SHA256 哈希值

项目状态

  • 当前版本:v0.2.1(2026年2月发布)
  • 开源协议:MIT License
  • 代码仓库:114 Stars,2 Forks

延伸功能

该项目由 Francisco J. Revoredo 主导开发,完全开源且不收集任何用户数据。

评论总结

评论内容总结:

1. 界面设计与功能

  • 正面评价:用户喜欢简洁美观的界面设计。
    • "Looks really cool, I like the pretty but minimalist interface." (spangry)
    • "I love the minimalism of the UI." (kantord)
  • 改进建议:建议在README中嵌入高质量视频以提升展示效果。
    • "GitHub now allows you to embed a proper video in your README." (kantord)

2. 数据存储与加密

  • 支持云端存储:用户建议将加密后的SQLite文件存储在Google Drive等云端,实现多设备访问。
    • "Could I store the SQlite file on, say, google drive so that I could access my journal from different devices?" (spangry)
    • "The SQLite-on-cloud-drive approach mentioned in another comment is actually pretty solid." (cranberryturkey)
  • 加密方案讨论:部分用户认为AES-256-GCM足够安全,但也有人担心密码丢失风险。
    • "SQLite with AES-256-GCM is about as future-proof as you can get." (cranberryturkey)
    • "I don’t want a journal with unbreakable encryption where I lose all my data if I ever lose the key." (saberience)

3. 长期维护与兼容性

  • 担忧项目持续性:用户担心项目停止维护后数据访问问题。
    • "However, how do one access their diary, when you stopped maintaining it?" (Brajeshwar)
    • "I’m worried about these new projects and their longevity." (otterpro)
  • 建议通用格式:推荐使用纯文本或Markdown等通用格式,配合独立加密工具(如Cryptomator)。
    • "It should be in a format easily readable by most tools (so a Plain-Text or a MarkDown at best)." (Brajeshwar)
    • "For simplicity, I’d use gocryptfs, Veracrypt, or other general file-based encryption." (otterpro)

4. 跨平台与移动端需求

  • 移动端缺失批评:指出当前工具缺乏移动端支持是主要短板。
    • "The biggest problem is that this is not available on mobile platforms." (g947o)
  • 替代方案推荐:用户推荐Obsidian、Rclone等工具实现跨平台加密同步。
    • "I’m using obsidian and cryfs." (CafeRacer)
    • "Here’s another approach using Rclone and an editor of your choice." (alabhyajindal)

5. 安全性质疑

  • 加密实现风险:对自制加密系统的安全性提出质疑。
    • "key reuse, and probably other issues in a homebrew cryptosystem that wraps AES." (sneak)
    • "Until the OS needs more memory and swaps your secrets out." (hackingonempty)

6. 其他反馈

  • 命名冲突:指出与另一款付费日记应用重名。
    • "There already is another, unrelated 'Diarium' journaling app." (8x)
  • 技术兴趣:用户对Tauri框架和加密实现细节表示兴趣。
    • "Using Tauri is also very interesting. How did you find using it for this simpler case?" (desireco42)

关键争议点:

  • 安全性 vs 便利性:部分用户坚持强加密(如AES-256-GCM),而另一部分更看重数据可恢复性(如通过邮箱找回)。
  • 专用工具 vs 通用方案:争论集中在是否应使用专用日记工具,还是通用加密工具搭配文本编辑器。