Commit Graph
21 Commits
Author SHA1 Message Date
kiruno 9543a5a86f feat: Add Homebrew Cask install option (#322)
Adds Casks/openless.rb + update-cask.yml workflow + README install docs. Closes #254 #5.

Note: Formula/openless.rb known to fail in Homebrew sandbox (per author); will be removed in follow-up. Cask version will be bumped to current 1.2.23 in same follow-up.
2026-05-07 20:32:35 +08:00
cooper 188efa7e68 docs: add Cooper to developer list 2026-05-07 19:59:38 +08:00
H-Chris233 13ccf85a48 Store credentials in the system vault
Provider credentials should follow the platform credential-store threat model instead of continuing normal plaintext JSON writes. The vault now stores the existing multi-provider credentials payload in the OS credential store, migrates the legacy JSON file only when the vault has no entry, removes the legacy file after a successful write, and keeps raw credential IPC restricted to the main settings window.

Constraint: User explicitly chose Keychain/Credential Manager/Linux keyring for issue #230.

Constraint: Preserve the existing provider schema and active-provider routing with minimal frontend churn.

Rejected: Keep plaintext JSON as the documented product choice | user rejected this direction.

Rejected: Split every credential field into separate vault entries | larger migration surface and risks losing active provider state.

Confidence: medium

Scope-risk: moderate

Directive: Security-model and storage-strategy choices must be confirmed with the user before implementation.

Tested: cargo check --manifest-path src-tauri/Cargo.toml; npm run -s build; git diff --check; grep for stale plaintext/Keychain fallback wording.

Not-tested: Manual migration on macOS Keychain, Windows Credential Manager, or Linux desktop keyring.

Related: https://github.com/appergb/openless/issues/230
2026-05-06 14:39:40 +08:00
whoa bfc718323b docs(readme): document macOS-only qwen-asr submodule init step 2026-05-06 06:29:38 +08:00
H-Chris233 2861a30cbe Add end-of-file acknowledgements for sponsors, developers, and LinuxDo community
README updates now place a unified acknowledgement section near the end (before License) in both English and Chinese, explicitly thanking sponsors, developers/contributors, and the LinuxDo community with a neutral non-endorsement disclaimer.

Constraint: Keep existing sponsor/developer showcase blocks intact while adding final acknowledgement wording

Rejected: Put acknowledgement near top profile blocks | user requested end-of-file placement

Confidence: high

Scope-risk: narrow

Directive: Keep acknowledgement wording neutral and avoid implying official affiliation

Tested: Manual README markdown diff review

Not-tested: Render preview in GitHub UI
2026-05-04 20:26:11 +08:00
Chris233 d08f649f15 docs(readme): add Chris233 to Developers section 2026-05-03 17:55:00 +08:00
baiqing bba13b1b42 docs(readme): 增加官方网站 openless.top 链接
在中英 README 顶部加官方网站链接,并在描述段落中补一句官网地址,方便读者直达。
2026-05-03 16:37:51 +08:00
baiqing cd41267483 docs(readme): jiangmuran 移到赞助商栏
上一个 PR 把 jiangmuran 错放到了开发者栏。修正:

- 赞助商栏(Sponsors):悠雾云数据 + jiangmuran,圆形头像 48×48
  与悠雾云 logo 高度(48)对齐
- 开发者栏(Developers):仅 TRIP

英文 sponsor → Sponsors(多于一个)。
2026-05-03 15:53:24 +08:00
baiqing 64b9132553 docs(readme): 加开发者栏目(圆形头像)+ 资源整理
- 新增"开发者 / Developers"栏(QQ 群、赞助商之下):
  - TRIP — https://tripmc.top/
  - jiangmuran — https://jiangmuran.com/
- 头像本地化到 assets/people/,每张 200×200 圆形透明 PNG
  (ffmpeg geq alpha mask 抗锯齿;GitHub markdown sanitizer 不支持
  border-radius 内联样式,预处理图片是唯一稳定路径)
- 赞助商栏(悠雾云数据)保留不动
2026-05-03 15:48:50 +08:00
baiqing 36afec52ba docs(readme): 加赞助商悠雾云数据栏目
QQ 群下方新增「赞助商 / Sponsor」一栏,内容:
- 名称:悠雾云数据
- 站点:https://www.knin.net (logo + 文字均可点击跳转)
- Logo:https://www.knin.net/upload/logo.png(按文件名语义择 logo.png;
  另一张 login.png 看起来是后台登录配图,暂不用,必要时一行替换)

