Skip to content

Commit

Permalink
New extension: Steam (#1842)
Browse files Browse the repository at this point in the history
* wip

* wip

* Update Laravel Forge Extension

* add workflow

* Update Laravel Forge Extension (#4)

Co-authored-by: KevinBatdorf <[email protected]>

* wip

* wip

* Rename fetch-raycast-extension to fetch-raycast-extension.yml

* wip

* Update Laravel Forge Extension (#5)

Co-authored-by: KevinBatdorf <[email protected]>

* Delete fetch-raycast-extension.yml

* add metadata

* Add steam extension

* update extension readme

* Update comments

* Add Navigation titles

* move readme screenshots out

* grammar fix

* Update screenshots

* Memoize list

* Add release date to metadata

* Update screenshots

* Add updated auth-like flow

* Update cache and pw field type

* Update icons

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: KevinBatdorf <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Per Nielsen Tikær <[email protected]>
Co-authored-by: raycastbot <[email protected]>
  • Loading branch information
5 people authored Jun 18, 2022
1 parent 862f041 commit 1eacae3
Show file tree
Hide file tree
Showing 30 changed files with 7,304 additions and 0 deletions.
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-06-18

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

0 comments on commit 1eacae3

Please sign in to comment.