timetask  by haikerapples

ChatGPT-on-Wechat plugin for scheduled tasks

Created 2 years ago
274 stars

Top 94.3% on SourcePulse

GitHubView on GitHub
Project Summary

This plugin for chatgpt-on-wechat enables users to schedule custom timed messages and trigger other plugins. It targets users of the chatgpt-on-wechat platform who want to automate recurring reminders or actions within their WeChat environment.

How It Works

The plugin intercepts messages starting with a configurable prefix ($time by default). Users can specify a schedule (daily, weekly, specific dates, cron expressions) and a time, followed by the message content or a command to trigger another plugin. It supports plain text reminders and can route specific keywords (like "早报", "点歌", "搜索", "GPT") to other installed plugins, extending their functionality to scheduled tasks.

Quick Start & Requirements

  • Install dependencies: pip3 install -r requirements.txt within the timetask plugin directory.
  • Place the timetask folder into the plugins directory of your chatgpt-on-wechat installation.
  • Requires chatgpt-on-wechat to be installed and running.
  • Supports itchat, ntchat, and ntwork (Windows WeChat/Enterprise WeChat) for message delivery.

Highlighted Details

  • Supports flexible scheduling: daily, weekly, specific dates, and cron expressions.
  • Can trigger other chatgpt-on-wechat plugins for automated actions (e.g., sending news, playing songs, searching).
  • Allows dynamic addition, cancellation, and listing of scheduled tasks via chat commands.
  • Configuration is managed via config.json, allowing customization of command prefixes, debug modes, and extension function mappings.

Maintenance & Community

  • The project is maintained by haikerapples.
  • No specific community links (Discord/Slack) or roadmap are provided in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. The code repository should be checked for license files.
  • Compatibility is tied to the chatgpt-on-wechat project and the supported WeChat clients.

Limitations & Caveats

  • The README does not specify a license, which may impact commercial use or integration into closed-source projects.
  • The time_check_rate is set to 1 second by default, with a note that tasks with seconds might be skipped if this value is not adjusted.
Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.