Giter VIP home page Giter VIP logo

neph's Introduction

Latest version Latest version

  • A modern command line job processor written in Crystal 🚀
  • Parallel job execution. 🚀
  • Use like make command. 🚀

Installation

Arch Linux

Use your favourite AUR helper.
Package name: neph-git

Mac

You can install Neph with brew.

$ brew tap tbrand/homebrew-neph
$ brew install neph

Manual

Build dependencies:

  • crystal and shards for building the binary
  • go-md2man for generating the man page

It needs libyaml to be installed.

If you have a previous version of neph installed:

$ git clone https://github.com/tbrand/neph
$ cd neph
$ neph           # man page will be at neph.1, binary will be at bin/neph

If you don't have a previous version of neph installed:

$ git clone https://github.com/tbrand/neph
$ cd neph
$ shards build    # Now executable binary is located at bin/neph
$ bin/neph man    # Generate man page. It will be located at neph.1

Usage

All features for neph.yaml is written in sample/neph.yaml. So please refer for the details.

Wiki is also maintained as a document. Here is a full features.

Use cases

Neph is used in which_is_the_fastest.
The build time is reduced from 102[sec] to 33[sec].
The neph.yaml is here.

Log into redis

To save logs into redis instead of the filesystem do the following:

  • export NEPH_REDIS=redis://<redis_host>:<redis_port> environment variable.
  • export NEPH_RUN_ID=<unique id for this run> environment variable.

the logs of this run will be stored in redis as a list with key: neph:<run_id>:<job_name>

Contributing

  1. Fork it ( https://github.com/tbrand/neph/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • tbrand Taichiro Suzuki - creator, maintainer
  • notramo Márton Szabó - maintainer

neph's People

Contributors

tbrand avatar waghanza avatar peternashaat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.