Skip to content
🔧 advanced modular discord bot
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
commands Fix Gulp Version, Re-Enable Eval Jan 10, 2019
.eslintrc.json Remove Complexity from aslant Apr 21, 2017
.gitignore Ignore .vscode Mar 19, 2017
config.js Add Comments to Config Options Jun 13, 2018
index.js Add Ability to reload all modules/commands Jun 13, 2018
package-lock.json Fix Security Vulnerabilities in Packages May 13, 2018
package.json Fix Gulp Version, Re-Enable Eval Jan 10, 2019


Brand spanking new Nano with 100% less shit code!
Click here to add Midori to your server!




brew install pkg-config cairo pango libpng jpeg giflib


sudo apt install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++


git clone
cd midori/
npm install


Create a file called keychain.json in the main directory, with the following contents, filling in each line with the appropriate keys needed for each. (Make sure to remove the comments)

    "discord": "", // Discord Bot Token
    "darksky": "", // DarkSky Weather API Key
    "sherlock": "", // Sherlock API Key
    "google": {
        "cx": "", // Google Search API CX
        "search": "", // Google Search API Key
        "geocode": "" // Google Geolocation API Key


You can start Midori by simply typing the following:

npm start

If you wish to run Midori under Production, you can start her with pm2 by using

pm2 start index.js --name "midori" --node-args="--harmony" -- --color

Run with Docker (optional)

If you want to deploy Midori with docker by using the Dockerfile provided, in the directory run

docker build -t midori .

To start simply execute

docker run -d midori

The -d flag means she will be running in the background. If you want to automatically restart her after a crash, docker has the restart always flag which you can use like so:

docker run --restart=always -d midori


Thanks for taking interest in Midori! I've included some build commands through the Gulp build tool, some of which you might find useful.

Run this command to find errors in your syntax.
(You'll need to do this if you plan on submitting any Pull Requests!)

npm run lint

Run this command to start Midori.
You'll need to do this from the root directory

npm start
You can’t perform that action at this time.