A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
59
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add BlueSky Posting Support #7

open opened by stevedylan.dev targeting main from feat/bsky-post-ref

Overview#

Adds a new config option that allows users to enable posting to BlueSky every time a new document is published. This uses the bskyPostRef field from site.standard.document.

Config Updates#

Example generated config with Bluesky enabled:

{
    "siteUrl": "https://example.com",
    "contentDir": "./content",
    "publicationUri": "at://did:plc:.../...",
    "bluesky": {
      "enabled": true,
      "maxAgeDays": 30
    }
  }
  • bluesky.enabled will determine if BlueSky posts will be created when a new document is published. If true, the document will be created first, then a BlueSky post will be made with the title, description, and the canonicalUrl of the post. If there is an image it will embed it into the post as well. All of the combined fields are limited to 300 characters.
  • bluesky.maxAgeDays determines how far back the user may want to create BlueSky posts. For example, if I have 40 blog posts and I'm using Sequoia for the first time, the last thing I want to do is publish all 40 blog posts on my feed and cause noise. This setting lets a user determine how far back they want to post for.

When sequoia publish --dry-run is used the CLI will print out which posts will be published to BlueSky, and which ones will not.

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:ia2zdnhjaokf5lazhxrmj6eu/sh.tangled.repo.pull/3mdr5eranql22
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
stevedylan.dev submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments