<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 0xChance</title>
    <description>The latest articles on DEV Community by 0xChance (@0xchance_13).</description>
    <link>https://dev.to/0xchance_13</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241045%2F9b1c325b-a961-4e0e-905a-e123d525ecb0.png</url>
      <title>DEV Community: 0xChance</title>
      <link>https://dev.to/0xchance_13</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xchance_13"/>
    <language>en</language>
    <item>
      <title>I built a desktop app that turns a local folder into a read-only website</title>
      <dc:creator>0xChance</dc:creator>
      <pubDate>Fri, 13 Nov 2026 02:17:13 +0000</pubDate>
      <link>https://dev.to/0xchance_13/i-built-a-desktop-app-that-turns-a-local-folder-into-a-read-only-website-32h3</link>
      <guid>https://dev.to/0xchance_13/i-built-a-desktop-app-that-turns-a-local-folder-into-a-read-only-website-32h3</guid>
      <description>&lt;p&gt;I kept running into the same problem: I wanted to show someone a folder of Word docs, spreadsheets, and CAD drawings without emailing a zip, uploading the files somewhere, or hearing “I don’t have Office / AutoCAD.” I also didn’t want to give them a way to edit or delete anything.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://docwebhub.app" rel="noopener noreferrer"&gt;DocWebHub&lt;/a&gt;. It is a small desktop app that turns one folder on your computer into a read-only website.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;You pick a folder. The app shows an address in the window, for example &lt;code&gt;http://192.168.1.8:9102&lt;/code&gt;. A colleague on the same Wi-Fi opens that link in a browser and can read the files.&lt;/p&gt;

&lt;p&gt;Nothing is uploaded. There is no account. It works offline. Only the folder you chose is visible, and there is no upload, rename, or delete button.&lt;/p&gt;

&lt;p&gt;You can also require a username and password, bind to localhost so only your machine can connect, or share it over the local network. Tailscale addresses are detected automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can open in the browser
&lt;/h2&gt;

&lt;p&gt;It can preview Word, Excel, and PowerPoint, including old &lt;code&gt;.doc&lt;/code&gt; / &lt;code&gt;.xls&lt;/code&gt; / &lt;code&gt;.ppt&lt;/code&gt; files, plus PDF, Markdown, images, audio, video, and code. DWG and DXF drawings can be panned, zoomed, and inspected by layer. A document or drawing can also be saved as a PDF.&lt;/p&gt;

&lt;p&gt;The Office and CAD viewers are packed into the app, so the other person does not need those programs installed. If the folder has an &lt;code&gt;index.html&lt;/code&gt;, it is served as a normal site; otherwise you get a file list with a preview pane.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to try it
&lt;/h2&gt;

&lt;p&gt;It is a single download for macOS, Windows, and Linux (including ARM):&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/0xChance" rel="noopener noreferrer"&gt;
        0xChance
      &lt;/a&gt; / &lt;a href="https://github.com/0xChance/docwebhub" rel="noopener noreferrer"&gt;
        docwebhub
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      docWebHub is a small desktop app for looking at a website or a folder of documents on your own computer. Pick a folder, and it opens in your browser. No command line, no setup, and no extra software to install.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/0xChance/docwebhub/assets/docwebhub.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2F0xChance%2Fdocwebhub%2FHEAD%2Fassets%2Fdocwebhub.png" width="120" alt="docWebHub icon"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;docWebHub&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Turn any folder into a website — in one click.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;docWebHub is a small desktop app for looking at a website or a folder of documents on your
own computer. Pick a folder, and it opens in your browser. No command line, no setup, and no
extra software to install.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/0xChance/docwebhub#install" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1e15a486321fcec8e2c75bb2d70030a57807e36322eb7a1f69f55ec2f6e8c3ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d732d6d61634f5325323025374325323057696e646f77732532302537432532304c696e75782d364237323830" alt="Platforms"&gt;&lt;/a&gt;
&lt;a href="https://github.com/0xChance/docwebhub/locales/" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2799d3dd4ca8132e2ce50afa4264a01144813458c1178ad5e8694f2ba4e4e3d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e6775616765732d31302d313641333441" alt="Languages"&gt;&lt;/a&gt;
&lt;a href="https://github.com/0xChance/docwebhub/LICENSING.md" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5e9897f81483c758c82ee91d1ba3fb5fce056707e10a2bd3d72dfce36dfd567d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4147504c2d2d332e302d323536334542" alt="License"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/0xChance/docwebhub/screenshots/screenshot-preview.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2F0xChance%2Fdocwebhub%2FHEAD%2Fscreenshots%2Fscreenshot-preview.png" width="860" alt="docWebHub showing a folder of files with a document open in the preview pane"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why you might need it&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;You exported a website, downloaded a template, or received a folder of documents from someone
To see it the way a visitor would, the folder has to be opened by a web server. Until now that
meant opening a terminal and remembering a command.&lt;/p&gt;
&lt;p&gt;docWebHub is the missing &lt;strong&gt;Preview&lt;/strong&gt; button: open the app, choose the folder, and the site
appears in your browser. Everything stays on your computer.&lt;/p&gt;
&lt;p&gt;It is handy when you want to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;check an exported site or template before uploading it&lt;/li&gt;
&lt;li&gt;read a folder of Markdown, Word, Excel, PowerPoint, PDF, or…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/0xChance/docwebhub" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Builds are here: &lt;a href="https://github.com/0xChance/docwebhub/releases/tag/v0.1.0" rel="noopener noreferrer"&gt;v0.1.0&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Install, pick a folder, and open the address in a browser. That is the whole first run.&lt;/p&gt;

&lt;h2&gt;
  
  
  How this is different
&lt;/h2&gt;

&lt;p&gt;This is not meant to replace a full file server. Tools like Copyparty, miniserve, or &lt;code&gt;python -m http.server&lt;/code&gt; are great at serving files, and LocalSend is great at sending a file to another device. I wanted something narrower: a read-only link, no upload, and in-browser preview for Office and DWG so the other person does not need those apps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest limitations
&lt;/h2&gt;

&lt;p&gt;The macOS build is not notarized, so the first launch needs right-click → Open. Windows may show SmartScreen. A password stops casual visitors but does not encrypt the traffic — on café or hotel Wi-Fi, use “Localhost only.”&lt;/p&gt;

&lt;p&gt;It is written in Go, with a native window on each platform. The license is AGPL-3.0, or a commercial license if those terms do not work for you.&lt;/p&gt;

&lt;p&gt;Site: &lt;a href="https://docwebhub.app" rel="noopener noreferrer"&gt;https://docwebhub.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d welcome feedback, especially on the Office and DWG preview, and on anything that made the first launch confusing.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>go</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
