No Partying Mariachis

    bildx
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.3 • Public • Published

    BildX

    Tests status

    The self-hosted version of imgix for micro projects. PRs are welcome.

    Getting started

    Install from via npm

    $ npm i bildx
    

    Create a instance, and call start. Put images in storage

    import BildX from "bildx"
    import { resolve } from "path"
     
    const BILDX_PORT = process.env.BILDX_PORT || 4000
     
    const bildx = new BildX({
      storage: new BildX.Storage(resolve(__dirname, "./storage")),
      cache: new BildX.Storage(resolve(__dirname, "./cache")),
    })
     
    bildx.start(BILDX_PORT).then(() => console.log(`BildX deployed on ${BILDX_PORT}`)

    Tests

    $ npm test
    

    WIP

    • Implement all the APIs imgix provides
    • Support for S3 and/or Firebase Storage
    • Redis cache layer with TTL

    Install

    npm i bildx

    DownloadsWeekly Downloads

    4

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    18.6 kB

    Total Files

    15

    Last publish

    Collaborators

    • adamazad