Skip to content

A chat alfred-workflow that integrates multiple popular large language model (LLM) services, including OpenAI, Anthropic, Gemini, etc

License

Notifications You must be signed in to change notification settings

xuyecan/alfred-chathub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon Alfred-Chathub

A chat tool that integrates multiple popular large language model (LLM) services, including OpenAI, Anthropic, Gemini, etc. Currently supports:

  • OpenAI
  • Anthropic
  • Gemini
  • Qwen

With the release of Alfred version 5.5, Alfred officially provided the ChatGPT Workflow, but it only supports OpenAI integration. When I installed and used it, my OpenAI API Key happened to be banned. Moreover, the ChatGPT Workflow is mainly based on JXA (JavaScript for Automation), which is difficult to extend. Therefore, I rewrote it in Python and extended support for other LLM services such as Anthropic and Gemini. Now, introducing support for a new LLM service is very easy.

Prerequisites

  1. You need to choose an LLM service, register an account on its official website, and obtain an API Key.
  2. Install python3, ensuring that /usr/bin/env python3 -c "import sys; print(sys.executable)" prints the correct path to your python3.

Here is how to get those api-keys:

Usage

  1. Install the workflow. Typically, you just need to download the latest version from the release page and click to install it.
  2. Perform basic configuration. You need to select a provider, and set the corresponding Api Key, Model. If necessary, set a proxy.

Main Config

  1. Make sure the endpoint is correct.

Endpoint Config

  1. Enjoy.

Tip: Enhance your user experience by adding hotkey triggers. After installation, the workflow's hotkey triggers are initially unset. We recommend using Ctrl + Shift + Z to open chat history and Ctrl + Shift + X to start a new chat, but feel free to customize these to your liking.

Hotkey Setting

Showcase

Ask Chathub

Chat

Chat History

About

A chat alfred-workflow that integrates multiple popular large language model (LLM) services, including OpenAI, Anthropic, Gemini, etc

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages