• Stars
    star
    161
  • Rank 226,167 (Top 5 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp

Packaging scripts

libvips and its dependencies are provided as pre-compiled shared libraries for the most common operating systems and CPU architectures.

During npm install, these binaries are fetched as tarballs from this repository via HTTPS and stored locally within node_modules/sharp/vendor.

The base URL can be overridden using the npm_config_sharp_libvips_binary_host environment variable.

https://sharp.pixelplumbing.com/install#custom-prebuilt-binaries

Creating a tarball

Most people will not need to do this; proceed with caution.

Run the top-level build script without parameters for help.

Linux

One build script is used to (cross-)compile the same shared libraries within multiple containers.

Windows

The output of libvips' build-win64-mxe static "web" releases are post-processed within a container.

macOS

Uses a macOS virtual machine hosted by GitHub to compile the shared libraries. The dylib files are compiled within the same build script as Linux.

  • x64 (native)
  • ARM64 (cross-compiled)

Dependency paths are modified to use the relative @rpath with install_name_tool.

Licences

These scripts are licensed under the terms of the Apache 2.0 Licence.

The shared libraries contained in the tarballs are distributed under the terms of various licences, all of which are compatible with the Apache 2.0 Licence.

More Repositories

1

sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
JavaScript
27,645
star
2

limax

Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.
JavaScript
572
star
3

farmhash

Node.js implementation of FarmHash, Google's family of high performance hash functions
JavaScript
378
star
4

highwayhash

Node.js implementation of HighwayHash, Google's fast and strong hash function
JavaScript
210
star
5

avif-cli

Command line utility to convert images to AVIF
JavaScript
139
star
6

hepburn

Node.js module for converting Japanese Hiragana and Katakana script to, and from, Romaji using Hepburn romanisation
JavaScript
124
star
7

64

High performance Base64 encoding and decoding for Node.js using SIMD (AVX2, AVX, SSE4.2, SSE4.1, SSSE3) acceleration
JavaScript
108
star
8

attention

No longer maintained - Node.js module to detect the dominant palette and salient region of an image
C++
56
star
9

detect-libc

Node.js module to detect details of the C standard library (libc) implementation provided by a given Linux system
JavaScript
55
star
10

icc

JavaScript module to parse International Color Consortium (ICC) profiles
JavaScript
54
star
11

shorter

Node.js module to very quickly (de)compress short strings. Uses the SIMD-powered entropy encoding features of shoco.
JavaScript
32
star
12

nginx-cache

Node.js module to find files in an Nginx cache based on partial URL keys
JavaScript
25
star
13

media-type

JavaScript module to parse and validate RFC6838 media types, anything from 'text/plain' to 'application/vnd.company.app.entity-v2+xml;charset=utf8'
JavaScript
15
star
14

libimagequant

libimagequant v2.4.1 fork (BSD-2-Clause) with support for building and cross-compiling via meson
C
11
star
15

uk-postcode

Node.js module for parsing and validating UK postcodes
JavaScript
11
star
16

cc

Code style linter for C++ source files used in Node.js native addons
JavaScript
10
star
17

cgif-packaging

Packaging scripts for cgif
Shell
8
star
18

package-libvips-darwin

Superseded by https://github.com/lovell/sharp-libvips
Ruby
5
star
19

deephouse.uk

Nunjucks
5
star
20

petra

Embed a caching, reverse HTTP proxy into an existing distributed ES6 web application
JavaScript
5
star
21

libvips-cpp-dll

DEPRECATED
JavaScript
2
star
22

aarch64-linux-musl-crosstools

Cross-compiler toolchain to produce linuxmusl-arm64v8 binaries on linuxmusl-x64
C++
2
star
23

rampart

Reverse HTTP proxy backed by distributed memory cache. Designed to protect APIs from intense GET request traffic spikes.
JavaScript
1
star
24

wi-scrapbook

Stoke Ferry WI Scrapbook 1965. Images are licensed under a Creative Commons BY-NC-SA 4.0 International License.
JavaScript
1
star
25

broad-norfolk

English to Broad Norfolk Translator
JavaScript
1
star
26

lovell.info

JavaScript
1
star
27

sharp-osx-ci

DEPRECATED
1
star
28

counted

Capture, store and track download_count values for assets distributed via Github Releases
JavaScript
1
star