Show HN: Heynote – A Dedicated Scratchpad for Developers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • heynote

    A dedicated scratchpad for developers

  • > I don't like software that connects to internet for no good reason.

    It makes HTTP requests to fetch current exchange rates (for currency conversion) and to check for updates.

    > I don't want your app to check for updates, I'll decide if and when I'd like to update it.

    It still requires user interaction to actually apply the update.

    > I'd like to know where that info is getting stored on FileSystem

    See https://github.com/heyman/heynote?tab=readme-ov-file#where-i...

    It shouldn't be hard to fork it and disable currencies and auto updates. However, it sounds like Heynote might not be a good fit for you :).

  • mathjs

    An extensive math library for JavaScript and Node.js

  • Yes, I've learned that Heynote is lacking some documentation. Will improve that.

    Math.js (https://mathjs.org/) powers the Math blocks, so what's supported by Math.js should be supported by Heynote, with the addition of currency conversions (exchange rates are updated daily).

    > How to convert between fahrenheit and celsius?

    This should work:

      10 celsius to fahrenheit

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • fend

    Arbitrary-precision unit-aware calculator

  • I saw the unit conversions and it immediately reminded me of Fend (https://github.com/printfn/fend). If you're looking to expand on your maths / unit conversion feature, it could be a good option.

  • lezer-bash

    Lezer grammar for shell scripts

  • Yes, I'd like to add more languages. It's currently limited to what Lezer (https://lezer.codemirror.net/) supports . However I just found this repo (https://github.com/withfig/lezer-bash) which seems to be Lezer grammar for bash, so I can probably use that for bash syntax support.

    > Finally, if you remove the canvas background or set it to the same as the app background color

    Will look into that. Thanks!

    > On Macos a menubar item would be nice to pop the app up

    Hm, not sure what this means, sorry :)?

  • github-orgmode-tests

    This is a test project where you can explore how github interprets Org-mode files

  • This reminds me a lot of [Org Mode](https://orgmode.org/). Do you have plans to add other org-like features, like evaluating code blocks? I don't personally see myself moving away from org-mode, but it would be nice to have something to recommend to people who are reluctant to use emacs, even if it's only for a single application.

  • numi

    Beautiful calculator app for macOS

  • This looks fantastic. I will definitely give it a spin. I've been tracking what I call "computational scratchpad" apps for a while now but haven't found one that fits my environment/workflow yet. Maybe Heynote will. Here are some others that I've looked at:

    * https://soulver.app Granddad of them all, Mac-only, proprietary, expensive

    * https://numi.app Mac-only, proprietary, semi-expensive. Has a Github and claims to be MIT-licensed but I don't see how you could build a working application with what's in the repo.

    * https://calca.io Windows- and Mac-only, proprietary, not expensive, nice docs.

    * https://notepadcalculator.com Web-based, not open source, hosted but uses local storage. You can optionally create an account to sign in and have your notes saved in plaintext on his server.

    * https://github.com/bbodi/notecalc3 Web-based, open source, self-hostable. But it seems to save your document in the URL string itself, which means the URL gets updated with almost every keystroke. Worth it for quick calculations and very small notes, I guess.

    * https://numpad.io Web-based, hosted, not open source. Also stores entire doc in URL, but doesn't update the URL bar the whole time you're typing.

    * https://numbr.dev/ Web-based, hosted. Has a Github but is not open source and the repo does not have all the bits needed to self-host it. Stores entire doc in URL.

    * https://github.com/metakirby5/codi.vim Vim/NeoVim plugin that is less like a "smart notepad" and more like Jupyter but with results printed on the right side of the screen instead of in a cell below. Supports lots of programming languages.

  • notecalc3

    NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.

  • This looks fantastic. I will definitely give it a spin. I've been tracking what I call "computational scratchpad" apps for a while now but haven't found one that fits my environment/workflow yet. Maybe Heynote will. Here are some others that I've looked at:

    * https://soulver.app Granddad of them all, Mac-only, proprietary, expensive

    * https://numi.app Mac-only, proprietary, semi-expensive. Has a Github and claims to be MIT-licensed but I don't see how you could build a working application with what's in the repo.

    * https://calca.io Windows- and Mac-only, proprietary, not expensive, nice docs.

    * https://notepadcalculator.com Web-based, not open source, hosted but uses local storage. You can optionally create an account to sign in and have your notes saved in plaintext on his server.

    * https://github.com/bbodi/notecalc3 Web-based, open source, self-hostable. But it seems to save your document in the URL string itself, which means the URL gets updated with almost every keystroke. Worth it for quick calculations and very small notes, I guess.

    * https://numpad.io Web-based, hosted, not open source. Also stores entire doc in URL, but doesn't update the URL bar the whole time you're typing.

    * https://numbr.dev/ Web-based, hosted. Has a Github but is not open source and the repo does not have all the bits needed to self-host it. Stores entire doc in URL.

    * https://github.com/metakirby5/codi.vim Vim/NeoVim plugin that is less like a "smart notepad" and more like Jupyter but with results printed on the right side of the screen instead of in a cell below. Supports lots of programming languages.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • codi.vim

    :notebook_with_decorative_cover: The interactive scratchpad for hackers.

  • This looks fantastic. I will definitely give it a spin. I've been tracking what I call "computational scratchpad" apps for a while now but haven't found one that fits my environment/workflow yet. Maybe Heynote will. Here are some others that I've looked at:

    * https://soulver.app Granddad of them all, Mac-only, proprietary, expensive

    * https://numi.app Mac-only, proprietary, semi-expensive. Has a Github and claims to be MIT-licensed but I don't see how you could build a working application with what's in the repo.

    * https://calca.io Windows- and Mac-only, proprietary, not expensive, nice docs.

    * https://notepadcalculator.com Web-based, not open source, hosted but uses local storage. You can optionally create an account to sign in and have your notes saved in plaintext on his server.

    * https://github.com/bbodi/notecalc3 Web-based, open source, self-hostable. But it seems to save your document in the URL string itself, which means the URL gets updated with almost every keystroke. Worth it for quick calculations and very small notes, I guess.

    * https://numpad.io Web-based, hosted, not open source. Also stores entire doc in URL, but doesn't update the URL bar the whole time you're typing.

    * https://numbr.dev/ Web-based, hosted. Has a Github but is not open source and the repo does not have all the bits needed to self-host it. Stores entire doc in URL.

    * https://github.com/metakirby5/codi.vim Vim/NeoVim plugin that is less like a "smart notepad" and more like Jupyter but with results printed on the right side of the screen instead of in a cell below. Supports lots of programming languages.

  • lang-markdown

    Markdown language support for the CodeMirror code editor

  • > I do find myself wanting more features, but of course the beauty of this is how simple it is, so you definitely need to strongly resist the urge to add and add as people suggest ways to 'improve' it.

    Definitely! I'm happy that you preface the feature requests with this comment :).

    I've thought about the possibility of some kind of evaluation of code blocks, but at the moment I'm not planning to add it. Mainly because of the questions you posed :).

    Heynote currently gets most of its Markdown features (basically everything except the checkboxes) "for free" from CodeMirror's Markdown mode (https://github.com/codemirror/lang-markdown).

    Regarding tab size, I realize that it's something that I'm going to have to add settings for. Up until now, me and a few friends have been the only users of Heynote, and it seems like none of us favors tabs before spaces (or at least no one has asked me to fix it).

  • example

  • The Slack use case highlighted on the front page would be better if Slack markup was an available syntax. Slack is not really Markdown, so composing messages in Heynote won't have high fidelity.

    One thing that often trips me up is that links and code formatting cannot coexist:

        [`method_name`](https://github.com/example/example/blob/main/src/foo.rs)

  • dev

    Development repository for the CodeMirror editor project

  • Performance is mostly handled by CodeMirror (https://codemirror.net/), the underlying editor that Heynote is built upon. It seems to handle quite large buffers well. Where I have seen some minor performance issues is when working with very large blocks in certain language modes.

  • GodMode

    AI Chat Browser: Fast, Full webapp access to ChatGPT / Claude / Bard / Bing / Llama2! I use this 20 times a day.

  • ah a fellow electron app publisher! qq - have you figured out automatic updates yet? i tried to do that in my app (https://github.com/smol-ai/GodMode) but everyone just complains about a blank white screen whenever i push an update, if they even receive it at all. feels very flimsy. what do uou recommend for update push best practice?

  • languagetool

    Style and Grammar Checker for 25+ Languages

  • Great tool, thanks for sharing. If you are open to suggestions, I would love to have spellcheck in it.

    https://github.com/languagetool-org/languagetool

  • rodo

    Rodo is a terminal-based todo manager written in Ruby

  • I wrote a small Ruby TUI which works like this called Rodo (Ruby Todos). Pressing CTRL+t will get you a new Todo list (it's just markdown) at the top of a file.

    https://github.com/coezbek/rodo

  • Trilium Notes

    Build your personal knowledge base with Trilium Notes

  • I move between machines a lot and prefer an online tool; I'm self-hosting Trilium Notes https://github.com/zadam/trilium ; this looks a bit cleaner but without syncing (or server-side storage) it misses a bunch of potential use cases.

  • go

    The Go programming language

  • Not only that. It seems that with all the millions they have, Slack devs were unable to implement the most basic bracket balancing in the link parser.

    Try to send a link with a title including square brackets, and contemplate the disaster that gets interpreted from it:

       [Unmarshal(data []byte, v any)](https://github.com/golang/go/blob/go1.21.0/src/encoding/json/decode.go#L97)

  • zero-true

    Zero-True: A collaborative notebook built for data scientists

  • This is awesome.... I'm super interested in polyglot file formats like this one. Huge congrats and I will definitely be giving it a try.

    I've actually been working on my own project to combine Python+SQL+Markdwown+Rich Text into one reactive executable document. If any of you are interested here is a link: https://github.com/Zero-True/zero-true.

  • RunJS

    RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts