• Draftodon – a Drafts Action Group for Mastodon

    Along with many others I significantly reduced my usage of Twitter recently and switchted my activities to the shiny “new” Mastodon. You can find me at @FlohGro on social.lol if you want to follow me.

    I was using a few Actions for Twitter in Drafts that I immideatly missed after I made the move to the Fediverse. After downloading some Actions from Drafts Action Directory I couldn’t resist to think about combining all of them to an easy to use Action Group with even more features than all the current Actions.

    So I started developing and after hours (I didn’t count them) of work I was happy to release Draftodon an Action Group dedicated to integrate Drafts with Mastodon.

    The Action Group has an easy setup procedure (you need to download the underlying Draftodon.js file with an Action and configure your mastodon instance and user handle in the Draftodon Settings Action) so hopefully anybody can use it.

    After doing the setup Draftodon enables you to post or schedule posts, polls and posts with content warnings. You can also publish threads if you want to write more than the character limit allows. I didn’t stop there and also implemented Actions that allow you to view and edit scheduled posts (delete / change the schedule). I also included some useful helpers to insert often used hashtags or handles of users you want to mention regularly in your posts.

    After some initial problems for early adopters (my bad – in case you’re interested: I directly linked the Draftodon Action in my Action Group which is not working for shared Action Groups – there you have to use the Template string in the “Include Action” step) I already released a small update to Draftodon to allow configuration of post visibilities to address a user request.

    Draftodon relies on a JavaScript file that you install with the Draftodon Setup / Update Action, which stores the file in the Drafts folder of your iCloud Drive directory in the subpath /Library/Scripts. The Draftodon.js is versioned in the corresponding Draftodon GitHub repository which allows me to push bugfixes and small updates to functions without the need of updating the whole Action Group.

    I really enjoy working on that Action Group so if you have any further requests, questions or issues with it – please reach out to me on Mastodon

    If you’re not yet using Draftodon but want to check it out – start by downloading the Action Group and read through the instruction to set everything up

    I hope Draftodon is a helpful tool for you and speeds up many of your workflows and processes.

    Whats next? I have a few requests that I’ll be working on:

    • integrate an Action that allows you to reply to other posts (refer to this action)
    • cover issues with authentication (sometimes Drafts is not authenticated properly but a credential will be creadet which needs a manual reset)
    • improve parts of the documentation (more prominently mention that the template tag names must not be changed)
    • find an easy solution to use Draftodon with mulitple accounts

    If you like the Action Group I would appreciate if you share that you’re using it on Mastodon, boost my posts about it (e.g. launch of Draftodon 1.1) and consider to support my work by donating

Recent Posts

  • Open Craft Daily Note From Selection

    This shortcut lets you open the daily note you select (yesterday, today or tomorrow). You have to set the space in every of the „open document“ actions since this is currently the only way to open a daily note you select directly [Configuration] When you install the shortcut you are prompted to select the space […]

  • Craft Document from Template

    This shortcut creates a new document in Craft from a configured (markdown) template. [Configuration] When you install the shortcut you are prompted to select the space the shortcut should use. It will also ask you for the folder where new documents shall be placed – if you want to have new documents in the inbox […]

  • Daily Note Template to Craft

    This shortcut lets you configure a markdown template and adds (appends) it to your Daily Note in Craft when you run it. You can set your template in the text step. Bonus tip: You can create the template in Craft and then export it as markdown – then insert the exported markdown in the text […]

  • Bookmark to DEVONthink

    This action lets you add bookmarks to DEVONthink on the Mac / DEVONthink To Go on i(Pad)OS. It will search the current draft for markdown formatted urls e.g.: Depending on how many URLs are available in the draft the action will either bookmark the only existing markdown URL to DEVONthink display a prompt if multiple […]

  • crosslink Omnifocus task and Craft document

    This action will create a cross-linked Task between Omnifocus and a Craft document. A new Craft document will be created from the content of the current draft with the first line as title for the document. After the document is created the action will create a new task in the inbox of your Omnifocus account […]