Git Product home page Git Product logo

coderunbot's Introduction

CodeRunBot (gaato bot)

What is this

CodeRunBot

It can run codes and render LaTeX.

gaato bot

This is a bot for internal use that adds other functions to CodeRunBot. Also, this is for Japanese speakers.

Links

Requirements

How to run (CodeRunBot)

Set CODERUNBOT_TOKEN in the .env.

with venv (recommended)

$ source /path/to/venv/bin/activate
$ pip install pip-tools
$ pip-sync
$ python -m bots

without venv

$ pip install -r requirements.txt
$ python -m bots

How to run (gaato bot)

Basically the same as CodeRunBot, but set .env to GAATO_BOT_TOKEN, GOOGLE_API_KEY and WOLFRAM_APPID and the execution command is as follows. You also need ffmpeg.

$ python -m bots -g

For developer

Pull requests are welcome. Please use pip-tools to manage packages. Do not rewrite requirements.txt by hand.

coderunbot's People

Contributors

gaato avatar legendmathlava avatar raster0x2a avatar dependabot[bot] avatar

Watchers

 avatar

coderunbot's Issues

Slash commands

/tex -> User inputs on modal -> Bot shows result

And save the user's input and make it editable by pressing the edit button.

Integration with CodeRunBot

Run CodeRunBot again, which had been stopped. So we aim to run two bots by sharing common code in this repository.

ToDo

  • Create the run command
  • Apply for CodeRunBot's message content intent
  • Using ThreadPoolExecutor to run two bots Use different command line arguments

Separate gaato bot

I want to separate gaato bot from this repository because it is complicated.

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.