btzr-io / Villain

A free and open source web-based comic book reader.
https://villain.js.org
MIT License
256 stars 102 forks source link
archive comic comic-books comics-reader libarchive react reader viewer

Villain logo

The open source web-based comic book reader that you need, but don't deserve.

npm Open Collective sponsors GitHub contributors GitHub license Lerna


Screen preview

What?

A simple open source web-based reader for:

Works on the client side and is easy to integrate on any modern website or react application.

How?

It relays on cutting-edge web apis and frameworks like react, webworkers and webAssembly:

Features

A killer feature is missing ? Open a feature request

Formats

Supported archives formats by libarchive.js

Development

This repository is now a mono-repo and is maintained with lerna

Setup

Before you jump in the code please follow the initial setup guide for development:

  1. Clone or fork this repository.
  2. Run yarn command to install the project dependencies.
  3. Run yarn bootstrap to install all dependencies from internal packages and link any cross-dependencies.

Thats it! Now you are ready to start fixing bugs and implementing new features. :tada:

Packages

Available packages living inside this repository:

Name version Description
villain-web 0.0.1 (beta) web app + embed api
villain-react 1.0.7 react component

Commands

Available package scripts for development:

Name Description
deploy Deploy villain-web to github pages
bootstrap Bootstrap the packages in the current mono repo
start:web Start development webpack-dev-server (includes hot-reloading) of villain-web
build:web Build production version of villain-web
start:react Start development webpack-dev-server (includes hot-reloading) of villain-react
build:react Build production version of villain-react
docs:copy Prepare documents for docsify-cli
docsify:serve Serve docsify generated document on localhost:3000
yarn command-name

Known issues

Credits