the git strategy uses a worker process to sync changes to a remote; it subscribes to a Redis channel and it kicks off a RepoActor on a separate thread, which is notified when a local change has been made or the webhook is invoked from GitHub. The RepoActor deduplicates events, and call a method on Sync, which then creates a new Operation and executes it.

Elixir

uptom (an earlier version of uptom.co) – periodically checks your website and sends an email when it's down; it also provides a dashboard which is notified via a Phoenix channel. CheckSupervisor manages many SiteManagers, which is responsible for scheduling checks, which are done in Checker.

JavaScript

brahin-frontend – VanillaJS front-end part of Brahin wiki; progressive web application; can support different editor plugins and different storage strategies (backend, pouchdb); the entry point is init, the core ties everything together, storage contains the API for loading and saving content, spa and linking ensures that navigating between pages is snappy.