media-up-lite-igid
v1.3.8
Published
Authorization gateway relying on an auth service for providing user editing interfaces
Readme
Media-up-lite-igid
media-up-lite-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-lite-igid
media-up-lite-igid uses sessions created by captcha-igid and finalizes the upload of media files. media-up-lite-igid delivers the file to persistence services by sending meta records which also contain the publishable content. The persistence service will write the content containing meta descriptor to a file and later will publish it to mini-link-servers if requested.
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-lite-igid is an npm package: media-up-lite-igid
The media-up-lite-igid package provides a bash command line which can be accessed if the package is installed globally as such:
npm install -g media-up-lite-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-upload_literunning the program
The igid-upload_lite 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, media-up-lite-service.conf the program can be run by just entering the command name:
igid-upload_liteOtherwise, a configuration file must be specified:
igid-upload_lite custom.confMaking connections
igid-upload_lite 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-lite-igid provides uploading services for websites that are authorized by captcha-igid. media-up-lite-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:
Web services
This is the uploader handler that cooperates with the publication manager, and also this version deals with smaller files requiring less file and repository management.
Some of the files are expected to be JSON representations of complex data structures. Other files are expected to be small binary files such as sound snippets. Larger files, large sounds, movies, etc. are the subject of Media-up-igid, which manages files in conjunction with distributed repositories.
The processes implemented in the respository make ues of the IGID (Intergalactic Identity). The associated repositories using IGID interact with the proceses exposed with keys to data that include the IGIDs of users and data.
