Skip to content

silvanob/midori

 
 

Repository files navigation

Midori

Brand spanking new Nano with 100% less shit code!

Click here to add Midori to your Discord Server!

Prerequisites

macOS

brew install pkg-config cairo pango libpng jpeg giflib

Ubuntu

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

Installation

git clone https://github.com/kurisubrooks/midori.git
cd midori/
npm install

Setup

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
    }
}

Run

To start Midori, you can start her with

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

Development

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

Linting
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
Run this command to start Midori.
You'll need to do this from the root directory

npm start

About

🔧 advanced modular discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%