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

WIP #11

Merged
merged 50 commits into from
Sep 28, 2024
Merged

WIP #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
58293ed
refactor: add import alias
shm11C3 Aug 31, 2024
c4b3aac
update: ハードウェア使用率更新処理の修正
shm11C3 Aug 31, 2024
e4f32e3
update: `ci.yaml`
shm11C3 Aug 31, 2024
8f86793
Merge pull request #6 from shm11C3/udpate_hardware-service
shm11C3 Aug 31, 2024
956592d
add: GPU使用率取得関数の追加
shm11C3 Sep 1, 2024
1e7f17a
Merge pull request #7 from shm11C3:feature_get-nvidia-gpu-usage
shm11C3 Sep 1, 2024
323afae
update: add rust linter
shm11C3 Sep 1, 2024
d62d435
Revert "update: add rust linter"
shm11C3 Sep 1, 2024
79911d5
refactor: ディレクトリ分割
shm11C3 Sep 1, 2024
cd74041
add: 設定変更用のUI追加
shm11C3 Sep 1, 2024
3aa887c
refactor: run `npm run format`
shm11C3 Sep 1, 2024
fdd0b0c
refactor: format
shm11C3 Sep 1, 2024
2dc0ae5
Merge pull request #8 from shm11C3/feature_setting-menu
shm11C3 Sep 1, 2024
afe03fe
add: setting
shm11C3 Sep 1, 2024
b5e770e
update: 設定読み込み・更新時のエラー処理を追加
shm11C3 Sep 8, 2024
d77e074
change: `fill : true`
shm11C3 Sep 11, 2024
1098aed
fix: 設定が変更できない問題を修正
shm11C3 Sep 14, 2024
4856abe
refactor: rename: `chartType.ts`
shm11C3 Sep 14, 2024
22db187
add: get hardware info
shm11C3 Sep 14, 2024
bf75014
Merge pull request #9 from shm11C3/feature_add-hardware-info
shm11C3 Sep 14, 2024
75e3691
change: indent tab => space
shm11C3 Sep 14, 2024
ad8a21c
feature: get gpu info
shm11C3 Sep 14, 2024
8edbab6
refactor: change property name
shm11C3 Sep 14, 2024
f29906d
Merge pull request #10 from shm11C3/feature_get-gpu-info
shm11C3 Sep 14, 2024
8f82732
update: settings.json
shm11C3 Sep 15, 2024
1e3db81
update: デザイン修正
shm11C3 Sep 15, 2024
9eb41e1
refactor: 不要なコードの削除
shm11C3 Sep 15, 2024
4568db8
refactor: delete unused code
shm11C3 Sep 15, 2024
cceb2c3
change: 凡例をborder外に移動
shm11C3 Sep 15, 2024
809bcb1
feature: side menu
shm11C3 Sep 15, 2024
e2b60d0
update: UI微調整
shm11C3 Sep 15, 2024
64aa1f4
refactor: rename `Usage.tsx`
shm11C3 Sep 22, 2024
2e8e7e2
feature: add `DoughnutChart`
shm11C3 Sep 22, 2024
61ffd40
feature: add Dashboard
shm11C3 Sep 22, 2024
4228ada
feature: 数値の桁数を丸める
shm11C3 Sep 22, 2024
8e05f53
feature: vendor_id のフォーマット
shm11C3 Sep 22, 2024
f4ce414
refactor: 不要なimportの削除
shm11C3 Sep 22, 2024
531e072
Merge pull request #12 from shm11C3/feature_dashboard
shm11C3 Sep 22, 2024
8c4a4d3
fix: 取得できた値はそのまま返却するように修正
shm11C3 Sep 22, 2024
5cc0992
update: npm
shm11C3 Sep 22, 2024
a2f4957
fix: メモリタイプを SMBIOS からも取得
shm11C3 Sep 23, 2024
62906d9
update: tauri
shm11C3 Sep 23, 2024
551a767
update: 表示データの微修正
shm11C3 Sep 23, 2024
41c7018
fix: logging で処理が落ちる箇所の修正
shm11C3 Sep 23, 2024
03cbe1d
feature: GPU温度の取得(Nvidia)
shm11C3 Sep 23, 2024
a45486e
fix: コンパイルエラー修正
shm11C3 Sep 23, 2024
598dc9e
feature: gpu fan speed
shm11C3 Sep 28, 2024
165f055
Merge pull request #13 from shm11C3/feature_gpu-info
shm11C3 Sep 28, 2024
a5e879a
feature: process info
shm11C3 Sep 28, 2024
cf47a28
Update README.md
shm11C3 Sep 28, 2024
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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- master
- develop
push:
branches:
- develop

jobs:
test-tauri:
Expand Down
9 changes: 5 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[svelte]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
Expand All @@ -24,5 +21,9 @@
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true,
"editor.inlayHints.enabled": "off"
}
},
"cSpell.words": ["consts", "nvapi", "tauri"],
"tailwindCSS.experimental.classRegex": [
"tv\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)"
]
}
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
# create App
# hardware-monitor

## Require
## Dashboard

![image](https://github.com/user-attachments/assets/9a2bf54f-d6e5-4c20-b0e4-f249fd5b8433)

## Usage Graph

![image](https://github.com/user-attachments/assets/b8fa7d67-a015-487f-aeb4-f43306d28f54)


## Development

### Require

- Node.js 20
- Rust

## Creating a project
### Creating a project

```bash
npm ci
```

## Developing
### Developing

```bash
npm run tauri dev
```

## Building
### Building

```bash
npm run tauri build
Expand Down
31 changes: 19 additions & 12 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"nursery": {
"useSortedClasses": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
}
20 changes: 20 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": false,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
Loading