Just.sh

Dev tools

command runner

SHOW HN2023

Just.sh

compiler that turns Justfiles into portable shell scripts

github.com

#justfile#command runner#posix shell#makefile alternative

64points
25comments
#926of 3,109 in 2023
Top 30%of 2023 by points

How HN took it

DebatedReal support and real criticism

7 positive, 2 neutral or asking, 0 mixed, 4 critical, out of 13 comments about the project. Thread score +0.20.

Idea: 7 for, 4 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for distributing Justfile tasks where only a POSIX shell is available

    From 2 comments
    • Assuming the compilation is perfect, it lets the author maintain the simple Just format, while simultaneously distributing the same code to a runtime (shell) that is installed…
      0cf8612b2e1e on HN
    • Presuming the just.sh compiler is doing everything right, you shouldn't have a shell problem, any more than using C compiler means you now have an assembly-language problem.…
      derefr on HN
  • Lowers the barrier to running tasks without installing another tool

    From 2 comments
    • Yeah. For an individual.. if you're happy to install `just` in any place you're going to maintain the project, that seems better. For helping others use the project, providing a…
      rgoulter on HN
    • I reckon just is 'low-medium benefit for low effort'. There's some nice UX to it, but I think a substantial benefit to it is having one place where you organise "these are the…
      rgoulter on HN

Objections

  • Adds a compilation step and another artifact to maintain; little benefit over plain shell scripts or Makefiles

    From 2 comments
    • Given these examples of a Justfile, it doesn’t seem worth this effort versus using a Makefile and not needing a compilation step (assuming Make is available everywhere). Does…
      jitl on HN
    • What is the upside compared to just creating the corresponding shell scripts? I can see that one file instead of how many more is better, but it's also one thing more to worry…
      charles_f on HN

Requests

  • Packaging of just in Linux distributions

    From 2 comments
    • This is fantastic, but I'd say that this solution is somewhat in response to this open issue from 2019: https://github.com/casey/just/issues/429 I really wish just was included…
      latchkey on HN
    • https://repology.org/project/just/versions Mhm basically only Arch Linux, Chocolatey, FreeBSD, Gentoo and Homebrew. All others are outdated or nonexistent.
      SushiHippie on HN

Questions

  • Does it have bash autocompletion support?

    From 1 comment

Alternatives named

  • pyjust (pip-packaged just binary)

    From 1 comment
    • I'm a fan of using just as a command-runner as well, but took a slightly different approach to making it pip-installable! I created the `pyjust` package…
      justinyan on HN
  • makesure

    From 1 comment
    • makesure, a similar tool (https://maximullaris.com/makesure-vs-just.html) I'm developing, doesn't require installation in the traditional sense:…
      xonix on HN
  • Makefiles

    From 1 comment
    • Given these examples of a Justfile, it doesn’t seem worth this effort versus using a Makefile and not needing a compilation step (assuming Make is available everywhere). Does…
      jitl on HN
  • Batsh and bish

    From 1 comment
    • https://github.com/batsh-dev-team/Batsh https://github.com/tdenniston/bish (Just fyi. I've been collecting links to similar things because of Reasons).
      flir on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/38772039)