diff --git a/README.md b/README.md index 203f148..e05f4f5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,76 @@ -# Post to Akkoma +# Raycast Extension for Akkoma -Write a new post and send it to Akkoma \ No newline at end of file +commands of this plugin + + +- [Akkoma](https://akkoma.social/) + - [Raycast](https://raycast.com) + +**Features**: +- Write status with markdown support. +- Publish simple status with text. +- Publish scheduled status with natural date format. +- Publish status with attachments (image, video, files); add alt text to the image when only one image is attached. +- Save draft status. +- View your bookmarked statuses. +- View your latest statuses. +- Open the latest published status that was published from Raycast through the actions. + +## Settings + +Input your Akkoma / Pleroma instance's URL, then click the "Continue" button in the bottom-right corner. + +login + +## Examples: + +### Add simple status with text + +Add simple status with text + +### Add scheduled status + +Add scheduled status + +### Add status with image and alt text + +Add status with image and alt text + +### View bookmarked status + +Add simple status with text + +### View your latest status + +View your latest status + +### Mark status as sensitive +Toggle the "Sensitive" checkbox to mark the attached image as sensitive, or add a content warning to the status. + +View your latest status + +### Write status with markdown +Toggle the "Markdown" checkbox to render markdown in the text file. Markdown shortcuts are also supported (e.g., pressing `⌘` + `B` will add `**bold**` around the selected text, `⌘` + `I` will make the selected text italic, etc.). + +Writing status with markdown + +## Available Settings + +### Status limit +Based on performance considerations, the number of statuses displayed is limited, with the default being 20. You can adjust this limit in the extension settings. + +bookmark limit + +status limit + +### Default visibility + +Default visibility + +## Actions +actions + +## TODO + +- [ ] Bubble Visibility +- [ ] Fork to Mastodon diff --git a/assets/actions.png b/assets/actions.png new file mode 100644 index 0000000..5360b2d Binary files /dev/null and b/assets/actions.png differ diff --git a/assets/add-cw.png b/assets/add-cw.png new file mode 100644 index 0000000..7ebb6e1 Binary files /dev/null and b/assets/add-cw.png differ diff --git a/assets/add-scheduled-status.png b/assets/add-scheduled-status.png new file mode 100644 index 0000000..80d70fe Binary files /dev/null and b/assets/add-scheduled-status.png differ diff --git a/assets/add-simple-status.png b/assets/add-simple-status.png new file mode 100644 index 0000000..5f6ef3b Binary files /dev/null and b/assets/add-simple-status.png differ diff --git a/assets/add-status-alt-text.png b/assets/add-status-alt-text.png new file mode 100644 index 0000000..4f41f15 Binary files /dev/null and b/assets/add-status-alt-text.png differ diff --git a/assets/add-status.png b/assets/add-status.png new file mode 100644 index 0000000..d72d9ad Binary files /dev/null and b/assets/add-status.png differ diff --git a/assets/command.png b/assets/command.png new file mode 100644 index 0000000..4d0ef9c Binary files /dev/null and b/assets/command.png differ diff --git a/assets/draft-status.png b/assets/draft-status.png new file mode 100644 index 0000000..8c908cf Binary files /dev/null and b/assets/draft-status.png differ diff --git a/assets/login.png b/assets/login.png new file mode 100644 index 0000000..723d76f Binary files /dev/null and b/assets/login.png differ diff --git a/assets/markdown.png b/assets/markdown.png new file mode 100644 index 0000000..62ee600 Binary files /dev/null and b/assets/markdown.png differ diff --git a/assets/setting-bookmarks.png b/assets/setting-bookmarks.png new file mode 100644 index 0000000..6e01f7f Binary files /dev/null and b/assets/setting-bookmarks.png differ diff --git a/assets/setting-status.png b/assets/setting-status.png new file mode 100644 index 0000000..a5b7861 Binary files /dev/null and b/assets/setting-status.png differ diff --git a/assets/setting-visibility.png b/assets/setting-visibility.png new file mode 100644 index 0000000..966cbd6 Binary files /dev/null and b/assets/setting-visibility.png differ diff --git a/assets/view-bookmarks.png b/assets/view-bookmarks.png new file mode 100644 index 0000000..fc3af95 Binary files /dev/null and b/assets/view-bookmarks.png differ diff --git a/assets/view-my-status.png b/assets/view-my-status.png new file mode 100644 index 0000000..33dcf73 Binary files /dev/null and b/assets/view-my-status.png differ diff --git a/src/bookmark.tsx b/src/bookmark.tsx index 8b1e4be..d7ee6a4 100644 --- a/src/bookmark.tsx +++ b/src/bookmark.tsx @@ -37,7 +37,7 @@ export default function BookmarkCommand() { {bookmarks?.map((bookmark) => ( } actions={ diff --git a/src/utils/types.ts b/src/utils/types.ts index c594f6f..e215f38 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -74,6 +74,7 @@ export interface Status { acct: string; }; url: string; + uri: string; content: string; pleroma: { content: {