Drafts Actions List

Drafts is a Mac and iOS app made by Agile Tortoise. The app supports custom actions and scripts written in JavaScript, here is a list of actions I have created.

  • // OMDB Film Search Takes the selected text in a draft and searches the OMDB API for a film result (requires OMDB API key).
  • // Film GitHub Action Takes the Date, IMDBCode, and Rating, and Posts to GitHub to trigger an action to write the film data to a Yaml file. (Requires a GitHub User, Repo and Personal Access Token).
  • // Deduplicate list makes list items unique and appends deleted items in a new list at the bottom of the draft.
  • // Sort lists Takes all the lists in a draft and sorts the list items alphabetically within each list.
  • // TimeZones Takes a 24h time in the UK (23:45) at the start of a draft and appends a list of common time zones across the world.
  • // Line Quotes Takes a draft and prepends a > at the start of each line.
  • // Sum Lists Takes a list of items and costs, and creates a new line showing the total.
  • // Quote post Takes a quote post, asks for Front Matter, and saves it into Working Copy.
  • // Regular Post Takes a regular blog post, asks for Title and date, and saves it to Working Copy.
  • // Front-mattered Post Takes a Jekyll formatted post with front matter and copies it to Working Copy.
  • // Header Date adds today’s date as a h3 heading - // perfect for journalling.
  • // Get weather using OpenWeather’s 2.5 API (your own key required) and a city/location added as credentials to produce a date header and list of metrics for the forecast.
  • // Quiche Browser Open Url Takes the selected url in a draft, and launches the url in the Quiche Browser (iOS).
  • // AI Prompt Processor Uses a template to create a prompt and data, the action then uses the on device model to provide an outcome.
  • // ISBN Search Uses selected text in a draft and searches ISBNsearch.org for a result.
  • // Arc Search Selection Takes the selected text in a draft, and launches a search in the Arc Browser.
  • // Duck Duck go Search Selection Takes the selected text in a draft, and launches a search with Duck Duck Go
  • // Bing Search Selection Takes the selected text in a draft, and launches a search with Bing.
  • // Google Search Selection without AI Takes the selected text searches at google but appends udm=14 to the url to remove the AI overview.
  • // Ecosia Search Selection Takes the selected text in a draft, and launches a search with Ecosia.

Tip

If you find these useful and want to support me, you can tip at ko-fi.com/thechelsuk