Skip to content

Allows you to pull components from any git repository in an unsecure manner. Do not use if you don't know what you're doing.

Notifications You must be signed in to change notification settings

sankargorthi/component-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Component Server

A proxy to serve up components regardless of which git hosting tool is used. Point the server to the folder containing all the repositories organized by username. The result will be provided by the server for component install.

Usage

$ node app

Starts an express engine at port 3917. The path to the repository folder is ./example/repositories/.

Configuring server

The port and repository folder are configured in the config.json file. Modify as needed.

Adding the remote to components

// component/component.json
{
    "name": "My Component",
    ...
    "remotes": [
        "http://ipaddress:3917/components/"
    ],
    "dependencies": {

    }
}

NOTE: Make sure the trailing slash on the IP address is always present.

License

MIT

About

Allows you to pull components from any git repository in an unsecure manner. Do not use if you don't know what you're doing.

Resources

Stars

Watchers

Forks

Packages

No packages published