Giter Club home page Giter Club logo

model-browser's Introduction

model-browser npm badge

model-browser is a command line tool for browsing local 3D models via a web browser. It currently only supports GLB files.

Installation and Usage

$ npm install -g model-browser
$ model-browser

OR

$ npx model-browser

model-browser [files..]

Positionals:
  files  Path to a directory containing models you want to browse, or a
         list of file paths. Files can also be piped in.

Options:
  -h, --help                                                      [boolean]
  -v, --version                                                   [boolean]
  -p, --port             Port to run the model-browser server on.
                                                   [number] [default: auto]
  -f, --flip             Whether models should be flipped.
                                                 [boolean] [default: false]
  -l, --linear           Whether models should be rendered using linear
                         encoding. The default is sRGB encoding.
                                                 [boolean] [default: false]
  -r, --recursive        Whether files should be listed recursively, if
                         [files] is a directory. [boolean] [default: false]
  -o, --open             Whether model-browser should automatically open
                         your browser. Disable this behavior with
                         --no-open.               [boolean] [default: true]
  -c, --allow-cors       A comma-separated list of origins to allow
                         requests from. Can also be set to '*', but you
                         should understand the security implications first.
                                                                   [string]
  -t, --timeout-minutes  Kill the server if it hasn't received a request in
                         this many minutes. The server will remain running
                         as long as you have model-browser open in a
                         browser tab. Set this to 0 to disable the timeout.
                                                     [number] [default: 15]

A screenshot of model-browser

model-browser's People

Contributors

brianpeiris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

enruilo1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.