Skip to content
forked from adamkewley/jobson

A platform for transforming command-line applications into a job service.

License

Notifications You must be signed in to change notification settings

Russel88/jobson

 
 

Repository files navigation

jobson

Build Status

A platform for transforming command-line applications into a job service.

This fork was made for CRISPRCasTyper, which is deployed at typer.crispr.dk. There are only made changes in the UI, and mainly simplyfications, such as removal of access to job list, addition of panels specific for CRISPRCasTyper, and some links to further information, hardcoded in Constants.tsx.

ui video demo

📖 Documentation, ⭐️ Demo

Jobson is a platform (backend webserver, frontend UI, and command-line client) that transforms command-line applications into a web-ready job service. Jobson's goal is to make it easy to share existing applications across the web without requiring a lot of server expertise. It was started in 2017 as internal software for handling scientific data requests for the Gaia satellite mission. Because it solves a general problem (turning arbitrary CLI applications into a web service) it was subsequently open-sourced in 2018.

Jobson generates a standard web service from a job specification file:

name: Trivial Application
description: Echoes supplied message to stdout

expectedInputs:
- id: message
  type: string
  name: Message
  description: The message to echo
  default: Hello, world!

execution:
  application: echo
  arguments:
  - ${inputs.message}

Quickstart

See documentation for comprehensive walkthrough.

Requires java (8+):

# install and add to PATH
wget https://github.com/adamkewley/jobson/releases/download/1.0.7/jobson-nix-1.0.7.tar.gz
tar xvf jobson-nix-1.0.7.tar.gz
export PATH=$PATH:jobson-nix-1.0.7/bin

# create demo workspace
jobson new --demo

# generate new spec
jobson generate spec someSpec

# edit
#nano specs/someSpec/spec.yml

# validate 
jobson validate spec someSpec

# host JSON API for running job
jobson serve config.yml

See installation documentation for details.

About

A platform for transforming command-line applications into a job service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 77.9%
  • TypeScript 20.7%
  • Python 0.5%
  • Shell 0.3%
  • ANTLR 0.2%
  • JavaScript 0.1%
  • Other 0.3%