Skip to content

Commit

Permalink
Add golinks extension
Browse files Browse the repository at this point in the history
- Update screencast (raycast#7)
- Fix error handling for API (raycast#6)
- Add error handling for fetching resources (raycast#5)
- Fix wordings (raycast#4)
- Add screencast (raycast#3)
- Update README.md (raycast#2)
- Add initial implementation (raycast#1)
- Initial commit
  • Loading branch information
Valentino Espinoza authored and Valentino Espinoza committed Jan 18, 2024
1 parent 06bd5a9 commit 3b60570
Show file tree
Hide file tree
Showing 20 changed files with 7,166 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extensions/golinks/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"root": true,
"env": {
"es2020": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"]
}
1 change: 1 addition & 0 deletions extensions/golinks/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 5 additions & 0 deletions extensions/golinks/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"singleQuote": true,
"semi": false
}
9 changes: 9 additions & 0 deletions extensions/golinks/.trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*out
*logs
*actions
*notifications
*tools
plugins
user_trunk.yaml
user.yaml
tmp
10 changes: 10 additions & 0 deletions extensions/golinks/.trunk/configs/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Autoformatter friendly markdownlint config (all formatting rules disabled)
default: true
blank_lines: false
bullet: false
html: false
indentation: false
line_length: false
spaces: false
url: false
whitespace: false
34 changes: 34 additions & 0 deletions extensions/golinks/.trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.19.0
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.4.2
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected]
- [email protected]
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available
21 changes: 21 additions & 0 deletions extensions/golinks/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 micnncim

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
33 changes: 33 additions & 0 deletions extensions/golinks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Raycast Extension: GoLinks

A [Raycast Extension](https://developers.raycast.com) for [GoLinks](https://www.golinks.io).

https://user-images.githubusercontent.com/21333876/141971817-a414d72f-cd85-418a-818d-a95d80b1c71d.mov

## Getting Started

![screenshot-preferences](./docs/assets/screenshot-preferences.png)

To get started with this extension, you need to create a GoLinks token and then add it to the preferences to access the GoLinks API.

To create an access token, sign in to your GoLinks account and go to the “Developers” tab in the "Settings" page. In the “API Tokens” panel, click on “Manage” and then click the “Create token” button.

See the [GoLinks document](https://docs.golinks.io/#19f87188-f2fb-4b75-bf69-83f0c0ca5029) for more information.

## Commands

### Search GoLinks

![screenshot-list](./docs/assets/screenshot-list.png)

Lets you search your GoLinks and then open a selected GoLink.

### Create GoLink

![screenshot-create](./docs/assets/screenshot-create.png)

Lets you create a new GoLink.

## License

This software is released under the [MIT LICENSE](./LICENSE).
Binary file added extensions/golinks/assets/command-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/golinks/assets/list-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3b60570

Please sign in to comment.