Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

platte

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

platte

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Platte

Build Status Coverage Status

Plattenbau

(Transport of Plattenbau parts in Karl-Marx-Stadt, GDR, 1975 CC BY-SA 3.0 de Deutsche Fotothek)

Platte is a small command line tool that combines static HTML pages from modules. It is named after the german word Plattenbau which is a way of building houses based on pre-fabricated parts.

Plattenbau

Installation

Platte requires a ruby environment with version 2.3 or higher. To install, run:

gem install platte

Usage

After the gem installation, platte is available in command line. It lets you combine a static HTML file from a given set of modules. Modules are folders with some configuation files and code in it and sit in the modules subfolder of the tool. They come in two flavours:

  1. Main modules names, ending with .main – usually they hold the surrounding HTML structure with placeholders for resources
  2. Other modules names end with .module – they are building blocks you can freely combine together as the body of a main module

You can use the platte command as follows:

list

platte list

This call shows you which modules are available in your system.

combine

platte combine <TARGET FILE> <MAIN MODULE> <MODULE 1> ... <MODULE N>

This lets you combine a single main-module with any number of other modules to a given target file.

Example call:

platte combine some/output/file.html html5 header content

Module structure

TODO More docs

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kiefernwald/platte.

FAQs

Package last updated on 27 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc