Skip to content

BonBon for Windows 1.0.4

Latest

Choose a tag to compare

@Latz Latz released this 25 Nov 14:59

BonBon for Windows, a browser for a web made of Markdown files: the interface of BonBon 0.6.56 (Dave Winer, MIT) unchanged, in WebView2, with a small native app in Nim instead of Electron.

What's new in 1.0.4

Security fixes, from an audit of the app.

  • The window never leaves the shell. A server could answer the download page's link with an HTML page instead of the file, and that page took the shell's place, with all of BonBon's calls at its disposal: the history, the bookmarks, the tabs, and requests to any address, the reader's own network included. Now a navigation away from the shell is stopped. A file still downloads, with the Save As dialog; a page goes nowhere.
  • The app answers only the shell. A message from any other page is ignored, and the bridge isn't set up in one.
  • window.open and a middle-click open the reader's default browser, not a bare WebView2 window.
  • A page's title can't run script. It was put into the Add Bookmark dialog as HTML; now it's text.
  • No answer is read past 50 MB. A server that never stops sending used to fill the memory until the app crashed; now it's an error message.

Installation

  1. Download bonbon.exe, put it anywhere and run it. windows.zip and BonBon-1.0.4-windows-x64.zip hold the same exe, with the license beside it.
  2. On the first start Windows may say "Windows protected your PC" because the app isn't signed: click "More info", then "Run anyway".

The latest version is always at https://github.com/Latz/BonBon-Windows/releases/latest/download/bonbon.exe and https://github.com/Latz/BonBon-Windows/releases/latest/download/windows.zip. Windows 10 and 11 usually come with the WebView2 runtime it needs; if not, it's available from Microsoft.

SHA-256:

  • bonbon.exe: 58082508BC6BFF7CEDE5FCAB3E4B86C1EC4F511E7012060BB0C8CEA4ECB51CBE
  • windows.zip / BonBon-1.0.4-windows-x64.zip: 4803706339E5279DFF86449EDEBC8453E533BCC857DF316547B1A6E4DA6FF3B2