A first step toward multiple windows in : popup menus that live outside the main window.

On Mac/Windows it makes more sense to use native menus for this, but everywhere else a platform-agnostic method is needed, and this one is purely based on SDL-managed borderless windows.

@jk very cool, might try to make a Gemini client as well looks easy to parse
Follow

@nonetrix Go for it!Presenting gemtext is fun and has plenty of room for artistic choices. Client impl gets a bit trickier when dealing with client certs and things like bookmark management, but it’s still very manageable especially if you have good frameworks underneath.

@jk I've never tried writing a parser any tips or resources?

@nonetrix Gemtext parsing is simpler than parsing text in general, because you can just read the source line by line.

I recommend studying the 100-line Python example client: tildegit.org/solderpunk/gemini

(That's where I started with my app.)

Sign in to participate in the conversation
skyjake.fi

skyjake's personal Mastodon instance