mirror of
https://github.com/Sevichecc/raycast-akkoma-extension.git
synced 2025-06-17 22:39:13 +08:00
refactor: target akkoma&pleroma only
This commit is contained in:
parent
b24d21380e
commit
fbfea648fe
1 changed files with 19 additions and 15 deletions
34
package.json
34
package.json
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://www.raycast.com/schemas/extension.json",
|
"$schema": "https://www.raycast.com/schemas/extension.json",
|
||||||
"name": "akkoma",
|
"name": "akkoma",
|
||||||
"title": "Post to Akkoma",
|
"title": "Akkoma",
|
||||||
"description": "Send your post from Raycast to Akkoma / Pleroma / Mastodon",
|
"description": "Send your post from Raycast to Akkoma / Pleroma",
|
||||||
"icon": "akkoma-icon.png",
|
"icon": "akkoma-icon.png",
|
||||||
"author": "SevicheCC",
|
"author": "SevicheCC",
|
||||||
"categories": [
|
"categories": [
|
||||||
|
@ -11,9 +11,15 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"name": "index",
|
"name": "simple-status",
|
||||||
"title": "Post to Fediverse",
|
"title": "Simple post",
|
||||||
"description": "Send your post from Raycast to Akkoma / Pleroma / Mastodon",
|
"description": "Publish simple text status with text",
|
||||||
|
"mode": "view"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "detail-status",
|
||||||
|
"title": "Publish with image or files",
|
||||||
|
"description": "Publish status with image or files",
|
||||||
"mode": "view"
|
"mode": "view"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -23,7 +29,7 @@
|
||||||
"type": "textfield",
|
"type": "textfield",
|
||||||
"required": true,
|
"required": true,
|
||||||
"title": "Akkoma instance's URL",
|
"title": "Akkoma instance's URL",
|
||||||
"description": "Your Akkoma / Pleroma / Mastodon instance's URL",
|
"description": "Your Akkoma / Pleroma instance's URL",
|
||||||
"link": "https://github.com/Sevichecc/raycast-akkoma-extension",
|
"link": "https://github.com/Sevichecc/raycast-akkoma-extension",
|
||||||
"placeholder": "such as: example.dev"
|
"placeholder": "such as: example.dev"
|
||||||
},
|
},
|
||||||
|
@ -31,17 +37,19 @@
|
||||||
"name": "defaultVisibility",
|
"name": "defaultVisibility",
|
||||||
"type": "dropdown",
|
"type": "dropdown",
|
||||||
"required": false,
|
"required": false,
|
||||||
|
"title": "Default Visiblity",
|
||||||
|
"description": "Status default visiblity",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"title": "🌎 Public",
|
"title": "🌎 Public",
|
||||||
"value": "public"
|
"value": "public"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "🙈 Unlist",
|
"title": "🙈 Unlisted",
|
||||||
"value": "unlist"
|
"value": "unlisted"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "👥 Private",
|
"title": "👥 Followers-only",
|
||||||
"value": "private"
|
"value": "private"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -49,14 +57,10 @@
|
||||||
"value": "direct"
|
"value": "direct"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "📍 Local",
|
"title": "📍 Local-only",
|
||||||
"value": "local"
|
"value": "local"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"title": "Akkoma instance's URL",
|
|
||||||
"description": "Your Akkoma / Pleroma / Mastodon instance's URL",
|
|
||||||
"link": "https://github.com/Sevichecc/raycast-akkoma-extension",
|
|
||||||
"placeholder": "such as: example.dev"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue