npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ricemood

v0.0.2

Published

So you change your wallpaper? Of course you want the rice to match your wallpaper

Downloads

27

Readme

ricemood

this tool is not plug and play.

The purpose of this tool is to match your color scheme with your wallpaper.

How this work?
in regular configuration file you write color like this:
color0 #FFFFFF

ricemood take file containing something like this:
color0 ^r@Vibrant>lighten(10)^
parse that file and overwrite the original configuration file

With help of these amazing library:

  • node-vibrant for generating very meaningful colors from an image
  • color for providing functions to filter colors

Quick Link > Example File | My Own Setup

Installation : npm install -g ricemood

You can set it to your :

  1. i3 config
  2. terminal color scheme
  3. svg icon file
  4. The possibility are endless!

sample6

       _
      (_)
  _ __ _  ___ ___
 | '__| |/ __/ _ \          _
 | |  | | (_|  __/         | |
 |_|__|_|\___\___| ___   __| |
 | '_ ' _ \ / _ \ / _ \ / _' |
 | | | | | | (_) | (_) | (_| |
 |_| |_| |_|\___/ \___/ \__,_|

Usage: ricemood [options]

Options:
  -i, --image <path>   path to target image
  -f, --file <path>    path to file that gonna be parsed 
  -s, --swatch <path>  path to swatch json file 
  -a, --apply [file]   apply from configuration file
  -h, --help           output usage information
Opening tag : ^r  
Closing tag : ^

Function symbol

| symbol | description | example | | ------ | ---------------------------- | ----------------------------- | | @ | Choose color | @Vibrant | | > | Pipe color to various filter | @Vibrant>lighten(0.2)>sa(0.5) | | # | Choose color output | @Vibrant#rgb, @Vibrant#r |

Color Name List

Prefix : @


| alias | full | | ----- | ------------ | | V | Vibrant | | LV | LightVibrant | | DV | DarkVibrant | | M | Muted | | LM | LightMuted | | DM | DarkMuted |

Pipe / Chaining

Symbol : >

| alias | description | default parameter | | ----- | -------------------- | ----------------- | | ge | grayscale | No param | | ne | negate | No param | | ttc | get title text color | No param | | btc | get body text color | No param | | da | darken | 0.5 | | li | lighten | 0.5 | | de | desaturate | 0.5 | | sa | saturate | 0.5 | | wh | whiten | 0.5 | | bl | blacken | 0.5 | | fa | fade | 0.5 | | op | opaquer | 0.5 | | ro | rotate | 90 | | r | red | 255 | | g | green | 255 | | b | blue | 255 | | h | hue | 255 | | s | saturationl | 255 | | l | lightness | 255 |

Color Format

| format | example output | parameter | default | | ------ | -------------- | --------- | ------- | | | #FFFFFF | none | | hex | FFFFFF | None | | rgb | 255,255,255 | separator | , | | hsl | 255,255,255 | separator | , | | r/g/b | 255 | None | | h/s/l | 255 | None |

Screenshots

These screenshots have the same configuration file sample1 sample1 sample1 sample1