Transcrypt VS starboard-notebook

Compare Transcrypt vs starboard-notebook and see what are their differences.

Transcrypt

Python 3.9 to JavaScript compiler - Lean, fast, open! - (by TranscryptOrg)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Transcrypt starboard-notebook
16 10
2,799 1,163
0.5% -
3.2 3.8
8 months ago 19 days ago
Python TypeScript
Apache License 2.0 Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Transcrypt

Posts with mentions or reviews of Transcrypt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-10.
  • Ask HN: Why don't browsers just build a non-JS interpreter?
    4 projects | news.ycombinator.com | 10 Jan 2024
  • How does PyScript actually work?
    2 projects | /r/PyScript | 11 Jul 2023
    This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one), but most things do just work.
  • alternatives to the javascript ecosystem
    2 projects | /r/webdev | 9 Jul 2023
    In the past, I've personally used GWT to transpile Java to JavaScript in order to share some complex code modules that we needed to use on both the server and client for an enterprise application. In more recent years, I've been using Transcrypt to develop React/MUI applications that are coded in Python. So I'm able to use JS libraries that are proven to work great in a web browser, but use my preferred language to code to the API of those libraries. This approach is certainly not for everyone, but it can be a viable option in some cases.
  • What's your Python story?
    2 projects | /r/Python | 21 May 2023
    I now use Python everywhere. Desktop (PySide), embedded (MicroPython), web dev (React via Transcrypt), mobile (Kivy), and just general scripting. I love the versatility of Python, the ease of reading it without the visual cruft of other languages, and the availability of existing libraries that do just about everything you can think of. I also agree with the OP on the welcoming attitude of the Python community. The fact that Python is used in so many different areas leads to many new learning experiences when talking to other Python developers.
  • After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
    16 projects | /r/Python | 8 May 2023
    Transcrypt is pretty usable for this.
  • What do you guys use python for?
    4 projects | /r/Python | 24 Apr 2023
    Transcrypt transpiles Python into JavaScript in the same way that TypeScript gets transpiled into JavaScript. It lets Python code word with JavaScript libraries that can then be run in a web browser.
    4 projects | /r/Python | 24 Apr 2023
  • Graphs in Python web app
    5 projects | /r/Python | 28 Mar 2023
    There are options for writing Python and transpiling it into JavaScript but, frankly, they suck (https://www.transcrypt.org/).
  • React JSX vs react with HMTL
    2 projects | /r/reactjs | 25 Jan 2023
    Lol, I'll tell you but you're not gonna like it - I write React applications in Python using a Python-to-JS transpiler called Transcrypt, and the source needs to be valid lintable Python code, so no JSX.
  • We've been lied to: JavaScript is fast
    3 projects | news.ycombinator.com | 10 Oct 2021
    https://github.com/qquick/Transcrypt

starboard-notebook

Posts with mentions or reviews of starboard-notebook. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-28.
  • JupyterLite is a JupyterLab distribution that runs in the browser
    10 projects | news.ycombinator.com | 28 Nov 2022
    The format is only partially invented, it follows Jupytext [0], but adds support for cell metadata. There is no obvious way to get that in fenced codeblocks, especially with the ability to spread it over multiple lines so it plays well with version control.

    One more consideration is that it's not "Markdown with code blocks interspersed", one might as well use plaintext or AsciiDoc.

    Of course there are tradeoffs.. I wish I had more time to work on it.

    [0]: https://github.com/gzuidhof/starboard-notebook/blob/master/d...

    [1]: https://github.com/mwouts/jupytext

    10 projects | news.ycombinator.com | 28 Nov 2022
    Yes. Last commit was 5 months ago [1]. Seems like a great idea though.

    What I don't like it is that they invented yet another markdown syntax for code cells - it is the opening bracket # %[python] with no closing bracket.

    There already is a popular markdown code cell syntax of [2]

    ```python

    ```

    [1] https://github.com/gzuidhof/starboard-notebook

    [2] https://github.github.com/gfm/#fenced-code-blocks

  • A fast SQLite PWA notebook for CSV files
    6 projects | news.ycombinator.com | 30 Dec 2021
    This is really wonderful! The discussion about lay people's knowledge of sql reminded me that the Pandas API is often useful for non-sql folk. Likewise there are some projects similar to dirtylittlesql to bring Python data manipulation to the browser.

    https://github.com/jtpio/jupyterlite

    https://github.com/gzuidhof/starboard-notebook

  • Turns Jupyter notebooks into standalone web applications and dashboards
    7 projects | news.ycombinator.com | 31 Aug 2021
    You could consider an in browser notebook to get your cost down to near nothing - it depends a bit on what kind of tasks your students do whether they fit in the browser (one wouldn't train a large neural network in one for instance)

    There's Starboard (which I'm building, it's built specifically for the browser and can integrate into a larger app deeply) and JupyterLite (the closest you will get to JupyterLab in the browser), either can be a good choice depending on your requirements. Both use Pyodide for the Python runtime.

    [1]: https://github.com/gzuidhof/starboard-notebook, demo: https://starboard.gg

    [2]: https://jupyterlite.readthedocs.io/en/latest/

  • Enabling COOP/COEP without touching the server
    2 projects | dev.to | 5 Aug 2021
    A few examples of web-applications that have this problem are in-browser video converters using ffmpeg.wasm, a web-based notebook that supports Python and multithreaded Emscripten applications.
  • I want to learn D3. I don’t want to learn Observable. Is that ok? (2019-2021)
    6 projects | news.ycombinator.com | 13 Jun 2021
    As someone building an in-browser notebook I have a lot of opinions on notebook environments. Notebooks serve different purposes, sometimes the notebook itself is the end-goal because the author is creating an interactive tutorial or explaining a complex concept with a bunch of visualizations. Observable is a fantastic tool for that, and the kind-of-Javascript reactive programming system it is built on is a great fit for that.

    Outside of that use-case, I think notebooks are great for the first 20% of the effort that gets 80% of the work done. If it turns out one also needs to do the other 80% of the effort to get the last 20%, it is time to "graduate" away from a notebook. For instance if I am participating in a Kaggle machine learning competition I may train my first models in a Jupyter notebook for quick iteration on ideas, but when I settle onto a more rigid pipeline and infra, I will move to plain Python files that I can test and collaborate on.

    This "graduation" from notebook to the "production/serious" environment should be straightforward, which means there shouldn't be too much magic in the notebook without me opting into it. Documentation in my eyes is not so different, I should be able to copy the examples easily into my JS project without knowing specifics of Observable and adapt it to my problem. Saying "don't be lazy and just learn Observable", or "you must learn D3 itself properly to be able to use it anyway" is not helpful. Observable being a closed, walled garden doesn't help: not being able to author notebooks without using their closed source editor is a liability that I can totally understand makes it a non-starter for some companies and individuals.

    I think it's ok to plug my own project: It's called Starboard [1] and is truly open source [2]. It's built on different principles: it's hackable, extendable, embeddable, shareable, and easy to check into git (i.e. I try to take what makes the web so great and put that in a notebook environment). You write vanilla JS/ES/Python/HTML/CSS, but you can also import your own more advanced cell types. Here's an example which actually introduces an Observable cell type [3] which is built upon the Observable runtime (which is open source) and an unofficial compiler package [4]. I would be happy for the D3 examples to be expressed in these really-close-to-vanilla JS notebooks, but I can convince the maintainers to do so.

    [1]: https://starboard.gg

    [2]: https://github.com/gzuidhof/starboard-notebook

    [3]: https://starboard.gg/gz/open-source-observablehq-nfwK2VA

    [4]: https://github.com/asg017/unofficial-observablehq-compiler

  • Show HN: A simple JavaScript notebook in one file
    5 projects | news.ycombinator.com | 8 Jun 2021
  • Pyodide: Python for the Browser
    5 projects | news.ycombinator.com | 12 May 2021
    If you want to play with Pyodide in a web notebook you can try Starboard [1][2].

    A sibling comment introduces JupyterLite and Brython, which are Jupyer-but-in-the-browser, whereas with Starboard I'm trying to create what Jupyter would have been if it were designed for the browser first.

    As it's all static and in-browser, you can embed a notebook (or multiple) in a blog post for instance to power interactive examples. The bundle size is a lot smaller than JupyerLite for the initial load - it's more geared towards fitting into existing websites than being a complete IDE like JupyerLab.

    [1] https://github.com/gzuidhof/starboard-notebook

    [2] https://starboard.gg

  • Ask HN: What personal tools are you the most proud of making?
    5 projects | news.ycombinator.com | 6 Apr 2021

What are some alternatives?

When comparing Transcrypt and starboard-notebook you can also consider the following projects:

brython - Brython (Browser Python) is an implementation of Python 3 running in the browser

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

jupyterlite - Wasm powered Jupyter running in the browser 💡

sqlglot - Python SQL Parser and Transpiler

TiddlyWiki - A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.

unofficial-observablehq-compiler - An unofficial compiler for Observable notebook syntax

python-functions

krustlet - Kubernetes Rust Kubelet

onelinerizer - Shamelessly convert any Python 2 script into a terrible single line of code

Power-Fx - Power Fx low-code programming language

node-clinic - Clinic.js diagnoses your Node.js performance issues