media-up-igid
v1.3.5
Published
Sibling to an authorization gateway. This provides upload of media to configured repositories
Readme
Media Up IGID
media-up-igid is a copious-transitions-apps package. This package handles secondary transition processes required to finalize a media upload to persistence services. These transactions are keyed by Intergalactic identities.
The npm page: media-up-igid
media-up-igid uses sessions created by captcha-igid and finalizes the upload of media files. media-up-igid delivers the file to persistence services by adding the file to a respository via repository-bridge. The persistence service will be expected to pin the media file on its hard drive, which may move the file into drives internal to a micro-cloud or which may inject the file into a p2p file sharing system.
copious-transitions is a generalized framework for handling state transtitions from web clients as well as from message-relay-services endpoints. copious-transitions-apps are descendants of the CopiousTransitions class exported from copious-transitions
Intergalactic identities may be obtained on the of-this.world website. At the following address: of-this.worldig/igid-creator/
Installation
media-up-igid is an npm package: media-up-igid
The media-up-igid package provides a bash command line which can be accessed if the package is installed globally as such:
npm install -g media-up-igidThis installation will create a script link in the bin directory configured for your npm. You should be able to confirm its installation with the following command:
which igid-uploadrunning the program
The igid-upload program will run if a configuration file can be read from the working directory. If the working directory contains a configuration file with the name, igid-media-up-service.conf the program can be run by just entering the command name:
igid-uploadOtherwise, a configuration file must be specified:
igid-upload custom.confMaking connections
igid-upload may start up with default connections to databases and services. But, the connections may be set after it starts listening on all of its servers.
The way to make custom connections to services (likely better than the defaults) is to make use of the tool, com_link_manager. The tool can be installed on your system using npm as such:
npm install -g com_link_managerThen, run this command with a configuration file name parameter (required).
com_link_manager link_construction_conf.confThe configuration files for this tool are JSON formatted instructions telling the target program (running program) what classes to load, instantiate, and initialize.
Refer to com_link_manager for examples.
Siblings
media-up-igid provides uploading services for websites that are authorized by captcha-igid. media-up-igid will not operate outside of the captcha-igid context.
copious-transitions-apps provides a few other programs that can share session information managed by captcha-igid.
Here is a list of some other npm packages for running associated processes for uploading and asset access:
