JeevesChatbot for Stack Overflow

联合创作 · 2023-09-30 02:10

Jeeves


Chat bot for StackOverflow. Uses amphp libraries for async magic sauce.


Build Status


Requirements



  • PHP 7.1 or greater.

  • php_intl PHP extension.

  • php_mbstring PHP extension.

  • libxml, version 2.7.8 or greater due to use of LIBXML_HTML_NOIMPLIED and LIBXML_HTML_NODEFDTD .


Installation



  1. Clone the project.

  2. Copy config/config.sample.yml to config/config.yml.

  3. Replace all configuration variables with your values.

  4. Run the bot using php ./bin/jeeves.


JAAS (Jeeves as a Service)


If you want to run the bot as a systemd service:



  1. Copy config/jeeves.sample.service to /etc/systemd/system/jeeves.service.

  2. Replace the path with your installation location.

  3. Make sure the bin/jeeves file is executable

  4. If you want to service to automatically start run systemctl enable jeeves

  5. Start the service using systemctl start jeeves


Optional Dependencies



  • For true non-blocking execution, install one of the following:


Documentation


Documentation is something other people do. Despite this, there is some information in the wiki


License


The source code of this project is licensed under the MIT license.

浏览 14
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报