@openpets/typefully
v1.0.0
Published
Typefully plugin for OpenCode - schedule posts, create drafts, and manage content across multiple social media platforms (X/Twitter, LinkedIn, Bluesky, Threads, Mastodon)
Maintainers
Readme
Typefully
Social media scheduling plugin for OpenCode - schedule posts, create drafts, and manage content across multiple social media platforms.
Supported Platforms
- X (Twitter)
- Bluesky
- Threads
- Mastodon
Setup
1. Get API Key
- Go to Typefully Settings > Integrations
- Create a new API key
- Copy the key
2. Get Social Set ID
The Social Set ID represents the account(s) you want to manage. You can get it by:
- Running
typefully-list-social-setstool - Or enable Development Mode in Typefully (Cmd/Ctrl+K) to see IDs in the UI
3. Configure Environment
Copy .env.example to .env and fill in your credentials:
TYPEFULLY_API_KEY=your_api_key_here
TYPEFULLY_SOCIAL_SET_ID=your_social_set_idAvailable Tools
Connection
typefully-test-connection- Test connection and get user/account details
Social Sets
typefully-list-social-sets- List all connected social accountstypefully-get-social-set- Get details for a specific social set
Drafts
typefully-list-drafts- List all drafts with filtering and sortingtypefully-get-draft- Get detailed information about a drafttypefully-create-draft- Create a new drafttypefully-update-draft- Update an existing drafttypefully-delete-draft- Delete a drafttypefully-publish-draft- Publish a draft immediatelytypefully-schedule-draft- Schedule a draft for a specific time
Tags
typefully-list-tags- List all tagstypefully-create-tag- Create a new tagtypefully-delete-tag- Delete a tagtypefully-add-tag-to-draft- Add a tag to a drafttypefully-remove-tag-from-draft- Remove a tag from a draft
Media
typefully-get-upload-url- Get presigned URL for uploading media
Example Usage
Create a simple post
{
"content": "Hello world from Typefully!"
}Create a thread
{
"content": "Thread part 1\n\n\n\nThread part 2\n\n\n\nThread part 3"
}Schedule a post
{
"content": "Scheduled post content",
"publishAt": "2025-01-15T09:00:00Z"
}Publish immediately
{
"content": "Posting now!",
"publishAt": "now"
}API Documentation
For more details, see the Typefully API Documentation.
License
MIT
