I'm Henry van den Broek, an indie developer building apps I want to use: LinkaGoGo, a 25+ year-old bookmark manager; Reken, a reactive HTML framework; Mardo, a markdown editor; Weft, a personal space on the social web; plus word games and cycling tools.

Born in Amsterdam, I spent my career in enterprise software at IRI Software and Oracle before moving to the US. I've been building full time since retiring in 2022.

Off the bike I code, cook and blog; on it, I've ridden Paris-Brest-Paris twice and race cyclocross.

Posts tagged OAuth · All posts · Feed for this topic

image

To make it easier to create and edit Wako-based wiki pages, I added OAuth support to Wako. Now I have three markdown-server products that interoperate easily with Mardo, the Markdown Browser and Author:

  • LinkaGoGo: the original online bookmark manager.
  • Wako: a Markdown wiki in one Go binary.
  • Weft: write on the open web, from a place that is yours.

The last two, Weft and Wako, provide write support that Mardo works with.

markdownbonbonmarkdownwebmardolinkagogowakoweftoauthwikiindieweb

Mardo 0.19.x

image

Signing in and editing

  • Sign in with a site (OAuth): a site that offers it signs you in on its own page, and Mardo keeps the token in your keychain and renews it. It works on desktop, iPhone and Android.
  • Sign in to edit:
    • On a page the server won't let you change, the source view has a "Sign in to edit" bar.
    • The ☰ menu says "Sign in with …" in either view, and choosing it starts the sign-in.
    • Signing out reloads the page and takes away the editing options.
  • Add and delete pages: where a server allows it (Allow: POST or DELETE), the right-click menu and the ☰ menu offer "New … here…" and "Delete this page…". Which kinds of page to offer (a post, a wiki page) and their starting template come from bonbon.json under a mardo key.
  • Safer saves: a save, add or delete is never sent on when a server redirects it.

Search and address bar

  • Site search: a site's own search (urlSearch in bonbon.json) works in either mode. Outside Bonbon mode, only a search on the site's own host is used.
  • Hints and selection: a magnifier and the site's name in the address bar show when site search is on. A click in the address bar selects the whole address.

Navigation and reading

  • Back and Forward: they remember the anchors you followed, and a long press lists the pages behind.
  • Tabs and bookmarks: a tab menu, addresses for headings, and a bookmarks toolbar under Send to.
  • Open in browser: an external link opens in the browser. That never worked on iPhone before this release.
  • Data links: markdown in a data: link of an HTML page now has its relative links resolved against the page's address.

Where it shipped

  • 0.19.2: this is in review at both stores, and it is the release for macOS, Windows and Linux. It has everything above except the last item.
  • Data-link fix: this is on main only. It will go out with 0.19.3.
  • Earlier tags: v0.19.0 and v0.19.1 were interim releases and are superseded by 0.19.2.

mardomarkdownrelease-notesoauthbonbonmarkdownweb

LinkaGoGo, my online bookmark manager, can show its pages as markdown to a markdown browser. For shared (public) folders and bookmarks, that has worked fine from the start. For private ones, you had to give the browser an API key. Mardo, my markdown browser and editor, has a place for that, Site Credentials, but copying a key out of one app and into another is a hassle. I wanted to make it easier.

LinkaGoGo authorize Mardo dialog

I looked at a few options and settled on OAuth, the standard way an app asks a website for permission on your behalf. It is a good fit for this case: a desktop app (Mardo) that needs to sign in to a web service (LinkaGoGo). LinkaGoGo already had most of the server side. It needed only a few tweaks. Mardo got the client side.

Now when Mardo opens a private LinkaGoGo page and you aren't signed in, the page offers a "Sign in with LinkaGoGo" button. Press it, and your browser opens LinkaGoGo's own page asking whether Mardo may have access. Approve, and you're back in Mardo with the page open. There is nothing to copy or paste. Mardo never sees your password, and you can sign out of LinkaGoGo from Mardo at any time.

It isn't specific to LinkaGoGo. Any site that publishes its sign-in details in the standard way can work like this, so I'm hoping to try it with other services next.

OAuthauthorizationsign inLinkaGoGoMardomarkdownmarkdown browserbookmarksAPI keyprivate bookmarks