Skip to main content

chrome_extension_generator

A command-line tool to streamline the creation of Chrome extensions by automatically generating the required boilerplate files.

Why?

Chrome extensions are powerful tools for customizing your browsing experience, but setting up the basic structure can be repetitive. This tool was created to eliminate the tedious part of:

  • Creating the correct directory structure
  • Writing a basic manifest.json with proper Chrome Extension v3 format
  • Setting up initial content scripts
  • Creating documentation

By automating these common tasks, developers can focus on what matters: implementing their extension’s actual functionality.

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/radekosmulski/chrome_extension_generator.git

or from conda

$ conda install -c radekosmulski chrome_extension_generator

or from pypi

$ pip install chrome_extension_generator

Usage

Command Line Interface

After installation, you can use the command line tool directly:

chrome-extension-generate --name "My Extension" --desc "A cool extension" --url "https://example.com/*"

Python API

You can also use it programmatically in your Python code:

from chrome_extension_generator.core import main

Parameters

--name  Name of your extension (required)
--desc  Short description of what your extension does (optional)
--url   URL pattern where your extension will run (optional)
--repo  GitHub repository URL (optional)

Output Structure

your-extension-name/
├── README.md
├── manifest.json
└── content.js

Each file is pre-populated with the provided information and formatted for easy reading and editing.

Metadata

Release files for chrome-extension-generator 0.0.6

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

Source distribution (sdist)

Source distribution for chrome-extension-generator 0.0.6
File Size Uploaded
chrome_extension_generator-0.0.6.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chrome-extension-generator 0.0.6
File Interpreter ABI Platform
chrome_extension_generator-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / chrome_extension_generator-0.0.6.tar.gz

Download URL chrome_extension_generator-0.0.6.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7487a3947ef0275bbca1cc28b7dbe747989b87b01035a4aba458f7cb446246c0
BLAKE2b-256 checksum
How to use checksums
72a5e600e14328bdccd85d6bf48cd97f8b20d461d78bf0675ef64f2c692e13e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / chrome_extension_generator-0.0.6-py3-none-any.whl

Download URL chrome_extension_generator-0.0.6-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45f7a77f233712c7b914d8f125471fd399b95d5f988d20ae8f741408827ffd1b
BLAKE2b-256 checksum
How to use checksums
e5bbc9907f4c4cafd254ac93e57607ee99b1ca5828b38e805619162723d56fb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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