<story><title>Show HN: Srcbook – A TypeScript notebook for rapid prototyping</title><url>https://github.com/srcbookdev/srcbook</url><text>Srcbook (”source-book”) is an open-source TypeScript notebook that runs locally, powered by Node.js. It shines for rapid prototyping, code exploration, and collaborating on ideas. It’s inspired by Python’s Jupyter and Elixir’s Livebook.&lt;p&gt;Key features:&lt;p&gt;- Full npm ecosystem access&lt;p&gt;- AI-assisted coding (OpenAI, Anthropic, or local models), it can iterate on the cells for you with a code diff UX that you accept&amp;#x2F;reject for a given code cell, generate entire Srcbooks, fix compilation issues, etc…&lt;p&gt;- Exports to valid markdown for easy sharing and version control&lt;p&gt;Try it now: `npx srcbook start`&lt;p&gt;Examples Srcbooks to explore: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;hub.srcbook.com&quot;&gt;https:&amp;#x2F;&amp;#x2F;hub.srcbook.com&lt;/a&gt;&lt;p&gt;We built this because we needed a Jupyter-like environment for TypeScript, we hope others like it as much as we do! Feedback and contributions are super appreciated.&lt;p&gt;(edit: formatting)</text></story><parent_chain></parent_chain><comment><author>fsiefken</author><text>Nice, if you could run wasm inline, one could conceivably use it for rust debugging or typst like this:
&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;Myriad-Dreamin&amp;#x2F;typst.ts&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;Myriad-Dreamin&amp;#x2F;typst.ts&lt;/a&gt;&lt;p&gt;Also see this jupyter notebook request &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;typst&amp;#x2F;typst&amp;#x2F;issues&amp;#x2F;962&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;typst&amp;#x2F;typst&amp;#x2F;issues&amp;#x2F;962&lt;/a&gt;</text></comment>
<story><title>Show HN: Srcbook – A TypeScript notebook for rapid prototyping</title><url>https://github.com/srcbookdev/srcbook</url><text>Srcbook (”source-book”) is an open-source TypeScript notebook that runs locally, powered by Node.js. It shines for rapid prototyping, code exploration, and collaborating on ideas. It’s inspired by Python’s Jupyter and Elixir’s Livebook.&lt;p&gt;Key features:&lt;p&gt;- Full npm ecosystem access&lt;p&gt;- AI-assisted coding (OpenAI, Anthropic, or local models), it can iterate on the cells for you with a code diff UX that you accept&amp;#x2F;reject for a given code cell, generate entire Srcbooks, fix compilation issues, etc…&lt;p&gt;- Exports to valid markdown for easy sharing and version control&lt;p&gt;Try it now: `npx srcbook start`&lt;p&gt;Examples Srcbooks to explore: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;hub.srcbook.com&quot;&gt;https:&amp;#x2F;&amp;#x2F;hub.srcbook.com&lt;/a&gt;&lt;p&gt;We built this because we needed a Jupyter-like environment for TypeScript, we hope others like it as much as we do! Feedback and contributions are super appreciated.&lt;p&gt;(edit: formatting)</text></story><parent_chain></parent_chain><comment><author>jwilber</author><text>I think this really nails a missing sweet spot for frontend&amp;#x2F;node projects.&lt;p&gt;Observable is a great notebook env for dataviz, but the bespoke js + observability patterns can feel obtuse for non-dataviz stuff.&lt;p&gt;Likewise, the Jupyter js kernels feel second-class and require python dependencies.&lt;p&gt;Really looking forward to using this for documenting open-source and prototyping.</text></comment>