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

boowa

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boowa

☁️☁️🚂☁️☁️ colorful blog generator

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

boowa

= a fun blog generator


API stability test status npm version code style: standard code style: standard

Table of Contents

Themes

Let's see some boowa blogs first, will add more themes later:

Features

  • colorful: provide kinds of styles to take your fancy
  • simple: few tips to play your blog
  • support offline: keep reading even if there's no wifi
  • very modern: works very well with async functions (node 7.6+)
  • fast as lightning: it takes almost no time to generate a blog!

Quick Start

  1. Install boowa globally
npm install boowa -g
  1. Make a directory to generate your blog
mkdir myBlog && cd myBlog
boowa
  1. Select one style from the inquiring list

  2. Start a development server

npm run start

Why my name is boowa

boowa is built with:

  • bankai - 🚉 - friendly web compiler
  • choo - 🚂 4kb framework for creating sturdy frontend applications
  • awoo - 🔸 declarative small site generator

so, boowa

API

boowa

Generate a new blog app in a empty directory

app structure

Actually a choo app yeah~, but you only need to handle markdown files and _config.json

boowa create

Run this command to generate a new markdown file contains the necessary structure, and it will build the html file automatically:

⚠️ Put content in markdown-body:

_config.json

This file contains metadatas like name, email etc.

boowa build

After edit _config.json or modify markdown files, run this command to generate new templates.

npm run start

Start a development server

npm run build

Compile all files to dist/

boowa serve <port | 8080>

Boowa has a simple built-in server , after npm run build && cd dist, run this command to serve the production code.

update the newest code

After install the newest boowa, run boowa in the boowa-existed directory, this update would not rewrite the markdown files and _config.json.

support offline locally

Service-worker works under https in production mode, so if you want to test the offline function locally, for chrome, run this command first:

/Applications/Google\ Chrome.app/Conts/MacOS/Google\ Chrome --user-data-dir=/tmp/foo --ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=http://localhost:port

You will see ServiceWorker registration successful with scope: http://localhost:port/ in the developer tool, if service-worker register successfully.

License

MIT

FAQs

Package last updated on 23 May 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