Skip to content

Commit 444186e

Browse files
authored
docs: add system resources widget (#352)
1 parent 6933a9d commit 444186e

File tree

4 files changed

+8705
-6705
lines changed

4 files changed

+8705
-6705
lines changed
65.9 KB
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: 'System Resources'
3+
description: 'Displays CPU, RAM and network of your host in real time'
4+
hide_title: true
5+
---
6+
7+
import { WidgetHeader } from '@site/src/components/widgets/header';
8+
import { AddingWidget } from '@site/src/components/widgets/adding';
9+
import { WidgetConfig } from '@site/src/components/widgets/configuration';
10+
import { WidgetIntegrations } from '@site/src/components/widgets/integrations';
11+
import { systemResourcesWidget } from '.';
12+
import { dashDotIntegration } from '@site/docs/integrations/dash-dot';
13+
import { openMediaVaultIntegration } from '@site/docs/integrations/open-media-vault';
14+
import { proxmoxIntegration } from '@site/docs/integrations/proxmox';
15+
16+
17+
<WidgetHeader
18+
widget={systemResourcesWidget}
19+
categories={['CPU', 'RAM', 'Memory', 'Network', 'Interface']}
20+
/>
21+
22+
Displays CPU, RAM and network of your host in real time
23+
24+
### Screenshots
25+
26+
import widget from './img/dark-widget.png';
27+
28+
<div className='flex gap-1'>
29+
<img src={widget} alt="system resources widget" width={256} height={256} />
30+
</div>
31+
32+
### Supported Integrations
33+
34+
<WidgetIntegrations items={[{
35+
integration: dashDotIntegration
36+
}, {
37+
integration: openMediaVaultIntegration
38+
}, {
39+
integration: proxmoxIntegration
40+
}]} />
41+
42+
### Adding the widget
43+
44+
<AddingWidget />
45+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { WidgetDefinition } from '@site/src/types';
2+
import { IconGraph } from '@tabler/icons-react';
3+
4+
export const systemResourcesWidget: WidgetDefinition = {
5+
icon: IconGraph,
6+
name: 'System Resources',
7+
description: 'Displays CPU, RAM and network of your host',
8+
path: '../../widgets/system-resources'
9+
};

0 commit comments

Comments
 (0)