Skip to content

Open from Other Apps

You can open ChatWise from other apps by using the chatwise:// protocol.

Open a chat

yaml
# open an existing chat
chatwise://chat/chat_id

# open a new chat
chatwise://chat

You can right-click on a chat in the sidebar and select "Copy App URL" to copy the URL of that chat to the clipboard.

Open a chat with options:

yaml
# set the input
chatwise://chat?input=your_message

You can also use a prompt:

yaml
chatwise://chat?input=your_message&prompt=summarize
ParameterDescription
inputContent of the input box, optional.
promptPrompt (ID) to use, optional. See prompts for how to create your own prompts.
assistantAssistant (ID) to use, optional.
modelChange the model ID for this chat, optional. How to get the id
instructionChange the system instruction for this chat, optional.
filesAdd one or multiple files (absolute path), optional. e.g. ?file=/file/a.jpg&file=/file-b.jpg

Use with Popclip

Popclip shows a popup menu with useful actions when you select some text in any app.

Here's an example of Popclip extension that uses ChatWise, you can use it as a reference to create your own extension. Install popclip and then select the following text to add it as an extension:

yaml
#popclip
identifier: app.chatwise.PopClipExtension
name: ChatWise
app:
  name: ChatWise
  link: https://chatwise.app
  check installed: true
  bundle identifiers:
    - app.chatwise
actions:
  - title: Ask
    url: chatwise://chat?input=***
  - title: Summarize
    url: chatwise://chat?input=***&prompt=summarize
  - title: Translate
    url: chatwise://chat?input=***&prompt=translate

This extension adds three actions to the popup menu:

  • Ask: Open a new chat with the selected text as the input.
  • Summarize: Open a new chat with the selected text as the input, and use the summarize prompt.
  • Translate: Open a new chat with the selected text as the input, and use the translate prompt.