Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Malvid/Malvid
UI to help you build and document web components.
https://github.com/Malvid/Malvid
cli component-builder component-library components static-site-generator
Last synced: 3 months ago
JSON representation
UI to help you build and document web components.
- Host: GitHub
- URL: https://github.com/Malvid/Malvid
- Owner: Malvid
- License: mit
- Created: 2017-05-10T08:13:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T15:49:33.000Z (almost 3 years ago)
- Last Synced: 2024-07-18T14:42:04.288Z (4 months ago)
- Topics: cli, component-builder, component-library, components, static-site-generator
- Language: JavaScript
- Homepage: https://malvid.electerious.com
- Size: 929 KB
- Stars: 359
- Watchers: 13
- Forks: 21
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Malvid
[![Travis Build Status](https://travis-ci.org/Malvid/Malvid.svg?branch=master)](https://travis-ci.org/Malvid/Malvid) [![Coverage Status](https://coveralls.io/repos/github/comwrap/Malvid/badge.svg?branch=master)](https://coveralls.io/github/comwrap/Malvid?branch=master) [![Dependencies](https://david-dm.org/comwrap/Malvid.svg)](https://david-dm.org/comwrap/Malvid#info=dependencies) [![Greenkeeper badge](https://badges.greenkeeper.io/Malvid/Malvid.svg)](https://greenkeeper.io/)
UI to help you build and document web components.
![Malvid UI in a browser](https://s.electerious.com/images/malvid/readme.png)
## Contents
- ๐ [Get started](#get-started)
- ๐ [Introduction](#introduction)
- ๐ [Links](#links)
- โ๏ธ [Documentation](#documentation)## Get started
### Guide
Malvid can be integrated into your project in two ways: Using the CLI *or* using the API of Malvid. Check out our guide for more information. [Get started with Malvid ยป](docs/Get%20started.md)
### Demo
The website of [Malvid](https://malvid.electerious.com) is open-source and built entirely with Malvid. You can take a look at the components and how they are made in the [repository of the website](https://github.com/Malvid/website).
## Introduction
### What is Malvid?
Malvid helps you to build, document and visualise components by turning a directory into an interactive UI.
### How does it work?
1. You execute Malvid using the CLI *or* using the API
2. Malvid scans the folder you've specified and generates a static HTML output
3. You open the output in your browser to start browsing through your components### Why Malvid?
- It visualises components in a way that improves how your team works with components
- It doesn't force you to use a defined directory structure, templating language or build tool
- It integrates perfectly with [Rosid](https://rosid.electerious.com)
- It's built on popular modules like [React](https://reactjs.org)
- It's lightweight and only includes what it really needs### What are components?
Components are independent and reusable pieces of a project. A component could be a tiny chunk of HTML, a whole page or something in between. Malvid does not enforce any specific templating engine or naming conventions for those components.
## Links
Boilerplates:
- ๐ [Skeleton Components](https://github.com/electerious/Skeleton-Components): UI for components written in Nunjucks, JS (with Babel, UglifyJS) and SASS (with cssnano, Autoprefixer)
Guides:
- ๐ [Get started](docs/Get%20started.md)
- ๐ [Integrations](docs/Integrations.md)
- ๐ [Inspector tabs](docs/Inspector%20tabs.md)Resources:
- ๐ฌ๐ฉ๐ช [Scalable Front-Ends with Web Components and Malvid](https://www.youtube.com/watch?v=4o-WHDXjNgo&index=8&list=LL5lfEWoNEhOh1SDcVlr37iQ&t=0s)
- ๐ [Sharing components between front-end and back-end](https://medium.com/@electerious/sharing-components-between-front-end-and-back-end-1e9a624bceae)
- ๐ [Styleguide](docs/Styleguide.md)Similar tools:
- ๐ [Fractal](https://fractal.build)
- ๐ [Pattern Lab](https://patternlab.io)Sites powered by Malvid:
- ๐ [Malvid](https://malvid.electerious.com)
- ๐ย [Commerz Real AG](https://www.commerzreal.com)## Documentation
### Requirements
Malvid depends on...
- [Node.js](https://nodejs.org/en/) (v8.9.0 or newer)
- [npm](https://www.npmjs.com)Make sure to install and update all dependencies before you setup Malvid.
### Interface
The interface of Malvid puts the focus on your components. This chapter gives you an overview about it's possibilities. [Interface ยป](docs/Interface.md)
### Hotkeys
Navigate through your components using the hotkeys provided by Malvid. [Hotkeys ยป](docs/Hotkeys.md)
### API
Malvid can be integrated into your project using its API *or* CLI. The API gives you more flexibility and allows you to use Malvid in your existing asset pipeline or toolset. [API ยป](docs/API.md)
### CLI
The CLI of Malvid is located in the `bin` folder and allows you to run Malvid without adding JS files to your project. This approach is simpler than using the API, but provides less flexibility. [CLI ยป](docs/CLI.md)
### Components
Malvid scans folders and detects all components in the given structure. This chapter explains how to store and manage components and how to add additional information to the UI using a configuration file. [Components ยป](docs/Components.md)
### Integrations
The API of Malvid allows you to use your existing asset pipeline or toolset together with Malvid. This includes Rosid, Gulp, NPM scripts and other systems. [Integrations ยป](docs/Integrations.md)
### Options
If you want more control over Malvid, pass an object of options to it. [Options ยป](docs/Options.md)
### FAQ
Answers to frequently asked questions. [FAQ ยป](docs/FAQ.md)