Lurker News
I love Jupyter – it's how I learned to code back when I was working as a scientist. But I was always frustrated that there wasn't a simple and elegant app that I could use with my Mac. I made do by wrapping JupyterLab in a chrome app, and then more recently switching to VS Code to make use of Copilot. I've always craved a more focused and lighter-weight experience when working in a notebook. That's why I created Satyrn.

It starts up really fast (faster time-to-execution than VS Code or JupyterLab), you can launch notebooks right from the Finder, and the design is super minimalist. It's got an OpenAI integration (use your own API key) for multi-cell generation with your notebook as context (I'll add other LLMs soon). And many more useful features like a virtual environment management UI, Black code formatting, and easy image/table copy buttons.
Full disclosure: it's built with Electron. I originally wrote it in Swift but couldn't get the editor experience to where I wanted it. Now it supports autocomplete, multi-cursor editing, and moving the cursor between cells just like you'd expect from JupyterLab or VS Code.
Satyrn sits on top of the jupyter-server, so it works with all your existing python kernels, Jupyter configuration, and ipynb files. It only works with local files at the moment, but I'm planning to extend it to support remote servers as well.
I'm an indie developer, and I will try to monetize at some point, but it's free while in alpha. If you're interested, please try it out!
I'd love your feedback in the comments, or you can contact me at jack-at-satyrn-dot-app.

Comments (160) 48 threads

benrutter2 replies#
This looks great! Since jupyter notebooks are used by a lot of people (like scientists, business analysts etc) I think there's a genuine niche for just having a jupyter notebook client for folks to get started with quickly.

Adding something like built in .venv support and even python distribution would be immense (I'm thinking of a dream scenario where installing something like this gives a beginner all the tools to get up and running python notebooks with) any plans for that on the roadmap?

jackhodkinson#
Even as a command line power user, I still wish it were easier to install dependencies while working in a notebook. If I'm working on a project I don't want to have to switch to my terminal if I can solve the problem in one command from my notebook.

With a little careful thought into good UX I don't see why it can't be easy for a beginner at the same time useful to a pro user (and still compatible with any virtual environment).

entangled_atom#
Totally agree with this sentiment. There is definite value in providing an easy to setup fully featured jupyter environment for people who are just starting out.

The company I work at (qBraid) has a qBraid Lab product that does exactly this, but tailored more toward those in the quantum computing ecosystem. We may even be interested in offering Satyrn as another option on our currently platform alongside VSCode and standard Jupyter, if the creator(s) are ever interested in licensing and/or some form of co-selling model.

ibash4 replies#
Thank you for attempting to use swift first. Electron apps are bloated and overused.

Excited to play around with this!

jackhodkinson2 replies#
I agree! At the very least I can port this to Tauri to make it have a smaller footprint.
mritchie712#
Might be some useful things you can do with the Tauri rust backend too
yboris#
Since your app is currently Electron I'm surprised it doesn't work with Windows. Would it be hard to get the app to play nicely with Windows?
dmazzoni#
Agreed about Electron apps!

But...a really good code editor is a good example of something that's extremely hard to implement using native text controls, but there are great ones based on web tech.
I wonder if embedding system WebKit on macOS or using something like NeutralinoJS would be a good alternative?
The pro is your app is much smaller and lighter.
The con is that any bugs in your system web control are out of your control, and certain tight integration with web APIs might not be possible.

Vegenoid#
From the post:

> Full disclosure: it's built with Electron. I originally wrote it in Swift but couldn't get the editor experience to where I wanted it. Now it supports autocomplete, multi-cursor editing, and moving the cursor between cells just like you'd expect from JupyterLab or VS Code.
Consider taking this as evidence that Electron isn't bad, instead of evidence that you shouldn't use this program.

xenator#
Except you are really can't use Jupyter notebooks without browser. Because of widgets and interactive elements.
pbronez1 reply#
Cool!

Surprised to hear you started with a native UI and pivoted to electron. What was the major blocker there?
I recently got frustrated with OpenSCAD and decided to try CadQuery and Build123d. The modeling backend is a big step forward, but the GUI is not nearly as good as OpenSCAD. I managed to get it working via VSCode with a plugin, but I’m dreaming of embedding everything in a dedicated MacOS app so I can jump into CAD work without hacking through dev setup.

jackhodkinson2 replies#
There aren't many great production-ready open-source frameworks for code-editor components in Swift. I assessed quite a few but found that the feature completeness was far from what I needed. I tried to fork [CodeEditSourceEditor](https://github.com/CodeEditApp/CodeEditSourceEditor) and add the extra features I wanted, but I think it would have taken me 6-12 months to get it to an acceptable state, meanwhile not spending any time focusing on the rest of the product experience.

I decided to play around with Typescript and Electron over a weekend and ended up getting a really solid prototype so I made the heart wrenching decision to move over.
I'm messing around with writing my own text editor component in Swift now, but it's quite a big endeavour to get the standard expected for a production ready product.
I'm assuming a pure-swift CAD UI would be equally difficult. Would be really cool to see that tho.

rjurney#
Don't listen to the grinches that stole Swift. Electron is fine. We have lots of RAM. Just make it good. Data scientists won't care.
cageface1 reply#
FWIW I've had good experiences with Tauri so far. It's great being able to call back easily into Rust code and I haven't had any real issues with the wrapped web view.

At this point I'd start with Tauri first and only switch to Electron only if I really need something only Chrome supports or if I need to support Linux. I guess the webview story there is not so good.

harshitaneja2 replies#
Tauri supports linux.

Continue this thread — 2 replies

keepamovin1 reply#
I love your website design! How did you put that together? What did you use for the app screenshots and logo graphics?

Is your project related to these two other "Satyrn"s ??
Satyrn: A Notebook alternative that supports branching code and local collaboration. https://github.com/CharlesAverill/satyrn
Satyrn: A Platform for Analytics Augmented Generation https://arxiv.org/abs/2406.12069

jackhodkinson#
Thanks! I just used the builtin MacOS screenshot tool to take the screenshots. I used Tailwind to style the page. I really like the default shadow that the "selected window" screenshot adds, but since there are also "selected area" screenshots I decided to take them without the default shadow (by holding option) and then add it in using Tailwind.

The logo was done with ChatGPT and my friend editing it with some graphic design software :)
This project is unrelated to those others. I like the branching code idea tho, would love to have something like that. I'd love it if you could rewind your code execution to a point in time and then play it forward differently. I suppose that would be a pretty big memory overhead tho.

Load more comments