HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
babashka
nbb
Clojure2021–2026
babashka / nbb

nbb

Scripting in Clojure on Node.js using SCI

13Distinct people
22Mentions
1Explicit recommenders
972GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Scripting in Clojure on Node.js using SCI

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

All this just to avoid writing JS in nodejs for simple scripts? why add more complexity to simple things? just to write JS with parenthesis? clojurescript is overkill and…

ithrow used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 4:00:59 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2021-08-01 11:52:19 UTC to 2026-06-03 15:30:28 UTC.

02468102021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 7 mentions; 3 submissions, 4 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 9 mentions; 3 submissions, 6 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC734
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC936
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC303
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

7 sources
There are multiple options to approach the Clojure* ecosystem. But yes, it is more focused towards dedicated and experienced developers overall. I use IntelliJ Idea + Cursive for development and that seems quite comfortable. I have a very rough sketch of the environment setup for a real app here: https://www.orgpad.com/s/hfxYQYkcLYV We use a similar setup to develop OrgPad itself. You can use Babashka https://github.com/babashka/babashka for a quick and dirty setup to get you up and running quickly. That is also useful for scripting some things. You might also try shadow-cljs + ClojureScript, if you are more at home in the Node.js/ Browser JavaScript ecosystem and want to do something with it. There is a new "(Not)Babashka" but built on ClojureScript: https://github.com/borkdude/nbb that might be interesting as well. I have found this vid
Read the rest
eo by James Trunk: https://youtu.be/C-kF25fWTO8?t=848 to have a very nice live coding example.
In What I wish I knew when learning F#
Nbb is to CLJS what babashka is to JVM Clojure. Both scripting environments are implemented using SCI, a Clojure(Script) interpreter which re-uses all the core functions when you call those, the rest (creating vars, functions, namespaces) is interpreted "glue code" and that code isn't compiled (to bytecode or JS); instead it uses interpretation while trying to stay as close as possible to the host language. There are some things that are currently not supported, most notably deftype. For SCI on JS this is just a matter of time, but on JVM the target for SCI is mostly GraalVM images which come with the restriction that you can't implement new types at runtime. SCI originates mostly from the work on babashka, but with nbb, I'm adding better support for CLJS over time. As for third-party libs: it depends if they are written in the subset tha
Read the rest
t SCI supports. If the library is useful enough for scripting then it can be considered for added as a built-in. The classpath support is still something under development, but it already works for gitlibs. Here is an example of running HoneySQL from source in nbb: https://github.com/borkdude/nbb#classpath. Just let me know if something doesn't work out (on Slack or Github issues/discussions).
In Create ad-hoc ClojureScript scripts on Node.js with nbb
ithrow·Sep 20, 2021Recommendation phrase
All this just to avoid writing JS in nodejs for simple scripts? why add more complexity to simple things? just to write JS with parenthesis? clojurescript is overkill and definitely tedious to use for this because is not suited for scripts just doing lots of imperative, side-effecting stuff and dealing constantly with mutable APIs. I love lisp but... https://github.com/borkdude/nbb/blob/main/examples/puppeteer... "Look how cool I'm, I downloaded this thing just to add parenthesis to my JS script!"
In Create ad-hoc ClojureScript scripts on Node.js with nbb
Borkdude·Sep 19, 2021Submission

Create ad-hoc ClojureScript scripts on Node.js with nbb

Nbb is a scripting environment that aims to make it easier to create ad-hoc scripts on Node.js using ClojureScript. It does not need a JVM for compilation: just use npm and you're good to go. Code is interpreted instead of compiled, which for scripting is usually ok. If your project outgrows the scripting phase, you can migrate to a proper ClojureScript compiler setup. Give it a try if you're curious about ClojureScript. https://github.com/borkdude/nbb
116 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.