Skip to content

zh19980811/badchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badchat

Divider

badchat is a desktop tray toy inspired by badclaude, but with the pause/interruption behavior removed and replaced by custom chat messages.

It lets you crack a whip on screen and auto-send one of your own preset lines into the currently focused chat window. Right now it works well for chat apps like QQ, WeChat, and Telegram Desktop.

Attribution

This project is derived from badclaude by GitFrog1111.

  • The original badclaude repository declares MIT in its package.json.
  • badchat keeps the whip overlay concept and adapts it for desktop chat windows.
  • The terminal interrupt behavior from badclaude was removed and replaced with editable chat message presets.

Features

  • Removes the badclaude terminal interrupt behavior.
  • Sends chat-style messages instead of terminal commands.
  • Supports 5 custom lines that you can edit yourself.
  • Works through normal desktop keyboard input, so it can be used in QQ, WeChat, Telegram, and similar chat windows.

Install + run

npm install
npm start

Or install it globally:

npm install -g .
badchat

How It Works

  1. Open the chat window you want to use.
  2. Make sure the message input box is active.
  3. Click the tray icon to spawn the whip overlay.
  4. Swing the mouse quickly to crack the whip.
  5. On a successful crack, badchat types one random preset line and presses Enter.

Custom Messages

badchat keeps 5 editable lines in a local config file.

  • Use the tray menu item Open Message Config to edit them.
  • Save the file.
  • Use Reload Messages from the tray menu to apply changes.

Example:

{
  "messages": [
    "Reply faster.",
    "Answer the chat.",
    "Stop lurking and respond.",
    "Move this conversation forward.",
    "You have been nudged."
  ]
}

Notes

  • This project does not use official chat APIs.
  • It sends text to the currently focused desktop chat input through simulated keyboard input.
  • Best used with chat windows where Enter means send.
  • See NOTICE for attribution details.

About

A badclaude-inspired tray toy for QQ, WeChat, Telegram, and other desktop chat windows with 5 custom message lines

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors