Skip to content
项目

关于

在 Apple Notes 中使用 Ollama 与本地 LLM 对话

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

NotesOllama

⚠️ This repository is no longer maintained and is provided as-is.

Use Ollama to talk to local LLMs in Apple Notes. Inspired by Obsidian Ollama. Why should Obsidian have all the nice plugins?

Demo

Stack

  • SwiftUI for user interface
  • AXSwift to access Notes through macOS's accessibility API
  • OllamaKit to interface with Ollama

Usage

Open the project in Xcode to run, or download the binary here.

NotesOllama assumes you have Ollama running on the default macOS port (http://localhost:11434). If you are running Ollama on a different host or port, you need to set the value of the Ollama endpoint in the environment variable NOTESOLLAMA_OLLAMA_BASE_URL.

Custom Prompts

You can change the default prompts by editing the commands.json file inside the NotesOllama executable and restarting from the magic wand menu.

Right click the NotesOllama executable in Finder and select "Show Package Contents" and open Contents/Resources/commands.json in a text editor.

Or use vim: $ vim NotesOllama.app/Contents/Resources/commands.json

Support

If you'd like to support the development of NotesOllama, check out my other plugin NotesCmdr. I think it's even cooler!

License

MIT License

Copyright (c) 2024 Anders Rex

探索相关项目

加载中…