Skip to content

A program to maintain a list of Chromium extensions, check for updates and package them as Debian packages.

Notifications You must be signed in to change notification settings

subgraph/chromium-extension-packager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Chromium Extension Packager

This program helps maintain a list of chromium extensions, check them for update by fetching and parsing its webstore page, downloading any available updates, and packaging them as Debian packages. Once done, it generates a package and source index for using as a local apt repository.

Building & Installing

A Debian package is provided using git-buildpackage in the debian branch.

The package provides a cron to check for updates twice a day, and installs the local repository to the apt sources.

Usage

This program expects to run as root, or as _apt.

COMMANDS:
	list     [uuid] Print extensions information
	add      <uuid> Add an extension to the list
	remove   <uuid> Remove an extension from the list
	update   [uuid] Update extension(s) package(s)
	help, h         Shows a list of commands or help for one command
$ sudo chromium-extension-packager add --fetch gcbommkclmclpchllfjekcdonpmejbdp

$ sudo chromium-extension-packager update gcbommkclmclpchllfjekcdonpmejbdp
Building HTTPS Everywhere (gcbommkclmclpchllfjekcdonpmejbdp) version 2017.10.4...
Extension pack already exists, skipping download.
Building package template to: /var/lib/chromium-extension-packager/repo/https-everywhere-2017.10.4
Successfully built extension package for HTTPS Everywhere (gcbommkclmclpchllfjekcdonpmejbdp) version 2017.10.4.

$ sudo apt update -o Dir::Etc::sourcelist="sources.list.d/local-chromium-extensions.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
[...]

$ apt policy chromium-extension-https-everywhere
chromium-extension-https-everywhere:
  Installed: (none)
  Candidate: 2017.10.4
  Version table:
     2017.10.4 500
        500 file:/var/lib/chromium-extension-packager/repo ./ Packages

$ sudo apt install chromium-extension-https-everywhere
[...]

About

A program to maintain a list of Chromium extensions, check for updates and package them as Debian packages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published