Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extension: Steam #1842

Merged
merged 32 commits into from
Jun 18, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
137e33a
wip
KevinBatdorf Jan 9, 2022
04540ea
wip
KevinBatdorf Jan 9, 2022
36c049b
Update Laravel Forge Extension
KevinBatdorf Jan 15, 2022
714c793
Merge pull request #3 from KevinBatdorf/update-laravel-forge-extensio…
KevinBatdorf Jan 15, 2022
b8e7878
Merge remote-tracking branch 'upstream/main'
KevinBatdorf Jan 16, 2022
6fc381b
add workflow
KevinBatdorf Jan 16, 2022
da3fcd4
Update Laravel Forge Extension (#4)
github-actions[bot] Jan 16, 2022
af59057
Merge remote-tracking branch 'upstream/main'
KevinBatdorf Mar 26, 2022
cf74201
Merge remote-tracking branch 'upstream/main'
KevinBatdorf Apr 2, 2022
410dc11
wip
KevinBatdorf Apr 2, 2022
24b3602
wip
KevinBatdorf Apr 2, 2022
b12f87f
Rename fetch-raycast-extension to fetch-raycast-extension.yml
KevinBatdorf Apr 2, 2022
a461c69
wip
KevinBatdorf Apr 2, 2022
ea6a0e2
Update Laravel Forge Extension (#5)
github-actions[bot] Apr 2, 2022
d2c7160
Delete fetch-raycast-extension.yml
KevinBatdorf Apr 2, 2022
21a82dd
add metadata
KevinBatdorf Apr 3, 2022
632444f
Add steam extension
KevinBatdorf May 29, 2022
148c311
merge main
KevinBatdorf May 29, 2022
8729bd2
update extension readme
KevinBatdorf May 29, 2022
67b0910
Update comments
KevinBatdorf May 29, 2022
837cc33
Add Navigation titles
KevinBatdorf May 29, 2022
66868a8
move readme screenshots out
KevinBatdorf May 29, 2022
924ba7c
grammar fix
KevinBatdorf May 29, 2022
3b11621
Update screenshots
KevinBatdorf May 29, 2022
333b461
Memoize list
KevinBatdorf May 29, 2022
5a2dbd4
Add release date to metadata
KevinBatdorf May 30, 2022
3baf110
Update screenshots
KevinBatdorf May 31, 2022
55ca123
Add updated auth-like flow
KevinBatdorf Jun 8, 2022
d2547c4
Update cache and pw field type
KevinBatdorf Jun 16, 2022
8b2805d
Update icons
KevinBatdorf Jun 17, 2022
05c45b0
Update CHANGELOG.md
pernielsentikaer Jun 18, 2022
8d8f1f6
Update CHANGELOG.md
raycastbot Jun 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions extensions/steam/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"root": true,
"env": {
"es2020": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
]
}
4 changes: 4 additions & 0 deletions extensions/steam/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
5 changes: 5 additions & 0 deletions extensions/steam/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Steam Changelog

## [Added Steam] - 2022-05-30

Initial version code
40 changes: 40 additions & 0 deletions extensions/steam/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Steam

Search and view information about any game on steam, as well as games you own.

Get an API token here (optional): https://steamcommunity.com/dev/apikey

Search is powered by this public repo: https://github.com/KevinBatdorf/steam-api

Source repo: https://github.com/KevinBatdorf/steam-raycast

Notes:
- While rare, you may hit the Steam API rate limit. If that's the case, just wait a few moments and try again.
- Sometimes the Steam API sends a random language. There doesn't seem to be any logic to this. Just press escape and try again.
- Sometimes games are removed from Steam yet still show in the API. To avoid extra network costs, the extension will just provide feedback that the game no longer exists.
- Icons will only show if you own the game. Steam doesn't send the icons via the public api.

To run the dev build, you can:

1. Clone the repo
2. Navigate to the directory then run `npm i && npm run build`
3. In Raycast, add the repo via "Add script directory" option on the Extensions
tab (look for the +)
4. Open an issue here if you get stuck and I'll try to help.

<img src="assets/screenshot-1.png" />
<img src="assets/screenshot-2.png" />

## Features

- Search all games on Steam
- Search only your games
- View details about a game
- Filter your search

## FAQ

- Get an API token here: https://steamcommunity.com/dev/apikey
- What's Raycast? https://www.raycast.com/
- Dev instructions here:
https://developers.raycast.com/basics/create-your-first-extension
Binary file added extensions/steam/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/steam/assets/screenshot-1.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/steam/assets/screenshot-2.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/steam/assets/steam-icon-64.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/steam/metadata/steam-01.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/steam/metadata/steam-02.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/steam/metadata/steam-03.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/steam/metadata/steam-04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading