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.
OMDB Film Search
- 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
- Takes the selected url in a draft, and launches the url in the Quiche Browser (iOS).
- 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 →
ISBN Search
- 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
- Takes the selected text in a draft, and launches a search with Duck Duck Go.
- Duck Duck Go Search Selection →
Bing Search Selection
- Takes the selected text in a draft, and launches a search with Bing.
- Bing Search Selection →
Google Search Selection without AI
- Takes the selected text searches at google but appends udm=14 to the url to remove the AI overview.
- Google Search Selection without AI →
Ecosia Search Selection
- Takes the selected text in a draft, and launches a search with Ecosia.
- Ecosia Search Selection →
Get GitHub User ID
- Takes GitHub username and appends user id number to the draft.
- 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
postsdirectory. 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: urlline and the rest as the body and posts the draft to GitHub as a markdown file with front matter in a_bookmarksdirectory/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 microformatu-bookmark-offormat. - Super Bookmaker to GitHub →
» View →
No webmentions were found.
scripts