Project: 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.

  • Takes the selected text in a draft and searches the OMDB API for a film result (requires OMDB API key).
  • OMDB Film Search

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).
  • Film GitHub Action

Deduplicate List

  • Makes list items unique and appends deleted items in a new list at the bottom of the draft.
  • Deduplicate list

Sort Lists

  • Takes all the lists in a draft and sorts the list items alphabetically within each list.
  • Sort lists

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.
  • TimeZones

Line Quotes

  • Takes a draft and prepends a > at the start of each line.
  • Line Quotes

Sum Lists

  • Takes a list of items and costs, and creates a new line showing the total.
  • Sum Lists

Quote Post

  • Takes a quote post, asks for Front Matter, and saves it into Working Copy.
  • Quote post

Regular Post

  • Takes a regular blog post, asks for Title and date, and saves it to Working Copy.
  • Regular Post

Front-mattered Post

  • Takes a Jekyll formatted post with front matter and copies it to Working Copy.
  • Front-mattered Post

Header Date

  • adds today’s date as a h3 heading - perfect for journalling.
  • Header Date

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.
  • Get weather

Quiche Browser Open Url

AI Prompt Processor

  • Uses a template to create a prompt and data, the action then uses the on device model to provide an outcome.
  • AI Prompt Processor
  • Uses selected text in a draft and searches ISBNsearch.org for a result.
  • ISBN Search

Arch Search Selection

  • Takes the selected text in a draft, and launches a search in the Arc Browser.
  • Arc Search Selection

Duck Duck Go Search Selection

Bing Search Selection

Google Search Selection without AI

Ecosia Search Selection

Get GitHub User ID

Auto Post Markdown to GitHub

  • Takes a draft with first line as the title, and rest as the body and posts the draft to GitHub as a markdown file with front matter in a posts directory. Uses GitHub API and Drafts Credential store, with these set on first use (account, repo, token). Requires a GitHub Personal Access Token with contents read/write access.
  • Get Markdown to GitHub

Super Bookmaker to GitHub

  • Takes a draft with first line as the title, finds a link: url line and the rest as the body and posts the draft to GitHub as a markdown file with front matter in a _bookmarks directory/collection of a Jekyll Blog. Uses GitHub API and Drafts Credential store, with these set on first use (account, repo, token). Requires a GitHub Personal Access Token with contents read/write access. Front matter uses microformat u-bookmark-of format.
  • Super Bookmaker to GitHub

» View →

// Published: , with 773 words. 0 mentions.

No webmentions were found.

← Back to Projects