中英文 README 同步。
2026-05-03 15:17:30 +08:00
baiqing 1683224403 docs(readme): 更新到 v1.2 — 双语 / auto-update / single-instance;清理 Swift 遗留
- Status (v1.1) → (v1.2);加 i18n / 自动更新 / 单实例锁 / push-to-talk / vocab hits 累计
- Whisper 已上线,从 roadmap 移到当前状态
- 移除 Swift legacy build / 发版指引(Swift 整套已在 commit 34d2823 删除)
- Architecture 段从'Sparkle for legacy users'改为'Tauri updater 签名 artifact'
- Roadmap 加上 #43(翻译模式)+ #46(风格记忆);都是当前 open feature issue
- 维护者发版检查加 TAURI_SIGNING_PRIVATE_KEY secret 提示

中英 README 同步改。
2026-04-30 17:53:11 +08:00
TRIPandbaiqing 7a3a51a1ed fix(readme): 修复 README 中破损的图片引用 (#80)
Resources/AppIcon.png 已在 commit 170283e(清理 Swift 残留)中删除,但 README.md
和 README.zh.md 顶部的 hero 图片仍然指向它,GitHub 上显示破图。

改为指向 Tauri 自身的图标:openless-all/app/src-tauri/icons/128x128@2x.png

Co-authored-by: baiqing <lbx12309@icloud.com>
2026-04-30 14:27:46 +08:00
Chris233 85045c3ff4 chore(repo): 统一项目目录命名 (#39)
* Remove fragile space from active app path

The Tauri app lived under a path containing a literal space, which made CI paths and local commands easy to quote incorrectly. Rename the active tree to openless-all and update repository references so scripts, docs, and release workflows use the same space-free path.

Constraint: Preserve the existing app layout and move only the containing directory name.

Rejected: Add compatibility symlinks | would keep two app paths and leave quoting hazards in place.

Confidence: high

Scope-risk: moderate

Tested: npm run build

Tested: cargo clean && cargo check

Tested: git diff --check

Tested: grep -R for old openless -all and openless%20-all references

* Keep Windows build docs aligned with space-free path

The app directory was renamed to openless-all, but the GNU/MinGW route still described the new name as if it contained a space. Update the wording so the rationale matches the current path and keeps the helper-script guidance focused on consistent GNU setup.

Constraint: Documentation-only code review follow-up.

Confidence: high

Scope-risk: narrow

Tested: git diff --check
2026-04-30 10:44:31 +08:00
baiqing 7f83bca5b6 docs: 更新 README / USAGE / CLAUDE.md 至 Tauri v1.1 现状
- 两个 README 改为描述 Tauri 2 + Rust + React/TS,macOS 12+ 和 Windows
- Badges:去掉 Swift/macOS15+,加 Tauri/Rust/Windows/macOS12+
- 状态章节:v1.0 Swift → v1.1 Tauri
- 构建说明:Tauri 优先,Swift 降为 legacy
- 架构章节:更新为 Tauri 模块表
- Roadmap:删除已完成项(Developer ID + Sparkle)
- 下载说明:更新为 DMG/MSI 安装流程
- 发布检查:更新为 tag CI 流程
- 新增 USAGE.md(快速上手指南,中文)
- QQ 群号 1078960553 加入显眼位置(README 标题区 + USAGE)
- CLAUDE.md:补充 whisper ASR、HotkeySettingsContext、cargo check
2026-04-30 09:12:31 +08:00
TRIPandbaiqing 56c3e09983 feat: hold-to-talk + UX fixes + structured prompt overhaul
* feat: add hold-to-talk hotkey mode (closes #1)

OpenLessHotkey now emits explicit .pressed / .released edge events on
the modifier-key trigger; the coordinator interprets them per the new
HotkeyMode preference (toggle stays the default, hold = press-and-hold).

Hold mode rules: .pressed on idle starts the session; .released stops
it from .listening; releasing during .starting cancels (no audio
useful was captured yet). Esc-cancel sets a one-shot suppress flag so
the trailing .released after a cancel does not re-trigger end.

Settings hub gets a "录音方式" segmented picker and a one-line hint
explaining the tradeoff. Bump version to 1.1.0; update README roadmap
and USAGE walkthrough to document the new mode.

* test: update HotkeyEventTests for pressed/released split

* chore: tag hold-to-talk build as 1.0.01 / A1003

* fix: stop window-background drag eating text selection; add eye toggle on secret fields

Settings window had isMovableByWindowBackground = true, so any drag
inside the content view dragged the whole window — making it
impossible to select words inside a TextField. Disable it; the native
title-bar strip (with the traffic lights) still drags the window.

PasteableCredentialField now exposes an eye / eye.slash toggle when
secure: true, so users can verify pasted API keys before saving.

* fix: stop pretending polish ran when it was skipped or errored

When the user removes the Ark API key (or the Ark call errors out),
DictationCoordinator was still showing the green "已插入" capsule and
recording the session in history under the originally-selected polish
mode. From the user's side it looked like polish had succeeded, even
though only the raw transcript reached the cursor.

Track a PolishOutcome (ok / skippedNoCredentials / failed) through
insertText. Capsule now uses a new CapsuleState.warning (orange) state
to surface honest messages — "已插入原文 · 未润色" / "润色失败 · 已用原文" —
and history saves the session as PolishMode.raw whenever polish
didn't actually run. The error capsule + 1.5s artificial sleep that
preceded a fake "success" insert is gone; warning state stays for the
normal 2.5s.

* feat(polish): make Structured mode prompt force a 1./1)/a. hierarchy

Some weaker chat models would emit a single flat list when the user
asked for Structured polish, even when the dictation clearly covered
multiple topics. The mode is meant to produce something pasteable as
an AI prompt or a working doc, not a wall of bullets.

Rewrite the .structured system prompt to be prescriptive: when the
input contains ≥2 themes, emit three explicit levels — top "1./2./3."
sections, "1)/2)/3)" sub-points indented 3 spaces, and "a./b./c."
detail items indented another 3 — and to fall back to a plain
paragraph when the input is short / single-topic. Add a concrete
format example so weaker models have a pattern to copy.

---------

Co-authored-by: baiqing <lbx12309@icloud.com>
2026-04-27 18:57:41 +08:00
baiqing 1f155b8e40 docs: make English the default README, swap Talk reference for Typeless
Promote the English README to README.md and move the Chinese version to
README.zh.md so the default GitHub view ships in English. Replace the
incorrect "Talk (Talktastic)" reference in the comparison and intro
with Typeless (typeless.com), which is the actual product OpenLess is
positioned against. Update the cross-language switch in both files.
2026-04-27 16:48:15 +08:00
baiqing d138b0f590 docs: add hero icon, badges, and a concrete AI-prompt example
Add a centered icon header pulling Resources/AppIcon.png, language switch,
and shield badges for release / license / macOS / Swift / stars. Lead with
a tangible "say this, get this prompt" SQL example so the AI-prompt
positioning is obvious within the first screenful. Mirror in English.
2026-04-27 15:44:54 +08:00
baiqing 7dbdd0f002 docs: position OpenLess as an open-source alternative to Wispr Flow / Talk / Lazy
Reframe README around the AI-prompt use case (dictate loose speech →
get a usable AI prompt) and mark OpenLess as the open-source
counterpart to Wispr Flow, Talk (Talktastic), Lazy, and Superwhisper.
Add a comparison table, a "why open source" section, and use cases.

Add an English mirror at README.en.md and cross-link both languages.
2026-04-27 15:31:17 +08:00
baiqing c78bb44c23 chore: cut 1.0.0 release with usage docs and MIT license
Bump APP_VERSION to 1.0.0 / BUILD_NUMBER to 1; refresh README to clarify
project direction and add quarantine-removal guidance for the unsigned
release artifact; add USAGE.md as the end-user walkthrough; add MIT LICENSE.
2026-04-27 15:25:28 +08:00
baiqing 4f8e6b914e feat: add dock main window and fixed navigation 2026-04-27 14:07:12 +08:00
baiqing f5a0c810fa feat: add dictionary hotwords and insights UI 2026-04-27 13:53:18 +08:00