GlkOte

From IFWiki

GlkOte
Library
[[File:|385px|center]]
Link Home page
Developer Andrew Plotkin
Format
Interaction style
System Browser
System details
Latest version 2.3.6 / 24 Nov 2024
Status Stable
Implements Glk, GlkOte protocol
Uses


License MIT
Notes
Browse the software database
Edit this infobox

GlkOte is a Javascript implementation of the Glk API. Designed in conjunction with Quixe it allows for most of the Glk API to be used in web browsers, with the notable exclusion of stylehints and audio.

Components

GlkOte contains a few components, which can be used independently from each other:

  • GlkApi: the actual implementation of the Glk API.
  • GlkOte: the display library. GlkApi controls it using the GlkOte protocol.
  • Dialog: a file dialog library, using the browser's localStorage API.
    • The repository also includes a version of Dialog which uses the OS's native file dialogs and Node's filesystem functions, which is used by Lectrote.