{"id":183,"date":"2026-07-02T06:58:13","date_gmt":"2026-07-01T22:58:13","guid":{"rendered":"http:\/\/www.tantan.ink\/index.php\/2026\/07\/02\/glance-%e4%b8%8a%e6%89%8b%ef%bc%9a%e8%bd%bb%e9%87%8f%e7%ba%a7%e8%87%aa%e6%89%98%e7%ae%a1%e4%bb%aa%e8%a1%a8%e7%9b%98%ef%bc%8c%e6%8a%8a%e6%89%80%e6%9c%89%e4%bf%a1%e6%81%af%e6%b5%81%e8%81%9a%e5%90%88\/"},"modified":"2026-07-09T19:30:28","modified_gmt":"2026-07-09T11:30:28","slug":"glance-%e4%b8%8a%e6%89%8b%ef%bc%9a%e8%bd%bb%e9%87%8f%e7%ba%a7%e8%87%aa%e6%89%98%e7%ae%a1%e4%bb%aa%e8%a1%a8%e7%9b%98%ef%bc%8c%e6%8a%8a%e6%89%80%e6%9c%89%e4%bf%a1%e6%81%af%e6%b5%81%e8%81%9a%e5%90%88","status":"publish","type":"post","link":"https:\/\/www.tantan.ink\/index.php\/2026\/07\/02\/glance-%e4%b8%8a%e6%89%8b%ef%bc%9a%e8%bd%bb%e9%87%8f%e7%ba%a7%e8%87%aa%e6%89%98%e7%ae%a1%e4%bb%aa%e8%a1%a8%e7%9b%98%ef%bc%8c%e6%8a%8a%e6%89%80%e6%9c%89%e4%bf%a1%e6%81%af%e6%b5%81%e8%81%9a%e5%90%88\/","title":{"rendered":"Glance\uff1a\u4e00\u4e2a\u9875\u9762\u805a\u5408\u6240\u6709\u4fe1\u606f\u6d41"},"content":{"rendered":"<h2>\u4fe1\u606f\u8fc7\u8f7d\u8fd9\u4ef6\u4e8b\uff0c\u57282026\u5e74\u5df2\u7ecf\u4e0d\u662f\u4ec0\u4e48\u65b0\u9c9c\u8bdd\u9898\u4e86<\/h2>\n<p>RSS\u8ba2\u9605\u3001Reddit\u3001Hacker News\u3001GitHub Releases\u3001YouTube\u9891\u9053\u3001\u670d\u52a1\u5668\u72b6\u6001\u3001\u5929\u6c14\u3001\u80a1\u7968\u2026\u2026\u4fe1\u606f\u6e90\u8d8a\u6765\u8d8a\u591a\uff0c\u6765\u56de\u5207\u6362\u7684\u6210\u672c\u4e5f\u8d8a\u6765\u8d8a\u9ad8\u3002<\/p>\n<p>\u6709\u6ca1\u6709\u4e00\u79cd\u529e\u6cd5\uff0c\u628a\u8fd9\u4e9b\u6563\u843d\u5728\u5404\u5904\u7684\u8d44\u8baf\uff0c\u7edf\u4e00\u805a\u5408\u5230\u4e00\u4e2a\u9875\u9762\u91cc\uff1f<\/p>\n<p><strong>Glance<\/strong> \u5c31\u662f\u5e72\u8fd9\u4ef6\u4e8b\u7684\u3002\u4e00\u4e2a\u7528 Go \u5199\u7684\u81ea\u6258\u7ba1\u4eea\u8868\u76d8\uff0c\u5355\u4e2a\u4e8c\u8fdb\u5236\u4e0d\u5230 20MB\uff0cDocker \u955c\u50cf\u540c\u6837\u8f7b\u91cf\uff0c\u9875\u9762\u52a0\u8f7d\u901a\u5e38\u4e0d\u5230 1 \u79d2\u3002\u6700\u91cd\u8981\u7684\u662f\u2014\u2014\u5b83\u771f\u7684\u628a&#8221;\u4fe1\u606f\u805a\u5408&#8221;\u8fd9\u4ef6\u4e8b\u505a\u5bf9\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/glance-main.png\" alt=\"Glance\u4e3b\u754c\u9762\u9884\u89c8\" style=\"max-width:100%;height:auto\"><\/p>\n<h2>\u4ec0\u4e48\u662f Glance\uff1f<\/h2>\n<p>Glance \u662f\u4e00\u4e2a<strong>\u81ea\u6258\u7ba1\u7684\u4fe1\u606f\u805a\u5408\u4eea\u8868\u76d8<\/strong>\u3002\u4f60\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u6210\u4e2a\u4eba\u7248\u7684&#8221;\u7f51\u5740\u5bfc\u822a + RSS\u9605\u8bfb\u5668 + \u7cfb\u7edf\u76d1\u63a7 + \u8d44\u8baf\u805a\u5408&#8221;\u56db\u5408\u4e00\u5de5\u5177\u3002<\/p>\n<p>\u9879\u76ee\u5728 GitHub \u4e0a\u5f00\u6e90\uff08<a href=\"https:\/\/github.com\/glanceapp\/glance\">glanceapp\/glance<\/a>\uff09\uff0c\u76ee\u524d 36k+ Star\uff0c\u800c\u4e14\u589e\u957f\u5f88\u5feb\uff08\u8fc7\u53bb7\u5929\u6da8\u4e86157\u661f\uff09\u3002\u4f5c\u8005\u53ea\u6709\u4e00\u4e2a\u4eba\uff0c\u4f46\u4ee3\u7801\u8d28\u91cf\u4e0d\u9519\uff0c\u6587\u6863\u4e5f\u633a\u5b8c\u6574\u3002<\/p>\n<p><strong>\u6838\u5fc3\u7279\u70b9\uff1a<\/strong><\/p>\n<ul>\n<li>\u8f7b\u91cf\uff1a\u5185\u5b58\u5360\u7528\u4f4e\uff0c\u5355\u4e2a\u4e8c\u8fdb\u5236 &lt;20MB<\/li>\n<li>\u5feb\u901f\uff1a\u672a\u7f13\u5b58\u9875\u9762\u901a\u5e38 1 \u79d2\u5185\u52a0\u8f7d\u5b8c\u6210<\/li>\n<li>\u53ef\u5b9a\u5236\uff1a\u591a\u9875\u9762\/\u591a\u6807\u7b7e\u9875\u3001\u81ea\u5b9a\u4e49\u5e03\u5c40\u3001\u6bcf\u4e2a\u7ec4\u4ef6\u72ec\u7acb\u914d\u7f6e<\/li>\n<li>\u79fb\u52a8\u7aef\u9002\u914d\uff1a\u754c\u9762\u9488\u5bf9\u624b\u673a\u4f18\u5316<\/li>\n<li>\u6570\u636e\u81ea\u63a7\uff1a\u5b8c\u5168\u81ea\u6258\u7ba1\uff0c\u4e0d\u4f9d\u8d56\u7b2c\u4e09\u65b9\u670d\u52a1<\/li>\n<\/ul>\n<h2>\u652f\u6301\u54ea\u4e9b\u4fe1\u606f\u6e90\uff1f<\/h2>\n<p>Glance \u5185\u7f6e\u7684\u4fe1\u606f\u6e90\u7c7b\u578b\u633a\u5168\u7684\uff0c\u57fa\u672c\u8986\u76d6\u4e86\u65e5\u5e38\u9700\u8981\u5237\u7684\u5185\u5bb9\uff1a<\/p>\n<table>\n<tr>\n<th>\u7c7b\u578b<\/th>\n<th>\u5177\u4f53\u652f\u6301<\/th>\n<\/tr>\n<tr>\n<td><strong>RSS\/Atom<\/strong><\/td>\n<td>\u81ea\u5b9a\u4e49\u8ba2\u9605\u6e90\uff0c\u53ef\u8bbe\u7f6e\u5c55\u793a\u6570\u91cf\u3001\u6298\u53e0\u3001\u7f13\u5b58\u65f6\u95f4<\/td>\n<\/tr>\n<tr>\n<td><strong>\u793e\u533a\u5185\u5bb9<\/strong><\/td>\n<td>Reddit \u677f\u5757\u3001Hacker News \u70ed\u95e8\u3001Lobsters \u70ed\u95e8<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5a92\u4f53<\/strong><\/td>\n<td>YouTube \u9891\u9053\u6700\u65b0\u89c6\u9891\u3001Twitch \u76f4\u64ad\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td><strong>\u91d1\u878d<\/strong><\/td>\n<td>\u80a1\u7968\u3001\u52a0\u5bc6\u8d27\u5e01\u884c\u60c5\uff08S&amp;P 500\u3001BTC\u3001\u4e2a\u80a1\u7b49\uff09<\/td>\n<\/tr>\n<tr>\n<td><strong>\u670d\u52a1\u76d1\u63a7<\/strong><\/td>\n<td>Docker \u5bb9\u5668\u72b6\u6001\u3001\u670d\u52a1\u5668\u786c\u4ef6\uff08CPU\u3001\u5185\u5b58\u3001\u4f20\u611f\u5668\uff09<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5de5\u5177<\/strong><\/td>\n<td>\u65e5\u5386\u3001\u5929\u6c14\u3001GitHub \u4ed3\u5e93\u6700\u65b0\u53d1\u5e03\u3001\u65f6\u949f<\/td>\n<\/tr>\n<tr>\n<td><strong>\u81ea\u5b9a\u4e49<\/strong><\/td>\n<td>iframe \u5d4c\u5165\u3001\u9759\u6001 HTML\u3001\u81ea\u5b9a\u4e49 API\u3001\u6269\u5c55\u7ec4\u4ef6<\/td>\n<\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/glance-mobile.png\" alt=\"Glance\u79fb\u52a8\u7aef\u9884\u89c8\" style=\"max-width:100%;height:auto\"><\/p>\n<h2>\u5b89\u88c5\uff1aDocker Compose \u4e00\u952e\u641e\u5b9a<\/h2>\n<p>Glance \u63d0\u4f9b\u591a\u79cd\u5b89\u88c5\u65b9\u5f0f\uff0c\u4f46\u6700\u63a8\u8350\u7684\u8fd8\u662f Docker Compose\u2014\u2014\u7279\u522b\u662f\u4f60\u6253\u7b97\u5728 NAS \u4e0a\u8dd1\u7684\u8bdd\u3002<\/p>\n<h3>\u5feb\u901f\u90e8\u7f72<\/h3>\n<pre><code># \u521b\u5efa\u76ee\u5f55\u5e76\u4e0b\u8f7d\u5b98\u65b9\u6a21\u677f\nmkdir glance &amp;&amp; cd glance\ncurl -sL https:\/\/github.com\/glanceapp\/docker-compose-template\/archive\/refs\/heads\/main.tar.gz | tar -xzf - --strip-components 2\n\n# \u542f\u52a8\ndocker compose up -d<\/code><\/pre>\n<p>\u8bbf\u95ee <code>http:\/\/\u4f60\u7684NAS_IP:8080<\/code> \u5c31\u80fd\u770b\u5230\u754c\u9762\u4e86\u3002<\/p>\n<h3>\u624b\u52a8\u914d\u7f6e<\/h3>\n<p>\u5982\u679c\u60f3\u66f4\u7cbe\u7ec6\u63a7\u5236\uff0c\u53ef\u4ee5\u624b\u52a8\u5199 <code>docker-compose.yml<\/code>\uff1a<\/p>\n<pre><code>services:\n  glance:\n    container_name: glance\n    image: glanceapp\/glance\n    restart: unless-stopped\n    volumes:\n      - .\/config:\/app\/config\n    ports:\n      - 8080:8080<\/code><\/pre>\n<p>\u7136\u540e\u4e0b\u8f7d\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6\u5e76\u542f\u52a8\u3002<\/p>\n<h2>\u914d\u7f6e\u6307\u5357\uff1a\u6253\u9020\u4f60\u7684\u4e13\u5c5e\u4fe1\u606f\u4e2d\u5fc3<\/h2>\n<p>Glance \u7684\u914d\u7f6e\u6587\u4ef6\u662f YAML \u683c\u5f0f\uff0c\u7ed3\u6784\u5f88\u6e05\u6670\u3002\u6838\u5fc3\u6982\u5ff5\u662f<strong>\u9875\u9762\uff08pages\uff09\u2192 \u680f\uff08columns\uff09\u2192 \u7ec4\u4ef6\uff08widgets\uff09<\/strong>\u3002<\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e2a\u5b9e\u7528\u7684\u914d\u7f6e\u793a\u4f8b\uff1a<\/p>\n<pre><code>pages:\n  - name: Home\n    columns:\n      - size: small\n        widgets:\n          - type: calendar\n          - type: rss\n            feeds:\n              - url: https:\/\/selfh.st\/rss\/\n                title: selfh.st\n      - size: full\n        widgets:\n          - type: hacker-news\n          - type: reddit\n            subreddit: selfhosted\n      - size: small\n        widgets:\n          - type: weather\n          - type: markets<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.tantan.ink\/wp-content\/uploads\/2026\/07\/glance-themes.png\" alt=\"Glance\u591a\u4e3b\u9898\u793a\u4f8b\" style=\"max-width:100%;height:auto\"><\/p>\n<h2>\u5b9e\u9645\u4f7f\u7528\u6280\u5de7<\/h2>\n<h3>1. \u6027\u80fd\u4f18\u5316<\/h3>\n<p>\u5982\u679c\u540c\u65f6\u62c9\u53d6\u5f88\u591a\u4fe1\u606f\u6e90\uff0c\u53ef\u80fd\u4f1a\u9047\u5230 DNS \u8bf7\u6c42\u901f\u7387\u9650\u5236\u3002\u89e3\u51b3\u65b9\u6cd5\uff1a\u8c03\u9ad8 DNS \u670d\u52a1\u7684\u8bf7\u6c42\u901f\u7387\u9650\u5236\uff0c\u4e3a\u6bcf\u4e2a\u7ec4\u4ef6\u8bbe\u7f6e\u5408\u7406\u7684\u7f13\u5b58\u65f6\u95f4\u3002<\/p>\n<h3>2. \u6dfb\u52a0\u81ea\u5b9a\u4e49\u4fe1\u606f\u6e90<\/h3>\n<p>\u9664\u4e86\u5185\u7f6e\u7ec4\u4ef6\uff0cGlance \u8fd8\u652f\u6301\u56db\u79cd\u81ea\u5b9a\u4e49\u65b9\u5f0f\uff1aiframe\u3001html\u3001extension\u3001custom-api\u3002<\/p>\n<h3>3. \u591a\u9875\u9762\u7ba1\u7406<\/h3>\n<p>Glance \u652f\u6301\u591a\u4e2a\u9875\u9762\uff08tabs\uff09\uff0c\u4f60\u53ef\u4ee5\u6309\u4e3b\u9898\u7ec4\u7ec7\u4fe1\u606f\uff1a\u65e5\u5e38\u8d44\u8baf\u3001\u6280\u672f\u76d1\u63a7\u3001\u5a31\u4e50\u7b49\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>Glance \u89e3\u51b3\u7684\u662f\u4e00\u4e2a\u5f88\u5b9e\u9645\u7684\u95ee\u9898\uff1a\u4fe1\u606f\u5206\u6563\u3002\u5b83\u4e0d\u8bd5\u56fe\u505a\u6240\u6709\u4e8b\uff0c\u4f46\u5728&#8221;\u4fe1\u606f\u805a\u5408&#8221;\u8fd9\u4ef6\u4e8b\u4e0a\u505a\u5f97\u5f88\u597d\u3002<\/p>\n<p><strong>\u4f18\u70b9\uff1a<\/strong>\u8f7b\u91cf\u5feb\u901f\u3001\u914d\u7f6e\u7b80\u5355\u3001\u4fe1\u606f\u6e90\u8986\u76d6\u5168\u9762\u3001\u79fb\u52a8\u7aef\u4f53\u9a8c\u597d\u3001\u5b8c\u5168\u81ea\u6258\u7ba1\u3002<\/p>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong>\u81ea\u5b9a\u4e49\u80fd\u529b\u4e0d\u5982 Dashy \u90a3\u4e48\u5f3a\uff0c\u754c\u9762\u98ce\u683c\u6bd4\u8f83\u7b80\u7ea6\u3002<\/p>\n<p><strong>\u9002\u5408\u8c01\u7528\uff1f<\/strong>NAS \u73a9\u5bb6\u3001\u81ea\u6258\u7ba1\u7231\u597d\u8005\u3001\u4fe1\u606f\u7126\u8651\u8005\u3001\u559c\u6b22\u7b80\u7ea6\u98ce\u683c\u7684\u4eba\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6bcf\u5929\u8981\u5237 Hacker News\u3001Reddit\u3001\u591a\u4e2a RSS \u6e90\uff0c\u8fd8\u8981\u76ef\u7740\u51e0\u4e2a GitHub \u4ed3\u5e93\u7684\u66f4\u65b0\u2014\u2014\u90a3 Glance \u503c\u5f97\u4e00\u8bd5\u300210 \u5206\u949f\u90e8\u7f72\u597d\uff0c\u5c31\u80fd\u62e5\u6709\u4e00\u4e2a\u4e13\u5c5e\u7684\u4fe1\u606f\u4e2d\u5fc3\u3002<\/p>\n<p><strong>\u9879\u76ee\u5730\u5740\uff1a<\/strong><br \/>\nGitHub: <a href=\"https:\/\/github.com\/glanceapp\/glance\">https:\/\/github.com\/glanceapp\/glance<\/a><br \/>\n\u6587\u6863: <a href=\"https:\/\/glanceapp.github.io\/docs\/\">https:\/\/glanceapp.github.io\/docs\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4fe1\u606f\u8fc7\u8f7d\u8fd9\u4ef6\u4e8b\uff0c\u57282026\u5e74\u5df2\u7ecf\u4e0d\u662f\u4ec0\u4e48\u65b0\u9c9c\u8bdd\u9898\u4e86 RSS\u8ba2\u9605\u3001Reddit\u3001Hacker News\u3001GitH &#8230; <a title=\"Glance\uff1a\u4e00\u4e2a\u9875\u9762\u805a\u5408\u6240\u6709\u4fe1\u606f\u6d41\" class=\"read-more\" href=\"https:\/\/www.tantan.ink\/index.php\/2026\/07\/02\/glance-%e4%b8%8a%e6%89%8b%ef%bc%9a%e8%bd%bb%e9%87%8f%e7%ba%a7%e8%87%aa%e6%89%98%e7%ae%a1%e4%bb%aa%e8%a1%a8%e7%9b%98%ef%bc%8c%e6%8a%8a%e6%89%80%e6%9c%89%e4%bf%a1%e6%81%af%e6%b5%81%e8%81%9a%e5%90%88\/\" aria-label=\"\u9605\u8bfb Glance\uff1a\u4e00\u4e2a\u9875\u9762\u805a\u5408\u6240\u6709\u4fe1\u606f\u6d41\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":2,"featured_media":211,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[164],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-selfhost"],"_links":{"self":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":1,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/183\/revisions\/283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/media\/211"}],"wp:attachment":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}