<?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: SoloLedger</title>
    <description>The latest articles on DEV Community by SoloLedger (@sololedger_app).</description>
    <link>https://dev.to/sololedger_app</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%2F4271195%2Fdbc0e3e4-1397-4988-b18c-a2ea08d7fc26.png</url>
      <title>DEV Community: SoloLedger</title>
      <link>https://dev.to/sololedger_app</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sololedger_app"/>
    <language>en</language>
    <item>
      <title>How SoloLedger Packs a Freelance Invoice, Proposal &amp; Profit OS Into One 96 KB Offline HTML File</title>
      <dc:creator>SoloLedger</dc:creator>
      <pubDate>Sat, 28 Nov 2026 18:36:53 +0000</pubDate>
      <link>https://dev.to/sololedger_app/how-i-built-a-freelance-invoice-proposal-profit-os-in-one-96-kb-offline-html-file-2ok6</link>
      <guid>https://dev.to/sololedger_app/how-i-built-a-freelance-invoice-proposal-profit-os-in-one-96-kb-offline-html-file-2ok6</guid>
      <description>&lt;p&gt;Many freelance invoicing tools charge &lt;strong&gt;$20–$35/month&lt;/strong&gt; forever just to generate PDFs, track whether clients actually paid, and estimate how much to set aside for taxes.&lt;/p&gt;

&lt;p&gt;Instead of another recurring subscription with logins and cloud lock-in, &lt;strong&gt;SoloLedger&lt;/strong&gt; packs a complete freelance financial OS into &lt;strong&gt;one standalone &lt;code&gt;~96 KB&lt;/code&gt; HTML file&lt;/strong&gt; that runs completely offline in any browser.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://sololedger-os.netlify.app/demo/" rel="noopener noreferrer"&gt;Try the Live Interactive Demo (zero signup)&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://sololedger-os.netlify.app/" rel="noopener noreferrer"&gt;Main Page &amp;amp; Offline Download&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Why a Single-File Local-First App?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero servers, zero maintenance, $0/month hosting.&lt;/strong&gt; Double-click &lt;code&gt;SoloLedger.html&lt;/code&gt; from your Documents folder and it opens instantly on Mac, Windows, or Linux—even on a plane with no Wi-Fi.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% private financial data.&lt;/strong&gt; Your client rates, invoices, and revenue stay in your browser's &lt;code&gt;localStorage&lt;/code&gt; rather than sitting on someone else's database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant portability.&lt;/strong&gt; Everything exports cleanly to &lt;code&gt;.json&lt;/code&gt; backups and &lt;code&gt;.csv&lt;/code&gt; spreadsheets anytime.&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  4 Technical Tricks That Made It Feel Like a Native App
&lt;/h2&gt;
&lt;h3&gt;
  
  
  1. Clean PDF Export Without Heavy Libraries (&lt;code&gt;@media print&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Bundling &lt;code&gt;jspdf&lt;/code&gt; or Puppeteer adds megabytes and layout quirks. Instead, SoloLedger renders a dedicated &lt;code&gt;#print-sheet&lt;/code&gt; container and uses &lt;code&gt;@media print&lt;/code&gt; CSS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nn"&gt;#print-sheet&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="nt"&gt;print&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;@page&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;margin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16mm&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nc"&gt;.app-shell&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;.modal-backdrop&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;.toast&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;.no-print&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;none&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nn"&gt;#print-sheet&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;block&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When you click &lt;strong&gt;PDF&lt;/strong&gt; on any invoice or proposal, it populates &lt;code&gt;#print-sheet&lt;/code&gt; with clean A4/Letter typography and calls &lt;code&gt;window.print()&lt;/code&gt;—so Chrome, Safari, Edge, and Firefox generate crisp vector PDFs natively.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Pure UMD Core Tested in Node.js Without a Browser
&lt;/h3&gt;

&lt;p&gt;All financial calculations, overdue detection, proposal-to-invoice conversion, and CSV parsing live in a single dependency-free UMD module (&lt;code&gt;core.js&lt;/code&gt;). That lets the exact same file run inside &lt;code&gt;SoloLedger.html&lt;/code&gt; in the browser &lt;strong&gt;and&lt;/strong&gt; run under Node's built-in assertions in &lt;code&gt;test.js&lt;/code&gt; for rounding (&lt;code&gt;Math.round((n + Number.EPSILON) * 100) / 100&lt;/code&gt;), tax reserves, and 6-month revenue/expense series.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Safe CSV Export + Round-Trip Import
&lt;/h3&gt;

&lt;p&gt;Accountants love CSVs, but unescaped cells starting with &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt;, or &lt;code&gt;@&lt;/code&gt; can trigger spreadsheet formula injection when opened in Excel. SoloLedger prefixes dangerous leading characters with &lt;code&gt;'&lt;/code&gt; on export and strips that single guard prefix back off cleanly on import—while handling quoted commas, &lt;code&gt;""&lt;/code&gt; escapes, and currency symbols like &lt;code&gt;$1,250.50&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Inline SVG Cashflow Chart (&lt;code&gt;0&lt;/code&gt; Charting Libraries)
&lt;/h3&gt;

&lt;p&gt;The 6-month Revenue vs. Expenses bar chart is a lightweight inline &lt;code&gt;&amp;lt;svg&amp;gt;&lt;/code&gt; computed directly from the state metrics—keeping the entire bundled offline app under 100 KB with zero external CDN requests.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It Yourself
&lt;/h2&gt;

&lt;p&gt;You can click around the pre-loaded sample studio (create an invoice, convert a proposal, run the stopwatch, or import/export CSVs) right here with zero signup:&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;&lt;a href="https://sololedger-os.netlify.app/demo/" rel="noopener noreferrer"&gt;https://sololedger-os.netlify.app/demo/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you want the standalone offline &lt;code&gt;SoloLedger.html&lt;/code&gt; copy to keep forever ($29 one-time, or $49 with the full modular source code &amp;amp; build scripts), you can grab it at &lt;strong&gt;&lt;a href="https://sololedger-os.netlify.app/" rel="noopener noreferrer"&gt;https://sololedger-os.netlify.app/&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;What's the #1 feature you actually need in a freelance tracker—and what SaaS bloat do you wish you could delete?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>freelance</category>
      <category>javascript</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
