ShareShortcuts

Post to Write.as Blog (macOS)

blue
Fork “Post to Write.as Blog (macOS)”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so blue gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
44K
Saved
0
Actions
7
Category
Productivity
Version
1.0
Language
EN

Preview

![Post to Writeas Blog](https://user-images.githubusercontent.com/43663476/152098127-6408d6fc-8afd-482c-86aa-0bee8c1b0027.png) This shortcut uses [the Write.as CLI](https://write.as/apps/cli) to post the current clipboard contents to a writeas blog specified at install. You'll also need to choose the formatting of the post at install from the list below. > …use the --font [value] argument to set the post's appearance, where [value] is mono, monospace (default), wrap (monospace font with word wrapping), serif, or sans. - mono - wrap - serif - sans It can be used with Drafts for macOS via [this Action](https://actions.getdrafts.com/a/1u0) (mind the title.) * [Contact Card](https://davidblue.wtf/db.vcf) * [Telegram](https://t.me/extratone) * [Email](mailto:davidblue@extratone.com) * [Twitter](https://twitter.com/NeoYokel) * [Mastodon](https://mastodon.social/@DavidBlue) * [Discord](https://discord.gg/0b9KQUKP858b0iZF) * [*Everywhere*](https://raindrop.io/davidblue/social-directory-21059174)...

What's New

Version 1.0

First release

Version History
1.0 Feb 2, 2022

First release

What it does

7 actions
  1. Comment
    This shortcut uses the Write.as CLI to post the current clipboard contents to a writeas blog specified at install. You'll also need to choose the formatting of the post at install from the list below. > …use the --font [value] argument to set the po…
  2. Text
  3. Set Variable
    blog
  4. Text
  5. Set Variable
    format
  6. Run Shell Script
  7. Show Web Page

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#define mac true
#include 'actions/mac'
#define glyph iPadAlt

/*
This shortcut uses the Write.as CLI to post the current clipboard contents to a writeas blog specified at install. You'll also need to choose the formatting of the post at install from the list below.

> …use the --font [value] argument to set the post's appearance, where [value] is mono, monospace (default), wrap (monospace font with word wrapping), serif, or sans.

- mono
- wrap
- serif
- sans

Install the Write.as CLI: https://write.as/apps/cli	

My contact information:

Email: [email protected]
Contact card: bit.ly/whoisdavidblue
RoutineHub Profile: https://routinehub.co/user/blue
GitHub: https://github.com/extratone/i
Telegram: t.me/extratone
Twitter: twitter.com/NeoYokel
Reddit: reddit.com/u/asphaltapostle
Mastodon: mastodon.social/@DavidBlue
EVERYWHERE: bit.ly/dbrolodex
*/
@blog = "chaff"
@format = "sans"
runShellScript("writeas post -c {@blog} --font {@format}", ShortcutInput, "/bin/sh")
showWebpage()
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by blue

See All

You Might Also Like

See All
Advertisement