<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>PeaNUT | 折腾啥</title><description>Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流👥 @zhetengsha_group📌 合集 https://t.me/zhetengsha/2🎁 恰饭 https://t.me/zhetengsha/957📢 广告投放 @xream @xream_botBuy ads: https://telega.io/c/zhetengshafeedId:55438372655431680+userId:62307599601855488</description><link>http://telegram.zhetengsha.eu.org</link><item><title>PeaNUT homepage widget 配置图1 是自定义 API图2 是直接用 homepage widget</title><link>http://telegram.zhetengsha.eu.org/posts/2404</link><guid isPermaLink="true">http://telegram.zhetengsha.eu.org/posts/2404</guid><pubDate>Sun, 26 Jan 2025 06:13:08 GMT</pubDate><content:encoded>&lt;div class=&quot;image-list-container image-list-even&quot;&gt;
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-2404-0&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: PeaNUT homepage widget 配置图1 是自定义 API图2 是直接用 homepage widget&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/byFCvyIul3vO1YRRbs9lV31MfEJmIYPEwDeYi0LMSWaiy1BdRnMxBqw288h_XuZzJ8S4TjN1hbjqYpc3qWepVLLs8ZFrki59A4PVR4yDmb_Md6zJ8gDRiRrBi7j_lOIGq4rE6Si2FzsOiAKfJP5KuV6uwioVTWgJxDWCULwPBTVJb9_lDh6RKkxXaV-VLXlGswAM759GYr1D9jxlyAWHqZb4kldCI4PrF_pQH0QGS7Aid_OSLwH_VLCRmKFVPhJvTb0QrOKdE0hZUMSTUJy1YEEpR-dp_L-8osX0q_YSZSY2D_bMg5yJN6Gc-pYSyd8LcqCabz_mGouA7AzzTYLRTg.jpg&quot; alt=&quot;PeaNUT homepage widget 配置图1 是自定义 API图2 是直接用 homepage widget&quot; width=&quot;453&quot; height=&quot;245&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-2404-0&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-2404-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-2404-0&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    
      &lt;button type=&quot;button&quot; class=&quot;image-preview-button image-preview-wrap&quot; popovertarget=&quot;modal-2404-1&quot; popovertargetaction=&quot;show&quot; aria-label=&quot;Open image preview: PeaNUT homepage widget 配置图1 是自定义 API图2 是直接用 homepage widget&quot;&gt;
        &lt;img src=&quot;/static/https://cdn5.telesco.pe/file/jLHHc-42EFPmUdMbI311sx917_AVeMEEAgHuOab4x0bFQLiwpb55x-8j_fuYMSg_ygwdDcP6_yJ8J6Ts3-5QshnSmWqUY9uYUGdzW8hWRcoExvhUullRDNA7NVf1nt-Bo9q2FspwTcSY-7mTK1qwddZiMeSMImb1tA1e5HHMyqmVskYWXjtAZiZ6kw9zsxZ7n1iOLgIF6l3olPI-RtWKjbHqfNRmsexijfAT5P_0w5SEGkhfadgH7z4oKgGUK5cUGlJJhl0gF4NCB-AIOn15RP5vaSB6Nmd3jdiEr3ZyyqSU7xFSsTU7ZA12SZkgxLzz39ffUKvIt1J-R59im1eNuA.jpg&quot; alt=&quot;PeaNUT homepage widget 配置图1 是自定义 API图2 是直接用 homepage widget&quot; width=&quot;453&quot; height=&quot;247&quot; loading=&quot;eager&quot; /&gt;
      &lt;/button&gt;
      &lt;div class=&quot;modal&quot; id=&quot;modal-2404-1&quot; popover=&quot;auto&quot; aria-label=&quot;Image preview&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__backdrop&quot; popovertarget=&quot;modal-2404-1&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;&lt;/button&gt;
        &lt;button type=&quot;button&quot; class=&quot;modal__close&quot; popovertarget=&quot;modal-2404-1&quot; popovertargetaction=&quot;hide&quot; aria-label=&quot;Close image preview&quot;&gt;×&lt;/button&gt;
        &lt;div class=&quot;modal__surface&quot;&gt;
          
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;&lt;mark class=&quot;highlight&quot;&gt;&lt;u&gt;PeaNUT&lt;/u&gt;&lt;/mark&gt;&lt;u&gt; homepage widget 配置&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;图1 是自定义 API&lt;br /&gt;图2 是直接用 homepage widget&lt;br /&gt;&lt;br /&gt;&lt;code&gt;http://10.0.0.2:55518&lt;/code&gt; 是你搭建的 &lt;mark class=&quot;highlight&quot;&gt;PeaNUT&lt;/mark&gt;&lt;br /&gt;&lt;code&gt;ups&lt;/code&gt; 是 你 ups 的名称&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;tg-expandable&quot;&gt;
      &lt;input type=&quot;checkbox&quot; id=&quot;expand-0-0&quot; class=&quot;tg-expandable__checkbox&quot; aria-label=&quot;Toggle hidden content&quot; aria-controls=&quot;expand-0-0-content&quot; /&gt;
      &lt;div id=&quot;expand-0-0-content&quot; class=&quot;tg-expandable__content&quot;&gt;&lt;mark class=&quot;highlight&quot;&gt;PeaNUT&lt;/mark&gt;:&lt;br /&gt;  description: PVE&lt;br /&gt;  icon: &lt;a href=&quot;https://raw.githubusercontent.com/Brandawg93/PeaNUT/main/src/app/icon.svg&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;https://raw.githubusercontent.com/Brandawg93/PeaNUT/main/src/app/icon.svg&quot;&gt;https://raw.githubusercontent.com/Brandawg93/PeaNUT/main/src/app/icon.svg&lt;/a&gt;&lt;br /&gt;  href: &lt;a href=&quot;http://10.0.0.2:55518/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;http://10.0.0.2:55518&quot;&gt;http://10.0.0.2:55518&lt;/a&gt;&lt;br /&gt;  server: my-docker&lt;br /&gt;  container: &lt;mark class=&quot;highlight&quot;&gt;peanut&lt;/mark&gt;&lt;br /&gt;  showStats: true&lt;br /&gt;  # widget:&lt;br /&gt;  #     type: &lt;mark class=&quot;highlight&quot;&gt;peanut&lt;/mark&gt;&lt;br /&gt;  #     url: &lt;a href=&quot;http://10.0.0.2:55518/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;http://10.0.0.2:55518&quot;&gt;http://10.0.0.2:55518&lt;/a&gt;&lt;br /&gt;  #     key: ups&lt;br /&gt;  widget:&lt;br /&gt;      type: customapi&lt;br /&gt;      url: &lt;a href=&quot;http://10.0.0.2:55518/api/v1/devices/ups&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;http://10.0.0.2:55518/api/v1/devices/ups&quot;&gt;http://10.0.0.2:55518/api/v1/devices/ups&lt;/a&gt;&lt;br /&gt;      mappings:&lt;br /&gt;          - field: battery.charge&lt;br /&gt;            label: Battery Charge&lt;br /&gt;            format: percent&lt;br /&gt;          - field: battery.runtime&lt;br /&gt;            label: Battery Runtime&lt;br /&gt;            format: text&lt;br /&gt;          - field: ups.load&lt;br /&gt;            label: UPS Load&lt;br /&gt;            format: percent&lt;br /&gt;          - field: ups.status&lt;br /&gt;            label: UPS Status&lt;br /&gt;            format: text&lt;br /&gt;            remap:&lt;br /&gt;              - value: OL&lt;br /&gt;                to: Online&lt;br /&gt;              - value: OB&lt;br /&gt;                to: On Battery&lt;br /&gt;              - value: LB&lt;br /&gt;                to: Low Battery&lt;br /&gt;              - any: true&lt;br /&gt;                to: Unknown&lt;/div&gt;
      &lt;label for=&quot;expand-0-0&quot; class=&quot;tg-expandable__toggle&quot;&gt;&lt;span class=&quot;sr-only&quot;&gt;Toggle hidden content&lt;/span&gt;&lt;/label&gt;
    &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6329896824882597500.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/2380&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;PeaNUT: UPS 面板&quot;&gt;&lt;mark class=&quot;highlight&quot;&gt;PeaNUT&lt;/mark&gt;: UPS 面板&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6329896824882597500.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://github.com/gethomepage/homepage&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;gethomepage/homepage&quot;&gt;gethomepage/homepage&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327711622831803904.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/146&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;homepage 合集&quot;&gt;homepage 合集&lt;/a&gt; &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327880277607583303.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/2&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;频道资源合集&quot;&gt;频道资源合集&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327792445526380187.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha/957&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;恰饭推荐&quot;&gt;恰饭推荐&lt;/a&gt;  &lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6021860481923288796.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;https://t.me/zhetengsha_group&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; title=&quot;群组&quot;&gt;群组&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img class=&quot;tg-emoji&quot; src=&quot;/static/https://telegram.me/i/emoji/6327836885552991740.webp&quot; alt=&quot;&quot; loading=&quot;lazy&quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; &lt;a href=&quot;/search/result?q=%23PeaNUT&quot; title=&quot;#PeaNUT&quot;&gt;#PeaNUT&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23UPS&quot; title=&quot;#UPS&quot;&gt;#UPS&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23NUT&quot; title=&quot;#NUT&quot;&gt;#NUT&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23%E9%9D%A2%E6%9D%BF&quot; title=&quot;#面板&quot;&gt;#面板&lt;/a&gt; &lt;a href=&quot;/search/result?q=%23homepage&quot; title=&quot;#homepage&quot;&gt;#homepage&lt;/a&gt;  &lt;a href=&quot;/search/result?q=%23widget&quot; title=&quot;#widget&quot;&gt;#widget&lt;/a&gt;</content:encoded></item></channel></rss>