Skip to main content

Colony Framework

Project description

Colony Gateway (NPAPI Plugin)

NPAPI-based plugin that provides a series of native features like:

  • Printing using direct access to the printing infra-structure of the operative system
  • Creation of native-based GUI elements

The current implementation supports only x86/x64 architectures and Windows, Linux, and Mac OS X.

Building

To build both the CRX (Google Chrome) and the XPI (Mozilla Firefox) files for the plugin one should use the scripts created for such effect under the scripts directory. The automated process assumes the Windows build process using the Visual Studio IDE.

Windows

Use Visual Studio 2008 Express for compilation with no additional dependencies. The build process should create the plugin files in the output.

Mac OS X

Download the Gecko SDK 1.9 32 bit from the official website.

Use the /Library/Internet Plug-Ins/ directory to test the plugin while the proper extension package file is not created. Remember to rename the *.bundle package into an *.plugin based package.

Linux

Use the /usr/lib/mozilla/plugins/ directory to test the *.so based plugin file for development purposes. Mozilla Firefox should be the primary browser for the debugging of the NPAPI-based plugin.

Python

It's also possible to build a Python module that exports the functionality in the NPAPI Plugin for running the python script as python setup.py install under an UNIX-based machine.

Packaging

Google Chrome

Create a package file containing references to the complete set of plugin files for the various platforms as defined in the src/colony_npapi/descriptors/manifest_u.json file.

"plugins" : [{
    "path" : "npcolony.dll",
    "public" : true
}, {
    "path" : "libnpcolony.so",
    "public" : true
}, {
    "path" : "npcolony.plugin",
    "public" : true
}]

Copy the proper files (npcolony.dll, libnpcolony.so and npcolony.plugin) into the proper release directory and then run the make_all build script to create the target files (eg: cbx and xpi).

make_all build <dir>

Examples

There's an examples directory containing HTML samples to test the plugin.

License

Colony Gateway is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status PyPi Status License

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

npcolony-1.2.10.tar.gz (48.1 kB view details)

Uploaded Source

File details

Details for the file npcolony-1.2.10.tar.gz.

File metadata

  • Download URL: npcolony-1.2.10.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for npcolony-1.2.10.tar.gz
Algorithm Hash digest
SHA256 0d1b9ae7981ebbb1f73f0a9983e2c74b1d5fc2c4be60ce367b3a236407a263a9
MD5 a0977f525e2d6b646652d55067be3dbb
BLAKE2b-256 9a1143c78cc53878978747c988a9dd22ea7ade12711f763b23f483d439f4f1ce

See more details on using hashes here.

Supported by

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