Code Monkey home page Code Monkey logo

kaori's Introduction

Discord Status Weekly Stats

I write code.

kaori's People

Contributors

cas-c avatar dependabot-preview[bot] avatar dependabot[bot] avatar icrawl avatar renovate[bot] avatar shaynlink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kaori's Issues

CLI?

Hey there! I currently have consider writing myself a little CLI for this app...but it'd be nice to have a more "official" one. Are you planning on adding any?

Error: Commonify didn't recieve any images.

Error: Commonify didn't recieve any images.
at Promise (/home/spaceboyross/senpaiheat-discord/node_modules/kaori/src/Kaori.js:74:56)
at new Promise ()
at Kaori._commonify (/home/spaceboyross/senpaiheat-discord/node_modules/kaori/src/Kaori.js:73:10)
at fetch.then.then.images (/home/spaceboyross/senpaiheat-discord/node_modules/kaori/src/Kaori.js:47:35)
at
at process._tickCallback (internal/process/next_tick.js:189:7)

Not really an issue

is there any way to set the search command to be sfw
edit: Close it i didnt see the sites hehe....

Cannot find module './sites'

When I use kaori by copy/pasting the example from the readme, I get this error:
Error: Cannot find module './sites' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/mnt/c/Dev/kaoris/node_modules/kaori/src/Kaori.js:6:15) ...etc etc

Moving sites.json into src/ fixes it for me. I was going to fork/commit/pr etc but I figured I'm doing something wrong / it's not really a new feature
node 7.9.0 / npm 4.2.0

tag exclusion?

how feasible is it to exclude tags just like how you search with them?

something like this:

kaori.search('danbooru', { tags: ['cat'], exclude: ['outside'], limit: 1, random: true })
    .then(images => console.log(images[0].common.fileURL))
    .catch(err => console.error(err));

so the returned query would have cats that are not outside

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.