Giter Site home page Giter Site logo

botot2's Introduction

botot2

Misskey インスタンス上で動作するチャットボットです。

  • 日本語の文章を形態素解析して学習し、リプライが飛んできたら支離滅裂な返答をします。
  • 与えられた日本語の文章の係り受け木を描画します。
  • 与えられた Asciimath または LaTeX 形式の数式を描画します。

A chatbot that works on Misskey instances.

Install

You need to have MeCab and CaboCha installed on your computer.

  1. $ git clone https://github.com/private-yusuke/botot2
  2. $ cp config-sample.json config.json
  3. $ mkdir db
  4. $ nano config.json
    • replace i with your token
  5. $ npm install
  6. $ npm run build
  7. $ npm start
    • You can use forever start --killSignal=SIGINT built/ instead.

Modules

内部名(name) 説明(Description)
admin 管理者向けモジュール (module for administrator)
auto-follow フォロバ自動化 (automatic follow-back)
dice サイコロをふる (roll dices)
emoji-list インスタンスに登録された絵文字の列挙 (emoji list)
greeting 挨拶を返す (respond with greeting)
kakariuke-graph 係り受け木の描画 (render the structure of Japanese sentence)
markov-speaking 学習して返答する (learn Japanese sentences and generate replies)
contains filtering feature
math 数式の描画 (render Asciimath, LaTeX), AsciiMath -> LaTeX conversion
othello-redirect contains "othello" -> reply "cc: @ai"
ping /ping -> pong!

各モジュールはconfig.jsonでオンオフの設定ができます。 Each module can be either enabled or disabled by modifying config.json.

config.jsonのその他の設定については、各モジュールのソースコードを参照してください。 For other settings in config.json, please see the source codes of each module.


Issue や Pull Request は大歓迎!気づいたことがあれば、ぜひ積極的に教えてください。 We appreciate your issues and pull requests! If you have noticed something, please tell me asap.

Twitter: @public_yusuke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.