Code Monkey home page Code Monkey logo

misskey-trigram-bot's Introduction

Misskey Trigram Bot

Misskey で動く日本語おしゃべり Bot です。 タイムラインのノートの内容を学習して、学習した内容を元に発言します。

Dependencies

  • Python 3.11 or above
  • Redis

Setup

Install dependencies

pip3 install -r requirements.txt

Get API Token

Misskey > 設定 > API からアクセストークンの発行を選択します。以下の権限を付与します。

  • ノートを作成・削除する

Run

# 利用する環境に応じて、以下の環境変数を適切に設定してください
export SERVER_URL="wss://misskey.io/streaming"
export API_TOKEN="上記で取得したアクセストークン"

export REDIS_HOST="localhost"
export REDIS_DB="0"

export SPEAK_INTERVAL="3600"

python3 main.py

misskey-trigram-bot's People

Contributors

yuma-m avatar

Watchers

 avatar

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.