Skip to content

A web service to generate package-management shell scripts using Crater DB

License

Notifications You must be signed in to change notification settings

crater-space/service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crater-service

js-myterminal-style License
ko-fi

A web service to generate package-management shell scripts using Crater Service, based on information in Crater DB

Interface

Service endpoints

All the below service endpoints accept GET requests:

  1. list-sources generates a Bash script to determine the package sources (among the configured ones in the DB) available on the current system
  2. search generates a Bash script to search for the specified package across the available known sources
  3. list generates a Bash script to list the installed packages across the available known sources
  4. install generates a Bash script to install the specified packages using the most appropriate option from among the available known sources
  5. uninstall generates a Bash script to uninstall the specified packages from the system
  6. update generates a Bash script to update all (or specified) packages using the appropriate available known sources

A few extra endpoints have been configured to generate the following shell scripts:

  1. cli returns a Bash script to install the CLI
  2. fetch returns a Bash script to install specified packages without installing the CLI.

Web portal

Hitting the URL in the browser displays basic information about the service endpoints (coming soon).

Running the service/website

The only major dependency is NPM, once cloned, the service/web-app can be started using an npm start.

More documentation coming soon...

About

A web service to generate package-management shell scripts using Crater DB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published