Skip to content

Commit db39d2d

Browse files
authored
Add GoodLinks scripts (raycast#776)
1 parent ee16ae1 commit db39d2d

10 files changed

+181
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Open Last Unread Link
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Open the last unread link in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/last"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Open Link
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Open a link in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
# @raycast.argument1 { "type": "text", "placeholder": "URL", "percentEncoded": true}
20+
21+
open "goodlinks://x-callback-url/open?url=${1}"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Open Random Unread Link
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Open a random unread link in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/random"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Show Read List
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Show Read list in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/read"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Save Link
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Saves a new link to GoodLinks
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
# @raycast.argument1 { "type": "text", "placeholder": "URL", "percentEncoded": true}
20+
# @raycast.argument2 { "type": "text", "placeholder": "Tags", "optional": true, "percentEncoded": true}
21+
# @raycast.argument3 { "type": "text", "placeholder": "Title", "optional": true, "percentEncoded": true}
22+
23+
open "goodlinks://x-callback-url/save?url=${1}&tags=${2}&title=${3}&quick=1"
24+
25+
echo "Link saved!"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Show Starred List
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Show Starred list in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/starred"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Show Tag
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Show links tagged with the specified tag in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
# @raycast.argument1 { "type": "text", "placeholder": "name", "percentEncoded": true}
20+
21+
open "goodlinks://x-callback-url/tag?name=${1}"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Show Unread List
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Show Unread list in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/unread"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# Install GoodLinks via Mac App Store: https://apps.apple.com/app/id1474335294
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Show Untagged List
8+
# @raycast.mode silent
9+
10+
# Optional parameters:
11+
# @raycast.icon images/goodlinks.png
12+
# @raycast.packageName GoodLinks
13+
14+
# Documentation:
15+
# @raycast.description Show Untagged list in the GoodLinks app
16+
# @raycast.author Filip Chabik
17+
# @raycast.authorURL https://github.com/hadret
18+
19+
open "goodlinks://x-callback-url/untagged"
6.26 KB
Loading

0 commit comments

Comments
 (0)