I write code.
icrawl / kaori Goto Github PK
View Code? Open in Web Editor NEW๐ป Your friendly neighbourhood violinist bringing you the best booru images
License: MIT License
๐ป Your friendly neighbourhood violinist bringing you the best booru images
License: MIT License
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?
Title says it all. All i need is to get the tags that the post had
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)
is there any way to set the search command to be sfw
edit: Close it i didnt see the sites hehe....
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.