<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pwa on Lutpul</title><link>https://example.org/tags/pwa/</link><description>Recent content in Pwa on Lutpul</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 13 Oct 2026 14:02:00 +0800</lastBuildDate><atom:link href="https://example.org/tags/pwa/index.xml" rel="self" type="application/rss+xml"/><item><title>Claude Code 应该放在私有 PWA 里</title><link>https://example.org/posts/claude-code-pwa/</link><pubDate>Tue, 13 Oct 2026 14:02:00 +0800</pubDate><guid>https://example.org/posts/claude-code-pwa/</guid><description>&lt;p&gt;浏览器里的一个窗口，和装在桌面上的一个应用，中间差的是一个 manifest 和一点缓存。&lt;/p&gt;
&lt;h2 id="为什么"&gt;为什么&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;它每天都要开，值得一个图标&lt;/li&gt;
&lt;li&gt;它只属于你，不该出现在应用商店里&lt;/li&gt;
&lt;li&gt;它断网的时候也应该说一句&amp;quot;离线&amp;quot;，而不是白屏&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="怎么做"&gt;怎么做&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;写一份 &lt;code&gt;manifest.webmanifest&lt;/code&gt;，名字、图标、起始地址&lt;/li&gt;
&lt;li&gt;注册一个 service worker，把壳子缓存下来&lt;/li&gt;
&lt;li&gt;在 iOS 上走&amp;quot;添加到主屏幕&amp;quot;，在桌面上走&amp;quot;安装&amp;quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p&gt;私有不是说不能公开，是说地址只有你有。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>