kwaroran 847a1553bb feat: add navigation to modified lines in prompt comparison (#723)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
This PR adds a small improvement to the prompt comparison functionality.

When the two prompts are different, the tooltip overview now enables
clicking on modified parts to navigate directly to the corresponding
lines.

Previously, finding the modified parts required manual scrolling. With
this update, it becomes much easier to locate and review the changes,
even for very long prompts.

When navigating to a modified part, the target line is highlighted in
yellow for 1 second to indicate the clicked location.



https://github.com/user-attachments/assets/577973cc-18d0-4e73-814e-7ba01bb9950c


For mobile devices, this functionality has been tested on iOS 16.7.

If there are any suggestions for improvement or concerns about the
implementation, feedback is greatly appreciated. It’s completely
understandable if this PR needs to be rejected or revised further.

Thank you for taking the time to review this!
2025-01-17 22:53:57 +09:00
2024-12-25 22:27:48 +09:00
2024-09-06 02:45:49 +09:00
2024-10-13 01:29:12 +09:00
2024-08-12 23:48:14 +09:00
2024-10-13 01:29:12 +09:00
2024-09-10 22:09:58 +09:00
2024-09-10 22:09:58 +09:00
2025-01-06 00:30:33 +09:00
2024-12-27 05:09:32 +09:00
2025-01-06 00:30:33 +09:00
2024-10-13 01:46:57 +09:00
2024-10-25 18:11:00 +09:00

RisuAI

text

Svelte Typescript Tauri

RisuAI, or Risu for short, is a cross platform AI chatting software / web application with powerful features such as multiple API support, assets in the chat, regex functions and much more.

Screenshots

Screenshot 1 Screenshot 2
Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4

Features

  • Multiple API Supports: Supports OAI, Claude, Ooba, OpenRouter... and More!
  • Emotion Images: Display the image of the current character, according to his/her expressions!
  • Group Chats: Multiple characters in one chat.
  • Plugins: Add your features and providers, and simply share.
  • Regex Script: Modify model's output by regex, to make a custom GUI and others
  • Powerful Translators: Automatically translate the input/output, so you can roleplay without knowing model's language.
  • Lorebook: Also known as world infos or memory book, which can make character memorize more.
  • Themes: Choose it from 3 themes, Classic, WaifuLike, WaifuCut.
  • Powerful Prompting: Change the prompting order easily, Impersonate inside prompts, Use conditions, variables... and more!
  • Customizable, Friendly UI: Great Accessibility and mobile friendly
  • TTS: Use TTS to make the output text into voice.
  • Additonal Assets: Embed your images, audios and videos to bot, and make it display at chat or background!
  • And More!

You can get detailed information on https://github.com/kwaroran/RisuAI/wiki (Work in Progress)

Discord

Installation

Docker Installation

You can also run RisuAI using Docker. This method is particularly useful for web hosting.

  1. Clone the repository:

    git clone https://github.com/kwaroran/RisuAI.git
    cd RisuAI
    
  2. Build and run the Docker container:

    docker-compose up -d
    
  3. Access RisuAI at http://localhost:6001 in your web browser.

Description
No description provided
Readme 62 MiB
Languages
TypeScript 58.9%
Svelte 35.1%
JavaScript 4.4%
Rust 0.5%
Lua 0.3%
Other 0.7%