Skip to content

twitter

This directory contains the Talon configuration for interacting with Twitter in a web browser.

The file twitter.talon defines a set of voice commands for navigating and interacting with the Twitter website. It uses the browser tag to indicate that it applies to the browser. It activates when the browser's host is twitter.com, matching any Twitter page, and can optionally be limited to windows with Twitter in the title.

The file provides commands for common Twitter actions, such as:

  • Navigating the timeline: next tweet, previous tweet, page down, load new tweet
  • Navigating to specific pages: go home, go explore, go notifications, go mentions, go profile, go likes, go lists, go direct messages, go settings, go bookmarks
  • Performing actions: new tweet, send tweet, new direct message, search, like message, reply message, re tweet, share tweet, bookmark, mute account, block account, open details, expand photo

These commands are implemented using key() calls, which simulate keyboard presses, or insert() calls, which simulate typing. For example, next tweet is implemented by simulating the j keypress.