Skip to content

Update Typefully extension (official rewrite) - #25102

Merged
raycastbot merged 7 commits into
raycast:mainfrom
linuz90:ext/typefully
Feb 4, 2026
Merged

raycastbot merged 7 commits into
raycast:mainfrom
linuz90:ext/typefully

Conversation

@linuz90

@linuz90 linuz90 commented Feb 3, 2026 •

Copy link
Copy Markdown
Contributor

Description

This is a complete rewrite of the Typefully extension by the official Typefully team. It replaces the existing community-contributed extension with a fully featured version.

What's new:

  • Create drafts for X, LinkedIn, Threads, Bluesky, and Mastodon
  • View unpublished, scheduled, and published drafts with rich previews
  • Browse and set default social sets (accounts/profiles)
  • Thread support (split with ---)
  • Raycast AI tools for creating, listing, and scheduling drafts via AI Chat
  • Handy shortcuts like Cmd+Delete to delete drafts

Screenshots

typefully-1 typefully-2 typefully-3

Checklist

- chore: remove old community extension files from merge
- Merge branch \'contributions/merge-1770112617082\'
- Pull contributions
- chore: add publish script to package.json
- chore: prepare extension for store submission (raycast#8)
- feat: add Cmd+Delete shortcut to delete draft action (raycast#7)
- Merge pull request raycast#6 from typefully/linuz90/ship-extension
- chore: improve store metadata and documentation
- Merge pull request raycast#5 from typefully/linuz90/improve-icons
- fix: review fixes for thread platforms, cache TTL, and formatting
- fix: stabilize draft tool inputs
- refactor: remove account command and improve drafts UX
- Merge pull request raycast#4 from typefully/linuz90/share-action-cleanup
- Add Raycast AI tools for @typefully in AI Chat
- Add CHANGELOG.md and media folder for store submission
- Add development setup instructions to README
- Centralize social set team grouping and add share action
- Add updateDraft API for sharing drafts
- Update Raycast dependencies to latest versions
- Initial commit: Typefully Raycast extension
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: typefully Issues related to the typefully extension AI Extension platform: macOS labels Feb 3, 2026
@raycastbot

raycastbot commented Feb 3, 2026 •

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @DanielFerguson @pernielsentikaer @thomaspaulmann you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/typefully"
FORK_URL="https://github.com/linuz90/extensions.git"
EXTENSION_NAME="typefully"
REPO_NAME="extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@linuz90 linuz90 changed the title Update typefully extension Update Typefully extension (official rewrite) Feb 3, 2026
@linuz90
linuz90 marked this pull request as ready for review February 3, 2026 10:01
@greptile-apps

greptile-apps Bot commented Feb 3, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR replaces the previous community Typefully extension with an official rewrite. The new implementation adds full draft management (create, list by status, rich previews), social set browsing/default selection, and Raycast AI tools (create/list/schedule). It also modernizes the extension configuration (updated @raycast/api and @raycast/utils, new commands and tools, new icon assets) and introduces a small API client layer in src/lib/api.ts for Typefully v2 endpoints.

Confidence Score: 4/5

  • This PR is generally safe to merge; core logic is straightforward and scoped to the Typefully extension.
  • Most changes are additive/new files with clear API interactions and UI wiring. One concrete pagination bug was found (offset=0 omitted), which is easy to fix and could affect deterministic paging if offset is ever set explicitly.
  • extensions/typefully/src/lib/api.ts

Important Files Changed

Filename Overview
extensions/typefully/package.json Rewrites extension manifest: new commands (drafts/social sets), new AI tools, updated dependencies and preference key.
extensions/typefully/eslint.config.js Adds Raycast flat ESLint config via @raycast/eslint-config.
extensions/typefully/src/lib/api.ts Introduces Typefully API client helpers and pagination; note offset=0 is omitted due to truthy check in listDrafts params.
extensions/typefully/src/lib/preferences.ts Adds getPreferences wrapper for apiKey preference (manual Preferences type flagged in prior thread).
extensions/typefully/src/commands/drafts-helpers.ts Adds helpers for rendering draft details, tags, and scheduling display.
extensions/typefully/src/commands/drafts-components.tsx Implements draft list item rendering with preview detail, share/copy/delete actions, and cached detail fetching.
extensions/typefully/src/commands/drafts.tsx Implements drafts list view with social set selection, status filtering, tag mapping, and empty/error states.
extensions/typefully/src/commands/create-draft.tsx Implements create draft form with platform selection, threading via --- separator, and optional scheduling/share/tags.
extensions/typefully/src/commands/scheduled-drafts.tsx View command wrapper that renders scheduled drafts list gated by API key.
extensions/typefully/src/commands/published-drafts.tsx View command wrapper that renders published drafts list gated by API key.
extensions/typefully/src/commands/social-sets.tsx Implements social set browsing and default selection with error/empty states.
extensions/typefully/src/tools/schedule-draft.ts Adds AI tool for scheduling drafts by patching publish_at on a draft.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment thread extensions/typefully/CHANGELOG.md Resolved
@greptile-apps

greptile-apps Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor
Additional Comments (1)

extensions/typefully/.prettierrc
.prettierrc file was deleted but is required by repository standards. All extensions must use the standard Raycast Prettier configuration with printWidth: 120 and singleQuote: false.

Context Used: Rule from dashboard - What: All extensions must use the standard Raycast Prettier configuration with printWidth: 120 and... (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@0xdhrv 0xdhrv self-assigned this Feb 3, 2026
Comment thread extensions/typefully/package.json Resolved

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment and suggestion.

I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊

@0xdhrv
0xdhrv marked this pull request as draft February 3, 2026 10:46
@pernielsentikaer pernielsentikaer added the renamed extension PR renames an extension label Feb 3, 2026
@linuz90
linuz90 marked this pull request as ready for review February 3, 2026 15:19
@linuz90

linuz90 commented Feb 3, 2026

Copy link
Copy Markdown
Contributor Author

Minor comment and suggestion.

I converted this PR into a draft until it's ready for the review, please press the button Ready for review when it's ready and we'll have a look 😊

I think I've addressed all feedback 🙌

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

12 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment on lines +135 to +140
if (params.limit) {
searchParams.append("limit", String(params.limit));
}
if (params.offset) {
searchParams.append("offset", String(params.offset));
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

listDrafts currently skips sending offset when it is 0 (if (params.offset) ...). If callers ever pass offset: 0 explicitly (common for pagination resets), it won’t be included in the query, which can cause inconsistent paging behavior depending on backend defaults. Use an explicit undefined check instead (e.g., params.offset !== undefined).

- style: fix prettier formatting for Raycast store
- fix: handle zero offset (raycast#12)
- feat: show media inline in draft preview (raycast#11)
- Enable Raycast draft preservation for New Draft command (raycast#10)
- Address store PR review comments (raycast#9)
- docs: add CLAUDE.md with publishing workflow
- fix: restore old command names for backward compatibility
- docs: add raycast lint instruction to CLAUDE.md
- chore: add .context to gitignore
- fix: restore old command names for backward compatibility (raycast#13)
- fix: restore old command names for backward compatibility
@linuz90

linuz90 commented Feb 3, 2026

Copy link
Copy Markdown
Contributor Author

@0xdhrv pushed a couple more fixes/improvements, won't touch it anymore, good to go ✅

@pernielsentikaer

Copy link
Copy Markdown
Contributor

@0xdhrv let me know before this gets merged since we need a few pre-steps

@raycastbot raycastbot added the OP is contributor The OP of the PR is a contributor of the extension label Feb 4, 2026

ghost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit f07b7d6 into raycast:main Feb 4, 2026
@github-actions

ghost commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@linuz90).

Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.

@linuz90

ghost commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

🎉 🎉 🎉

Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@linuz90).

Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.

Thank you! Connected 💪

@linuz90
linuz90 deleted the ext/typefully branch February 4, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: typefully Issues related to the typefully extension OP is contributor The OP of the PR is a contributor of the extension platform: macOS renamed extension PR renames an extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants