keepmove commited on
Commit
d603cb4
·
verified ·
1 Parent(s): fe7f2ba

Upload 6 files

Browse files
Files changed (6) hide show
  1. Dockerfile +22 -0
  2. README.md +11 -0
  3. bookmarks.yaml +39 -0
  4. services.yaml +155 -0
  5. settings.yaml +30 -0
  6. widgets.yaml +36 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 使用基础镜像
2
+ FROM ghcr.io/gethomepage/homepage:latest
3
+
4
+ # 设置环境变量
5
+ ENV PUID=1000 \
6
+ PGID=1000
7
+
8
+ # 创建并设置权限
9
+ RUN mkdir -p /app/config && chown -R $PUID:$PGID /app/config
10
+
11
+ # 将本地的 YAML 文件复制到容器中
12
+ COPY settings.yaml /app/config/settings.yaml
13
+ COPY bookmarks.yaml /app/config/bookmarks.yaml
14
+ COPY services.yaml /app/config/services.yaml
15
+ COPY widgets.yaml /app/config/widgets.yaml
16
+
17
+ # 设置工作目录
18
+ WORKDIR /app
19
+
20
+ # 暴露端口
21
+ EXPOSE 3000
22
+
README.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Wds
3
+ emoji: 👀
4
+ colorFrom: indigo
5
+ colorTo: indigo
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 3000
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
bookmarks.yaml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For configuration options and examples, please see:
3
+ # https://gethomepage.dev/latest/configs/bookmarks
4
+
5
+ #- 常用网站:
6
+ # - Qbittorrent:
7
+ # - icon: /icons/qbittorrent32.png
8
+ # href: http://192.168.8.200/
9
+ # - LibreSpeed:
10
+ # - icon: http://192.168.8.8/favicon.ico
11
+ # href: http://192.168.8.8/
12
+
13
+ #- 搜索引擎:
14
+ # - Google:
15
+ # - icon: https://www.google.com/favicon.ico
16
+ # href: https://www.google.com/
17
+ #- Bing:
18
+ # - icon: https://www.bing.com/favicon.ico
19
+ # href: https://www.bing.com
20
+ # - Yahoo!:
21
+ # - icon: https://www.yahoo.com/favicon.ico
22
+ # href: https://www.yahoo.com
23
+ # - Baidu:
24
+ # - icon: https://www.baidu.com/favicon.ico
25
+ # href: https://www.baidu.com
26
+
27
+ #- 收藏网站:
28
+ # - Micorsoft:
29
+ # - icon: https://www.microsoft.com/favicon.ico
30
+ # href: https://www.microsoft.com/zh-cn
31
+ # - Apple:
32
+ # - icon: https://www.apple.com/favicon.ico
33
+ # href: https://www.apple.com
34
+ # - Github:
35
+ # - icon: https://github.com/favicon.ico
36
+ # href: https://github.com/
37
+ # - 知乎:
38
+ # - icon: https://www.zhihu.com/favicon.ico
39
+ # href: https://www.zhihu.com/people/diyforfun
services.yaml ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For configuration options and examples, please see:
3
+ # https://gethomepage.dev/latest/configs/services
4
+
5
+ - 媒体影音:
6
+ - EmbyServer:
7
+ icon: emby.png
8
+ href: http://x.x.x.x:8096 # Emby IP:8096
9
+ description: Movies & TV Shows
10
+ ping: 127.0.0.1 # Emby IP
11
+
12
+ - JellyfinServer:
13
+ icon: jellyfin.png
14
+ href: http://x.x.x.x:8096 # Jellyfin IP:8096
15
+ description: Homepage is awesome
16
+ ping: 127.0.0.1 # Jellyfin IP
17
+
18
+ - PlexServer:
19
+ icon: plex.png
20
+ href: http://x.x.x.x:32400 # Plex IP:32400
21
+ description: Homepage is awesome
22
+ ping: x.x.x.x # Plex IP
23
+
24
+ - 本地服务:
25
+ - PVE:
26
+ icon: proxmox.png
27
+ href: https://x.x.x.x:8006 # PVE IP:8006
28
+ description: 本地PVE
29
+ ping: 127.0.0.1 # PVE IP
30
+ widget:
31
+ type: proxmox
32
+ url: https://x.x.x.x:8006
33
+ username: api_token_id
34
+ password: api_token_secret
35
+ node: pve # optional
36
+
37
+ - Portainer:
38
+ icon: portainer.png
39
+ href: http://x.x.x.x:9000 # Portainer IP:9000
40
+ description: 本地Portainer
41
+ ping: 127.0.0.1 # Portainer IP
42
+
43
+ - NAS:
44
+ icon: /icons/dsm.png
45
+ href: https://x.x.x.x:12345 # NAS IP:端口
46
+ description: My NAS
47
+ ping: 127.0.0.1 # NAS IP
48
+ widget:
49
+ type: diskstation
50
+ url: https://x.x.x.x:12345 # NAS IP:端口
51
+ username: remote_stats
52
+ password: 你的密码 #如SYNO.Core.System报错,Authentication Failed认证失败报错,可使用群晖账号随机密码。
53
+ volume: volume_1 # 其中volume_后接1或2或3或4...不支持叠加,对应volume1/volume2/volume3/volume4/...
54
+ - Download Station:
55
+ widget:
56
+ type: downloadstation
57
+ url: https://x.x.x.x:12345 # NAS IP:端口
58
+ username: remote_stats
59
+ password: 你的密码
60
+
61
+ - OpenWRT:
62
+ icon: openwrt.png
63
+ href: http://x.x.x.x # OpenWRT IP
64
+ description: 本地OP
65
+ ping: 127.0.0.1 # OpenWRT IP
66
+
67
+ - 远程办公:
68
+ - PVE:
69
+ icon: proxmox.png
70
+ href: https://pve.myddns.com:8006
71
+ description: 远程PVE
72
+ ping: https://my.ddns.com:8006
73
+
74
+ - Portainer:
75
+ icon: portainer.png
76
+ href: http://portainer.myddns.com:9000
77
+ description: 远程Portainer
78
+ ping: portainer.myddns.com:9000
79
+
80
+ - iKuai:
81
+ icon: /icons/ikuai.png
82
+ href: https://ikuai.myddns.com:12345
83
+ description: 远程爱快
84
+ ping: https://ikuai.myddns.com:12345
85
+
86
+ - OpenWRT:
87
+ icon: openwrt.png
88
+ href: http://op.myddns.com:12345
89
+ description: 办公室OP
90
+ ping: http://op.myddns.com:12345
91
+
92
+ - 常用网站:
93
+ - Qbittorrent:
94
+ icon: /icons/qbittorrent32.png
95
+ href: https://pve.myddns.com:8006
96
+ description: Qbittorrent下载器
97
+ ping: https://my.ddns.com:8006
98
+
99
+ - LibreSpeed:
100
+ icon: portainer.png
101
+ href: http://portainer.myddns.com:9000
102
+ description: LibreSpeed
103
+ ping: portainer.myddns.com:9000
104
+
105
+ - 搜索引擎:
106
+ - Google:
107
+ icon: https://www.google.com/favicon.ico
108
+ href: https://www.google.com/
109
+ description: Google
110
+ ping: https://www.google.com/
111
+
112
+ - Bing:
113
+ icon: https://www.bing.com/favicon.ico
114
+ href: https://www.bing.com/
115
+ description: Bing
116
+ ping: https://www.bing.com/
117
+
118
+ - Yahoo!:
119
+ icon: https://www.yahoo.com/favicon.ico
120
+ href: https://www.yahoo.com/
121
+ description: Yahoo!
122
+ ping: https://www.yahoo.com/
123
+
124
+ - Baidu:
125
+ icon: https://www.baidu.com/favicon.ico
126
+ href: https://www.baidu.com/
127
+ description: Baidu
128
+ ping: https://www.baidu.com/
129
+
130
+ - 收藏网站:
131
+ - Micorsoft:
132
+ icon: https://www.microsoft.com/favicon.ico
133
+ href: https://www.microsoft.com/zh-cn
134
+ description: Micorsoft
135
+ ping: https://www.microsoft.com/zh-cn
136
+
137
+ - Apple:
138
+ icon: https://www.apple.com/favicon.ico
139
+ href: https://www.apple.com/
140
+ description: Apple
141
+ ping: https://www.apple.com/
142
+
143
+ - Github:
144
+ icon: https://github.com/favicon.ico
145
+ href: https://github.com/
146
+ description: Github
147
+ ping: https://github.com/
148
+
149
+ - 知乎:
150
+ icon: https://www.zhihu.com/favicon.ico
151
+ href: https://www.zhihu.com/people/diyforfun
152
+ description: 知乎
153
+ ping: https://www.zhihu.com/people/diyforfun
154
+
155
+
settings.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For configuration options and examples, please see:
3
+ # https://gethomepage.dev/latest/configs/settings
4
+
5
+ providers:
6
+ openweathermap: openweathermapapikey
7
+ weatherapi: weatherapiapikey
8
+
9
+ language: zh-CN
10
+
11
+ background: https://images.unsplash.com/photo-1502790671504-542ad42d5189?auto=format&fit=crop&w=2560&q=80
12
+
13
+ title: Home Page
14
+
15
+ #favicon: https://www.baidu.com/favicon.ico
16
+
17
+ #background:
18
+ #image: https://images.unsplash.com/photo-1502790671504-542ad42d5189?auto=format&fit=crop&w=2560&q=80
19
+ #blur: sm # sm, "", md, xl... see https://tailwindcss.com/docs/backdrop-blur
20
+ #saturate: 50 # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate
21
+ #brightness: 50 # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness
22
+ #opacity: 50 # 0-100
23
+
24
+ layout:
25
+ Moniter:
26
+ style: row
27
+ columns: 4
28
+ header: false
29
+
30
+ #statusStyle: "dot"
widgets.yaml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For configuration options and examples, please see:
3
+ # https://gethomepage.dev/latest/configs/service-widgets
4
+
5
+ - resources:
6
+ cpu: true
7
+ memory: true
8
+ disk: /
9
+ cputemp: true # disabled by default
10
+ uptime: true # disabled by default
11
+ expanded: true # show the expanded view
12
+
13
+ - search:
14
+ provider: google # google, duckduckgo, bing, baidu, brave or custom
15
+ target: _blank
16
+
17
+ #quicklaunch:
18
+ # provider: custom
19
+ #url: https://www.ecosia.org/search?q=
20
+ #target: _blank
21
+ #suggestionUrl: https://ac.ecosia.org/autocomplete?type=list&q=
22
+
23
+ - openmeteo:
24
+ label: 上海 # optional
25
+ latitude: 31.2222
26
+ longitude: 121.4581
27
+ timezone: Asia/Shanghai # optional
28
+ units: metric # or imperial
29
+ cache: 5 # Time in minutes to cache API responses, to stay within limits
30
+
31
+ - datetime:
32
+ text_size: xl
33
+ format:
34
+ dateStyle: short
35
+ timeStyle: short
36
+ hourCycle: h23