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

Add Hearthstone #17952

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions extensions/hearthstone/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/hearthstone/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift
Comment on lines +7 to +10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: These Swift-related ignore patterns (.raycast-swift-build, .swiftpm, compiled_raycast_swift) seem unnecessary since this appears to be a TypeScript/JavaScript extension. Consider removing them unless Swift functionality is planned.

Suggested change
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift
raycast-env.d.ts


# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/hearthstone/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/hearthstone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Hearthstone Changelog

## [Initial Version] - {PR_MERGE_DATE}
21 changes: 21 additions & 0 deletions extensions/hearthstone/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 Raffe Yang
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Copyright year 2025 is in the future. Should be current year 2024 or earlier.

Suggested change
Copyright (c) 2025 Raffe Yang
Copyright (c) 2024 Raffe Yang


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.
48 changes: 48 additions & 0 deletions extensions/hearthstone/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Hearthstone

⚑ Quickly find top Hearthstone decks and manage card collections directly from Raycast

![Hearthstone](./metadata/hearthstone-1.png)
![Hearthstone](./metadata/hearthstone-2.png)
![Hearthstone](./metadata/hearthstone-3.png)

## Features

### πŸƒ **Competitive Deck Search**
- **Wild/Standard Decks**: Find top meta decks for both Wild and Standard formats
- **Class Filtering**: Search decks by class (Druid, Warrior, Rogue, Priest, etc.)
- **Winrate Display**: See deck winrates at a glance
- **Dust Cost**: View deck crafting costs in your preferred currency

### πŸš€ **Quick Actions**
- **Deck Code Copy**: Instant copy-to-clipboard for deck codes `(Enter)`
- **Detailed Preview**
- **Full card list with mana costs**
- **High-resolution card images**
- **Deck performance statistics**
- **Quick Navigation**: One-click access to [HSGuru.com](https://www.hsguru.com) for full analysis `(⌘+Enter)`

## Installation
1. **Raycast Store** (Recommended):
<p align="center">
<a href="https://www.raycast.com/raffeyang/hearthstone"><img src="https://www.raycast.com/raffeyang/hearthstone/[email protected]" height="64" style="height: 64px;" alt=""></a>
</p>

2. **Manual Build**:
`npm install && npm run dev`

### Workflow Example
1. Open Raycast and type `hs`
2. Select format:
`Wild` β†’ See top 25 wild decks
`Standard` β†’ View current meta decks
3. Filter by class using `⌘F`
4. Press `⏎` to:
- Copy deck code `(Enter)`
- View detailed card list `(Enter)`
- Open in HSGuru.com `(⌘ Enter)`
Comment on lines +41 to +43
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Inconsistent keyboard shortcut formatting - (Enter) vs (⌘ Enter). Consider using consistent format


---

**Disclaimer**: Not affiliated with Blizzard Entertainment. Card data Β© respective rights holders.
**License**: [MIT](LICENSE)
Binary file added extensions/hearthstone/assets/deathknight.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/hearthstone/assets/demonhunter.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/hearthstone/assets/druid.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.
Binary file added extensions/hearthstone/assets/hunter.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/hearthstone/assets/mage.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/hearthstone/assets/paladin.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/hearthstone/assets/priest.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/hearthstone/assets/rogue.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/hearthstone/assets/shaman.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/hearthstone/assets/warlock.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/hearthstone/assets/warrior.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/hearthstone/metadata/hearthstone-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/hearthstone/metadata/hearthstone-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/hearthstone/metadata/hearthstone-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading