Coder Social home page Coder Social logo

pwa-tools's Introduction

AASAAM PWA Tool

Build Status Coverage Status Up to date Up to date Vulnerabilities

Generic tools for generate optimized icons and manifest for your PWA.

Requirements

GNU/Linux (prefer Ubuntu) via installed following packages:

sudo apt install potrace librsvg2-bin imagemagick netpbm

Installation

sudo npm install -g @aasaam/pwa-tools --unsafe-perm

Usage

Initialize AASAAM config

pwa-tools init

After init the aasaam configuration default generated and you can modify to generate items.

// .aasaam
{
  "meta": {
    "appName": "AASAAM Software Group",
    "appShortName": "AASAAM",
    "appDescription": "AASAAM Software Group - Dadeh Pardazan Ati Prozheh",
    "developerName": "AASAAM Software Group - Development",
    "developerURL": "https://github.com/AASAAM"
  },
  "humans": { // humans.txt
    "team": [
      {
        "Original developer": "AASAAM Development Group",
        "Location": "Tehran, Iran"
      }
    ],
    "thanks": [
      "Node",
      "GNU/Linux"
    ],
    "site": {
      "Standards": "HTML5, CSS3, JavaScript",
      "Components": "Vue.js, Normalize.css",
      "Softwares": "VSCode, Atom, GNU nano"
    },
    "note": "Built with love by AASAAM Software Group"
  },
  "path": { // relative path on cwd on pwa-tools command
    "logo": "logo.svg",
    "public": "public",
    "iconsPath": "img/icons"
  },
  "favicons": { // https://github.com/itgalaxy/favicons
    "density": 900, // svg density for scale
    "path": "/img/icons",
    "dir": "ltr",
    "lang": "en-US",
    "background": "#ffffff",
    "theme_color": "#ffffff",
    "appleStatusBarStyle": "black-translucent",
    "display": "standalone",
    "orientation": "any",
    "scope": "/",
    "start_url": "/?home-screen=1",
    "version": "0.0.1",
    "logging": false,
    "pixel_art": false,
    "loadManifestWithCredentials": false,
    "icons": {
      "android": true,
      "appleIcon": true,
      "appleStartup": true,
      "coast": true,
      "favicons": true,
      "firefox": true,
      "windows": true,
      "yandex": true
    }
  }
}

Show modified config:

pwa-tools show-config

Generate icons ans stuff

pwa-tools generate-icons

pwa-tools's People

Contributors

mhf-ir avatar snyk-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.