Skip to main content

A simple utility CLI tool for packaging and maintaining chrome extensions.

Project description

CHROMIE

A simple utility CLI for packaging and maintaining chrome extensions.

Installation

pip install chromie

Usage

Create an empty project within the cwd.

chromie init
>> What is the name of your project?
hello world

results:

hello world/
├── dist/
│   └── web store/
├── src/
│   ├── images/
│   └── manifest.json
└── .zipignore

You can skip the prompt using the name flag

chromie init -n "hello world"

Create a zip file containing all folders in the src directory excluding those listed in .zipignore.

cd hello world
chromie pack
>> How would you like to increment the version?
>> Options are either 'major', 'minor', or 'patch':
patch

results:

hello world/
├── dist/
│   ├── web store/
│   └── hello world-0.0.1.zip
├── src/
│   ├── images/
│   └── manifest.json
└── .zipignore

Chromie helps maintain semantic versioning specification and provides two options for specifying the version.

Increment manifest version number based on type.

chromie pack -i major

Set manifest version to a specific number.

chromie pack -v 1.0.0

Store key-value pairs to the .chromie/settings.json file.

chromie config email hello@world.com

hello world/.chromie/settings.json
{
  "email": "hello@world.com"
}

Web Store Deployment using a service account

The following requires that the .chromie/settings.json file includes email, client_email, client_id, and private_key for authentication.

hello world/.chromie/settings.json
{
  "email": "hello@world.com",
  "client_email": "",
  "private_key": ""
}

Upload chrome extension zipfile to the Google Web Store.

chromie upload

Update chrome extension Web Store with the latest chrome extension archive.

chromie update

Publish chrome extension to the Google Web Store.

chromie publish

License

The MIT License (MIT)

Copyright (c) 2020 Steffen Andersland

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromie-0.3.3.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

chromie-0.3.3-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file chromie-0.3.3.tar.gz.

File metadata

  • Download URL: chromie-0.3.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for chromie-0.3.3.tar.gz
Algorithm Hash digest
SHA256 3cd0f95c41cb76de77196d080a0eec3f70d2321d25f5dca06de8f946fced6f66
MD5 4fb48f472111ed832dddee00e4346208
BLAKE2b-256 5099402f738226020b293b01bf4459aeced3f353237329020f705b8d2ceeeb42

See more details on using hashes here.

File details

Details for the file chromie-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: chromie-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for chromie-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c14abc7eb0f9b02a3fe9a9c664ab9f8e8a889877185663ee17d36b5aa09e0855
MD5 6db1fa812ced1bb3906ad0b2e81511c6
BLAKE2b-256 61b0ef4d00662ab5e1d047687d5ac81d06e2ec9e035ca9a9605f95dd09647fb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page