{"by":"nichochar","descendants":50,"id":41291700,"kids":[41298080,41297278,41303550,41301728,41301385,41296423,41296715,41300073,41301689,41298063,41350381,41291911,41296522,41297057,41298455,41296486,41296779,41298181],"score":267,"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.<p>Key features:<p>- Full npm ecosystem access<p>- AI-assisted coding (OpenAI, Anthropic, or local models), it can iterate on the cells for you with a code diff UX that you accept&#x2F;reject for a given code cell, generate entire Srcbooks, fix compilation issues, etc…<p>- Exports to valid markdown for easy sharing and version control<p>Try it now: `npx srcbook start`<p>Examples Srcbooks to explore: <a href=\"https:&#x2F;&#x2F;hub.srcbook.com\">https:&#x2F;&#x2F;hub.srcbook.com</a><p>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.<p>(edit: formatting)","time":1724080196,"title":"Show HN: Srcbook – A TypeScript notebook for rapid prototyping","type":"story","url":"https://github.com/srcbookdev/srcbook"}