<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[0xChance]]></title><description><![CDATA[0xChance]]></description><link>https://0xchance.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 18:04:41 GMT</lastBuildDate><atom:link href="https://0xchance.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I built a desktop app that turns a local folder into a read-only website]]></title><description><![CDATA[When I want a colleague to look at a Word doc, a spreadsheet, a slide deck, or a DWG, the usual options are sending a zip, uploading the files somewhere…]]></description><link>https://0xchance.hashnode.dev/i-built-a-desktop-app-that-turns-a-local-folder-into-a-read-only-website</link><guid isPermaLink="true">https://0xchance.hashnode.dev/i-built-a-desktop-app-that-turns-a-local-folder-into-a-read-only-website</guid><category><![CDATA[showdev]]></category><category><![CDATA[Go Language]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[webdev]]></category><dc:creator><![CDATA[0xChance]]></dc:creator><pubDate>Fri, 13 Nov 2026 03:59:37 GMT</pubDate><content:encoded><![CDATA[<p>When I want a colleague to look at a Word doc, a spreadsheet, a slide deck, or a DWG, the usual options are sending a zip, uploading the files somewhere, or asking them to install Office or AutoCAD. I only need them to read the files, but each of those options also brings a risk of edits or deletions.</p>
<p>So I built <a href="https://docwebhub.app/">DocWebHub</a>. It is a desktop app that shares one folder on your computer as a read-only website on the local network. People can preview Office documents and DWG files in the browser, and nothing is uploaded.</p>
<p><img src="https://cdn.hashnode.com/uploads/covers/6af689b663e08361969de7d7/20a7c562-b003-41db-bde4-68dc8ca1c5ac.png" alt="DocWebHub preview (file list and Markdown)" /></p>
<h2>How it works</h2>
<ol>
<li>Pick a folder</li>
<li>The app gives you a URL like <code>http://192.168.1.8:9102</code></li>
<li>Anyone on the same network opens that URL in a browser</li>
</ol>
<p>There is no account, and it works offline. You can optionally set a password, bind to localhost only, or use a detected Tailscale address.</p>
<p>It runs on macOS, Windows, and Linux, including ARM. The viewers are packed into the download, so there is no extra runtime to install.</p>
<h2>What you can open</h2>
<ul>
<li>Word / Excel / PowerPoint, including older <code>.doc</code> / <code>.xls</code> / <code>.ppt</code></li>
<li>PDF, Markdown, images, audio, video, and source code</li>
<li>DWG / DXF, with pan, zoom, and layers</li>
<li>Save as PDF when you need it</li>
</ul>
<p>If the folder has an <code>index.html</code>, that page is shown; otherwise you get a file list. It also works as a preview for a static site.</p>
<h2>How this is different</h2>
<p><a href="https://github.com/9001/copyparty">Copyparty</a>, <a href="https://github.com/svenstaro/miniserve">miniserve</a>, and <code>python -m http.server</code> are solid file servers, but they are not aimed at letting someone preview Office or DWG in the browser. <a href="https://localsend.org/">LocalSend</a> is great for transferring files, but it does not share a folder as a site.</p>
<p>DocWebHub is for handing someone a read-only link, without asking them to install software and without uploading the files.</p>
<h2>Honest limitations</h2>
<ul>
<li>The macOS build is not notarized yet, so the first launch needs a right-click and Open</li>
<li>Windows may show SmartScreen</li>
<li>The password restricts access; it does not encrypt the traffic</li>
</ul>
<p>The project is dual-licensed, AGPL-3.0 and commercial.</p>
<h2>Try it</h2>
<ul>
<li>Site: <a href="https://docwebhub.app/">https://docwebhub.app/</a></li>
<li>Repository: <a href="https://github.com/0xChance/docwebhub">https://github.com/0xChance/docwebhub</a></li>
<li>First public release: <a href="https://github.com/0xChance/docwebhub/releases/tag/v0.1.0">v0.1.0</a></li>
</ul>
<p>I would love feedback on the Office and DWG preview, and on the first-launch experience.</p>
]]></content:encoded></item></channel></rss>