Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bootprint/bootprint
Converts json into a static html page using Handlebars and Bootstrap, this repository has moved to https://github.com/bootprint/bootprint-monorepo/tree/master/packages/bootprint
https://github.com/bootprint/bootprint
Last synced: 4 months ago
JSON representation
Converts json into a static html page using Handlebars and Bootstrap, this repository has moved to https://github.com/bootprint/bootprint-monorepo/tree/master/packages/bootprint
- Host: GitHub
- URL: https://github.com/bootprint/bootprint
- Owner: bootprint
- License: mit
- Created: 2015-03-13T20:46:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T10:08:55.000Z (almost 6 years ago)
- Last Synced: 2024-04-15T01:10:20.209Z (8 months ago)
- Language: HTML
- Homepage:
- Size: 295 KB
- Stars: 60
- Watchers: 4
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# bootprint
[![NPM version](https://img.shields.io/npm/v/bootprint.svg)](https://npmjs.com/package/bootprint)
[![Travis Build Status](https://travis-ci.org/bootprint/bootprint.svg?branch=master)](https://travis-ci.org/bootprint/bootprint)
[![Coverage Status](https://img.shields.io/coveralls/bootprint/bootprint.svg)](https://coveralls.io/r/bootprint/bootprint)
[![Greenkeeper badge](https://badges.greenkeeper.io/bootprint/bootprint.svg)](https://greenkeeper.io/)> Converts json and yaml into a static html page using Handlebars and Bootstrap
![Bootprint logo](artwork/bootprint-logo.svg)
`Bootprint` is a tool for converting JSON-files into static HTML-pages using [{less}](http://lesscss.org),
[Bootstrap](http://getbootstrap.com) and [Handlebars](http://handlebarsjs.com).It is designed with flexibility in mind:
* You can easily modify the styling by providing your own {less}-files.
* You can easily replace the Handlebars template and any register partial
* You can include custom handlebars-helpers or override existing ones.
* You can create packages with default-configurations, publish them on [npm](http://npmjs.org)
and use them as base for further customizations.# Installation
```
npm install -g bootprint
```## Usage
After installing `bootprint` perform the following steps
```bash
# Install template module
npm install -g bootprint-openapi
# Run bootprint with the template
bootprint openapi http://petstore.swagger.io/v2/swagger.json target
```The directory "target" should now contain a file `index.html` and `main.css` which contain a [readable
form](https://bootprint.knappi.org/public-apis/petstore.swagger.io/v2/swagger.json.html) of the [Swagger-Petstore-Example](http://petstore.swagger.io/).## Further documentation Documentation
* **[Command line interface](doc/cli.md)** - How to use Bootprint from the command line.
* **[JavaScript Usage](doc/js.md)** - How to call Bootprint from JavaScript.
* **[JavaScript API-Reference](doc/api.md)** - How to call Bootprint from JavaScript.
* **[Configuration Options](doc/config.md)** - How to customize Bootprint for your own purposes.
* **[Developing modules](doc/modules.md)** - How to create your own modules for bootprint
* **[Release Notes](CHANGELOG.md)**## Available modules
* **[base](https://npmjs.org/package/bootprint-base)** contains a basic template
as a base for other modules.
* **[json-schema](https://npmjs.org/package/bootprint-json-schema)** creates readable docs from
[JSON-Schema-Definitions](http://www.json-schema.org)
* **[swagger](https://npmjs.org/package/bootprint-swagger)** creates readable docs from
[Swagger definitions](http://swagger.io).# License
`bootprint` is published under the MIT-license.
See [LICENSE](LICENSE) for details.
# Release-Notes
For release notes, see [CHANGELOG.md](CHANGELOG.md)
# Contributing guidelinesSee [CONTRIBUTING.md](CONTRIBUTING.md).