Srcbook
Dev tools
notebook
SHOW HN2024
How HN took it
9 positive, 17 neutral or asking, 0 mixed, 4 critical, out of 30 comments about the project. Thread score +0.14.
Idea: 7 for, 2 againstPrivacy: 0 for, 1 againstPerformance: 0 for, 1 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
Fills a gap for TypeScript and Node notebooks
From 3 comments
I think this really nails a missing sweet spot for frontend/node projects. Observable is a great notebook env for dataviz, but the bespoke js + observability patterns can feel…
jwilber on HNI’ve always wanted a TypeScript-based Jupyter notebook, thanks for building this!
jumploops on HNThis is a cool idea! I often end up just using replit to play with a library, something more like Livebook makes a lot of sense. I like that you're using markdown too, makes…
mcintyre1994 on HN
Local execution and Markdown format are useful
From 2 comments
This is a cool idea! I often end up just using replit to play with a library, something more like Livebook makes a lot of sense. I like that you're using markdown too, makes…
mcintyre1994 on HNVery nice. I am trying using ollama with it, looks like something is off either on my server or in the way the program calls it: I get the CPU used instead of the GPU (while…
tcsenpai on HN
Objections
Analytics collected by default raise privacy concerns
From 2 comments
To those concerned about the analytics like myself, you should be able to turn it off by setting the default here to false. Otherwise you'd need to toggle it off in the settings,…
prophesi on HNComment above linked line states // Allows us to improve Srcbook, we don't collect any PII. I ask that you please consider assisting developers improve their FOSS - free as in…
blorenz on HN
Running arbitrary downloaded srcbooks is a security risk
From 1 comment
The code runs locally on your machine. Right now the architecture is that each Srcbook has 2 representations: - a markdown encoding that we use when you export. Easier to share,…
nichochar on HN
Requests
Browser cell for running code outside Node
From 2 comments
Very cool! I wish there was also a "browser" cell, so that the execution wouldn’t be happening in the node.
gryzzly on HNThis is on our roadmap, yes. We focused on node first because we thought that was missing (you can always spin up a devserver for component), but we'd like to introduce a browser…
nichochar on HN
React/MDX component support
From 2 comments
Does this include, or are there plans for MDX/React component support? That would be amazing and I would use it extensively.
adamddev1 on HNIt would be nice to do little interactive examples, and React/MDX seems to be the easiest way to do this. I have have a similar thing wired up with https://grammar.lingdocs.com…
adamddev1 on HN
VSCode extension
From 1 comment
Love that this is local. I've messed around trying to get Node on Jupyter with custom kernels, but never got close to a working setup with TypeScript. Two features would be huge:…
bilalq on HN
Questions
How does it compare with Observable
From 1 comment
How does it compare with Observable? https://observablehq.com/
xixixao on HN
Is code sandboxed
From 1 comment
Very nice, how do you run the code? is it securely sandboxed?
h1fra on HN
Alternatives named
Observable
From 2 comments
How does it compare with Observable? https://observablehq.com/
xixixao on HNCompared to Observable, it's apache-2 licensed and it's self-hostable. The d3, p5 and database access you have to add yourself. With Observable user, workspace, diagramming and…
fsiefken on HN
Jupyter with Deno or JS kernels
From 3 comments
Jupyter can run JS kernels these days.
bityard on HNIf you don't mind using Deno instead of Node, it's integrated Jupyter Kernel makes it really easy: https://docs.deno.com/runtime/manual/tools/jupyter/
adius on HNI just recently found out that there is Deno kernel for Jupyter notebook https://blog.jupyter.org/bringing-modern-javascript-to-the-jupyter-notebook-fc998095081e
valstu on HN
Storybook
From 1 comment
Not OP but i am interested in the same idea to document components. An alternative to storybook.
thawab on HN
Replit
From 1 comment
Thanks! Yes when we asked people what they used to prototype, we got the weirdest answers. Replit seems very heavyweight, and isn't local (always feels worse). For non-npm…
nichochar on HN