Sh

Shuck – a fast shell linter written in Rust

Hacker News

Shuck – a fast shell linter written in Rust

I’ve been working on shuck, a shell script linter written in Rust. ShellCheck is excellent project and set the bar for this space. However, it's very slow and take up a far amount of resources. shuck is conservatively 20x faster than shellcheck and uses a fraction of the resources. shuck currently supports sh, bash, dash, ksh, mksh, and zsh. shuck should mostly be a drop in replacement for shellcheck but it is not a port since shellcheck is GPL. It is s clean-room implementation with its own parser and analysis engine, so behavior may differ in some cases. shuck is tested against shellcheck on a large number of open source projects with a lot of shell scripts and has very few variations. That said, I’ve tried to make migration easy: 1) shuck supports ShellCheck-style suppression 2) you can run shuck in shellcheck compatibility mode where it has all the same CLI args and output. This is still early, and I’d especially love feedback from people who maintain large monorepos, CI-heavy projects, or lots of shell scripts. I’m interested in places where ShellCheck compatibility matters, places where it does not, and which classes of shell bugs people most want lint/fix support for next.

Share card

Actual performance

8points
1comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports · Missing: reddit linkedin, podcasting, created
86%86% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: open · Missing: mac, agents, macos
79%79% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
29%29% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

La
Lambash, a WIP λ-Calculus Unix Shell Written in Rust53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lambash, a WIP λ-Calculus Unix Shell Written in Rust

Hacker News7
Ru
Rush – A bash-like shell written in rust69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rush – A bash-like shell written in rust

Hacker News3
Fa
Fast subdomain enumerator written in Rust74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fast subdomain enumerator written in Rust

Hacker News23
A
A fast hex dumper, written in Rust58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A fast hex dumper, written in Rust

Hacker News6
Po
Powerline-rs: powerline-shell rewritten in Rust50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Powerline-rs: powerline-shell rewritten in Rust

Hacker News5
Ru
Rust for Shell Scripting56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rust for Shell Scripting

Hacker News2
Ox
Oxlint – a new JavaScript linter written in Rust63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Oxlint – a new JavaScript linter written in Rust

Hacker News15
Aw
Awkdoc: javadoc for the shell, written in Awk60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Awkdoc: javadoc for the shell, written in Awk

Hacker News11
RS
RSH, a shell written in Ruby57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RSH, a shell written in Ruby

Hacker News4
Su
Subruster Fast, compact subdomain enumeration tool written in Rust70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Subruster Fast, compact subdomain enumeration tool written in Rust

Hacker News1