Raycast Personal Tools banner
leolionart leolionart

Raycast Personal Tools

AI community

Description

Raycast extension to use AI with proxy API

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

NAAI Toolkit for Raycast

Store URL: https://www.raycast.com/naai-studio/naai-toolkit

Raycast extension nội bộ cho **NAAI STUDIO**, gộp 2 nhóm tính năng chính:

  • Translator Toolkit: dịch nhanh, dịch đoạn đang chọn và thay thế trực tiếp, lịch sử dịch, expand nội dung.
  • Water Toolkit: log lượng nước, xem lịch sử theo ngày, snooze/resume nhắc nhở ngay trong giao diện.

Minh hoạ

![AI Translator Screenshot](https://cdn-std.droplr.net/files/acc_692205/91Hous)


Commands hiện có

1) `translator-preview` (view)

Command chính cho dịch thuật:

  • Preview dịch và copy/paste nhanh
  • Form mode (chọn source/target language)
  • History mode (xem/xoá lịch sử)
  • Expand mode (mở rộng nội dung và copy/paste theo ngôn ngữ)
  • View Full Result để tập trung đọc nội dung dài

2) `translator-selection` (no-view)

Dịch đoạn đang chọn trong app hiện tại và **paste đè trực tiếp** kết quả đã dịch.

3) `water-log` (view)

Command chính cho theo dõi nước:

  • Log nước thủ công
  • Xem lịch sử theo ngày
  • Xoá log
  • Snooze / Resume nhắc nhở trong UI

Cấu hình (Preferences)

Mở Raycast → Extensions → **NAAI Toolkit**.

Translator

  • translatorApiKey
  • translatorApiUrl (chỉ cần base URL, ví dụ https://api.openai.com/v1)
  • translatorModel
  • translatorPrimaryLanguage
  • translatorSecondaryLanguage

Water

  • waterDailyGoal
  • waterDefaultAmount
  • waterReminderInterval
  • waterWebhookUrl
  • waterEnableNotifications
  • waterEnableConfetti
  • waterHabitifyApiKey
  • waterHabitifyHabitId
  • waterNocodbApiToken
  • waterNocodbTableId

Hiệu năng dịch

Translator đã được tối ưu cho nội dung dài:

  • One-call detect + translate (giảm round-trip)
  • Cache kết quả dịch theo input/model/base URL
  • Tự tách đoạn khi văn bản quá dài và dịch song song, sau đó nối lại

Chạy local

npm install
npm run lint
npm run build
npm run dev

Publish private store (NAAI STUDIO)

`package.json` đã cấu hình:

  • author: `leol