GithubHelp home page GithubHelp logo

maxandersen / jbang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jbangdev/jbang

20.0 3.0 1.0 5.61 MB

Unleash the power of Java for shell scripting

Home Page: https://jbang.dev

License: MIT License

Java 89.96% Shell 5.36% Batchfile 0.93% PowerShell 1.20% Dockerfile 0.22% Gherkin 1.83% JavaScript 0.24% Smarty 0.26%

jbang's Introduction

jbang - Unleash the power of Java

Release Downloads Build Status Che Gitpod Gitter

JBang Logo

Want to learn, explore or use Java instantly without setup ?

Do you like Java but use python, groovy, kotlin or similar languages for scripts, experimentation and exploration ?

Ever wanted to just be able to run java from anywhere without any or very minimal setup ? Ever tried out Java 11+ support for running .java files directly in your shell but felt it was a bit too cumbersome ?

Then try jbang which lets you do this:

4AiobRxUwPUPztCtrDYcmoKjs

$ jbang init --template=cli hello.java
$ jbang hello.java Max!
[jbang] Resolving dependencies...
[jbang]     Resolving info.picocli:picocli:4.5.0...Done
[jbang] Dependencies resolved
[jbang] Building jar...
Hello Max!
$ jbang hello.java -h
Usage: hello [-hV] <greeting>
hello made with jbang
      <greeting>   The greeting to print
  -h, --help       Show this help message and exit.
  -V, --version    Print version information and exit.

Instant cli app generated built using java and picocli as a dependency that was fetched as needed for the compilation and execution.

AppStore

JBang goes beyond more than just easy scripting; you can use jbang to launch any kind of java application or library packaged as a jar available locally, via http/https download or in a Maven repository. You can even setup catalogs of scripts and publish them to github, gitlab or bitbucket - see AppStore for examples.

Documentation

Full documentation at https://jbang.dev/documentation

Thanks

jbang was heavily inspired by how kscript by Holger Brand works.

jbang's People

Contributors

aalmiray avatar aaronwalker avatar abelsromero avatar alban-auzeill avatar allcontributors[bot] avatar brunoborges avatar chrsblck avatar dem2k avatar dependabot-preview[bot] avatar dependabot[bot] avatar fbricon avatar gastaldi avatar jeffmaury avatar jmini avatar karstentorp avatar manikmagar avatar maxandersen avatar michael-simons avatar msohn avatar nmcl avatar oleg-nenashev avatar olibutzki avatar quintesse avatar rpardini avatar rsvoboda avatar stuartwdouglas avatar sxa avatar tivrfoa avatar vorburger avatar zakkak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jcruzcruz

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.