8000 GitHub - andrienko/subtlepatterns: Get meta and download all patterns from subtlepatterns.com
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrienko/subtlepatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm install subtlepatterns

Subtle patterns download tool

Just a simple tool that can:

  • get actual patterns meta in JSON format from subtlepatterns website
  • download the patterns, unpack them and generate meta file with files and palette information.

The patterns are under CC BY-SA 3.0 license. So play nicely and leave a credit when you use them. The generated meta files contain the meta from the website (author and link (if any), as well as description)

Read FAQ at subtlepatterns.com for more.

Usage

To use as a lib (why would you need that? Whatever...) you can simply require the package (there is a bin.js file, see it for usage example). The methods the lib exposes are promise-based, but the API may be imperfect...

To download the patterns (files) and build JSON with meta - install package globally via npm (npm install -g subtlepatterns) and run subtlepatterns in command line under any directory you have write access - and the files should be downloaded to patterns directory under current working directory.

Adding a --colors parameter will also download palette for the colors.

List

Completely different mode is running subtlepatterns list - it will simply skim through all the patterns pages, grab the meta and output it as array into stdout.

Of course, you can pipe the output via something like subtlepatterns list > patterns.json.

About

Get meta and download all patterns from subtlepatterns.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0