/ninja

A web viewer for CityJSON files

Primary LanguageVueApache License 2.0Apache-2.0

ninja logo ninja

ninja is a web viewer for CityJSON files. It supports most features as described by the CityJSON specification.

ninja stands for "ninja is not just azul" to tease azul, the best macOS CityJSON viewer!

Use

Public version

You can run ninja without installation by visiting ninja.cityjson.org.

Installation

Initialize the cityjson-vue-components git submodule:

git submodule init
git submodule update

Install all dependencies:

yarn install

Compile and run for development

yarn run dev

You can visit the local version at: http://localhost:9080/dist/index.html.

Compile and run for production

yarn run build

Dependencies

ninja uses cityjson-vue-components and cityjson-threejs-loader to handle things.

Other frameworks used:

Docker

Build

docker build -t pejmans21/cityjson -f .docker/Dockerfile .

Run

docker run -ti --name cityjson --restart always -p 9080:9080 pejmans21/cityjson