Skip to main content

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.

Release files for chromie 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chromie 0.3.3
File Size Uploaded
chromie-0.3.3.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chromie 0.3.3
File Interpreter ABI Platform
chromie-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 37.3 kB

Release files / chromie-0.3.3.tar.gz

Download URL chromie-0.3.3.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3cd0f95c41cb76de77196d080a0eec3f70d2321d25f5dca06de8f946fced6f66
BLAKE2b-256 checksum
How to use checksums
5099402f738226020b293b01bf4459aeced3f353237329020f705b8d2ceeeb42
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / chromie-0.3.3-py3-none-any.whl

Download URL chromie-0.3.3-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c14abc7eb0f9b02a3fe9a9c664ab9f8e8a889877185663ee17d36b5aa09e0855
BLAKE2b-256 checksum
How to use checksums
61b0ef4d00662ab5e1d047687d5ac81d06e2ec9e035ca9a9605f95dd09647fb0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page