Pastecard Lab

API

Pastecard has a simple API for reading the contents of a card or writing new text to it. Use of the API is subject to the Terms of Service.

Read

Write

Append

Bookmarklet

Enter your ID below to generate a bookmarklet, and then drag it to your bookmarks bar.

Save to Pastecard

When you invoke the bookmarklet, the current page’s URL will be appended to the bottom of your Pastecard. If any text is selected on the page, that text will be appended instead. Any additions over Pastecard’s character limit of 1034 will be truncated.

Blog

Source

View the source code for a single-user web app (PHP/JS) and the iPhone app (SwiftUI). Both are provided as reference only.