GithubHelp home page GithubHelp logo

gpi's Introduction

GIMP Plugin Installer

Build Status

Install GIMP plugins from the command line with a simple, easy to use package manager.

Usage

Install from gpi-web:

$ gpi install imguruploader

Uninstall an installed package:

$ gpi uninstall imguruploader

Install from a locally downloaded file:

$ gpi install -f ~/imgur-uploader.tar.gz

Anatomy of a gpi package (aka how to package your plugin)

The root level of a gpi package requires two things: a gpi.json manifest file, and a contents/ directory. The contents/ directory will be extracted directly to the user's GIMP plugin directory, so make sure you only include files necessary for your plugin. You can put other content, like a LICENSE or CHANGELOG, in the root of the package. Files outside of contents/ will be ignored.

Your gpi.json file should look like this:

{
    "version": "0.1.0",
    "name": "Imgur Uploader",
    "identifier": "imguruploader",
    "author": "tschuy",
    "license": "MIT",
    "url": "https://github.com/tschuy/gimp-export-to-imgur",
    "description": "Upload your images to Imgur directly from the Save menu"
}

To test your plugin, pass your .tar.gz to gpi with the -f flag. Open GIMP, and verify your plugin works as expected.

Testing gpi

Currently, gpi has no tests. This is a major issue and will be rectified as soon as possible.

Issues

  1. Remove empty folders on uninstall
  2. Catch duplicate files and disallow uninstallation (or fix GIMP to allow recursive plugin finding)
  3. Install plugins from git
  4. Documentation
  5. Code cleanup
  6. Allow the use of a virtualenv to install packages from pip
  7. Add verbose mode

gpi's People

Contributors

tschuy 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.