ShareShortcuts

shortText

Turn selected text in almost any app into a clean, shareable link — free, no account

shorttext
Создать форк «shortText»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы shorttext получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
4K
Сохранено
0
Действия
22
Категория
Utilities
Версия
1.0
Язык
EN

Просмотр

Turn selected text in almost any app into a clean, shareable link — free, no account.

Select text anywhere, run shortText, and it creates an unlisted shortText, copies the link to your clipboard, and opens it in your browser. Great for sharing snippets, logs, notes, or long messages that don't fit elsewhere. Works on macOS, iPhone, and iPad.

How to use

- iPhone / iPad — select text → Share → shortText - Mac — select text → right-click → Services → shortText Run it from a web browser and it also offers to append the page link.

One-time Mac setup Open the shortcut, click the ⓘ button, and tick Use as Quick Action → Services Menu so it appears in the right-click menu.

Good to know

- No account, no sign-in

- Plain text in, link out — your text renders with Markdown (headings, bold, *italic*, links, lists, code, quotes)

- Up to 30,000 characters per shortText

By shortText.com — https://shorttext.com

Что нового

Версия 1.0

First release

История версий
1.0 10 июн 2026 г.

First release

Что делает

Действий: 22
  1. Date
  2. Format Date
  3. Format Date
  4. Text
  5. Get URLs from Input
  6. Set Variable
    Body
  7. If
  8. Choose from Menu
    Add the page link?
  9. Choose from Menu
    Add link
  10. Text
  11. Set Variable
    Body
  12. Choose from Menu
    Just the text
  13. Get Contents of URL
    https://shorttext.com/api/paste
  14. Get Dictionary Value
  15. If
  16. Text
  17. Copy to Clipboard
  18. Show Notification
    …
  19. Open URLs
  20. If
  21. Get Dictionary Value
  22. Show Alert
    Couldn't create shortText

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#include 'actions/web'
#include 'actions/calendar'
#define glyph textBubble

currentDate()
formatDate(, "Custom", "MM")
formatDate(, "Custom", "dd")
const URLs = getURLs(ShortcutInput)
@Body = ShortcutInput

if URLs {
	menu "Add the page link?" {
	item "Add link":
		@Body = "{ShortcutInput}\n\n{URLs}"
	item "Just the text":
	}
}
const ContentsOfURL = jsonRequest("https://shorttext.com/api/paste", "POST", {
	"body": "{@Body}",
	"expiry": "never",
	"visibility": "unlisted"
}, {
	"Authorization": "Bearer {}",
	"Content-Type": "application/json"
})
const DictionaryValue = getValue(ContentsOfURL, "slug")

if DictionaryValue {
	const Text = "https://shorttext.com/{DictionaryValue}"
	setClipboard(Text)
	showNotification(Text, "shortText link copied")
	openURL(Text)
} else {
	alert(, "Couldn't create shortText")
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Вам также может понравиться

См. все
Реклама