<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Finance on Clément Joly – Open-Source, Rust &amp; SQLite</title><link>https://joly.pw/tags/finance/</link><description>Recent content in Finance on Clément Joly – Open-Source, Rust &amp; SQLite</description><image><title>Clément Joly – Open-Source, Rust &amp; SQLite</title><url>https://joly.pw/images/open-graph-home-original.png</url><link>https://joly.pw/images/open-graph-home-original.png</link></image><generator>Hugo -- 0.154.3</generator><language>en</language><copyright>Clément Joly</copyright><lastBuildDate>Wed, 11 Mar 2026 03:32:38 +0000</lastBuildDate><atom:link href="https://joly.pw/tags/finance/index.xml" rel="self" type="application/rss+xml"/><item><title>Into Ledger</title><link>https://joly.pw/into-ledger/</link><pubDate>Sat, 21 Aug 2021 16:23:33 +0100</pubDate><guid>https://joly.pw/into-ledger/</guid><description>🔮 AI-powered expenses classifier for ledger. The original project seems not to be maintained anymore, hence this fork to continue improving it.</description><content:encoded><![CDATA[
<p style="display: flex; justify-content: space-between">
  <a href="https://github.com/cljoly/into-ledger" data-goatcounter-click="ext-github-into-ledger" data-goatcounter-title="cljoly/into-ledger">
    <span class="svgicon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
    stroke-linecap="round" stroke-linejoin="round">
    <path
        d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22">
    </path>
</svg></span>&nbsp;cljoly/into-ledger
  </a>
  <a class="badges" href="https://github.com/cljoly/into-ledger" data-goatcounter-click="ext-stargithub-into-ledger" data-goatcounter-title="stars cljoly/into-ledger">
    <img src="https://img.shields.io/github/stars/cljoly/into-ledger?style=social" alt="Github stars for into-ledger">
  </a>
</p>


<div class="badges">


<p><a href="https://goreportcard.com/report/github.com/cljoly/into-ledger">
<img alt="Go Report Card" loading="lazy" src="https://goreportcard.com/badge/github.com/cljoly/into-ledger"></a> <a href="https://github.com/cljoly/into-ledger/actions/workflows/build.yml">
<img alt="Test" loading="lazy" src="https://github.com/cljoly/into-ledger/actions/workflows/build.yml/badge.svg"></a> <a href="https://github.com/cljoly/into-ledger/commits/master">
<img alt="GitHub last commit" loading="lazy" src="https://img.shields.io/github/last-commit/cljoly/into-ledger"></a></p>

</div>


<p>into-ledger helps categorization of CSV transactions and conversion into ledger format for consumption by <a href="http://ledger-cli.org/">ledger-cli.org</a>. It makes importing hundreds of transactions into ledger a breeze. I typically get close to a hundred transactions per account per month myself, which is why I wrote this tool.</p>




  
  
  
  

  <div class="alert alert-note">
    <p class="alert-heading">
      ℹ️
      
        Note
      
    </p>
    <p>This is a fork of <a href="https://github.com/manishrjain/into-ledger">manishrjain/into-ledger</a>  (which appears to be unmaintained)</p>
  </div>



<h2 id="features">Features</h2>
<ul>
<li><strong>Accurate</strong>             : Uses a much more accurate tf-idf expense classifier than used by cantino/reckon.</li>
<li><strong>Includes and Aliases</strong> : Correctly parses your existing journal file, handling all includes and account aliases.</li>
<li><strong>Keyboard Shortcuts</strong>   : Assigns dynamic keyboard shortcuts, so classifying transactions is just a keystroke away.</li>
<li><strong>Auto save</strong>            : Uses temporary storage (boltdb) to persist transactions that you have categorized or acknowledged to be correctly categorized, so you can quit whenever you want, without the risk of losing the work done so far.</li>
<li><strong>Deduplication</strong>        : Deduplicates incoming transactions from CSV against the transactions already present in ledger journal. This allows an easy resume from a broken workflow.</li>
<li><strong>Nice UI</strong>              : Colors and formatting, because it&rsquo;s not just about getting things done. It&rsquo;s also about making them look nice!</li>
</ul>
<p>This fork adds:</p>
<ul>
<li><strong>Fixes</strong>: various improvement, in particular to the CSV parsing</li>
<li><strong>Fuzzy selection</strong>: with fzf</li>
<li><strong>More documentation</strong>: admittedly still in progress</li>
<li><strong>More modern, cleaner codebase</strong>: this fork <a href="https://goreportcard.com/report/github.com/leowzukw/into-ledger">
<img alt="Go Report Card" loading="lazy" src="https://goreportcard.com/badge/github.com/leowzukw/into-ledger"></a> vs upstream  <a href="https://goreportcard.com/report/github.com/manishrjain/into-ledger">
<img alt="Go Report Card" loading="lazy" src="https://goreportcard.com/badge/github.com/manishrjain/into-ledger"></a></li>
<li><strong>Support of payee aliases</strong>: file with internal aliases <em>TODO</em></li>
</ul>
<p>This fork removes:</p>
<ul>
<li><strong>Plaid support</strong>: with better CSV parsing, the tool is more generic and can use data from many more websites</li>
</ul>
<h2 id="install">Install</h2>
<h3 id="binaries">Binaries</h3>
<p>If you understand the security implications, <a href="https://github.com/cljoly/into-ledger/releases/latest">grab a binary from the release page and run it</a>.</p>
<h3 id="build-it-yourself">Build it yourself</h3>
<p>A better option, security-wise, is to install the go toolchain and run</p>
<pre tabindex="0"><code>go get -u joly.pw/into-ledger
</code></pre><h2 id="help">Help</h2>
<pre tabindex="0"><code>Usage of ./into-ledger:
  -a string
    	Name of bank account transactions belong to.
  -c string
    	Set currency if any.
  -conf string
    	Config directory to store various into-ledger configs in. (default &#34;/home/mrjn/.into-ledger&#34;)
  -comma string
	Separator of fields in csv file
  -csv string
    	File path of CSV file containing new transactions.
  -d string
    	Express your date format in numeric form w.r.t. Jan 02, 2006, separated by slashes (/). See: https://golang.org/pkg/time/ (default &#34;01/02/2006&#34;)
  -debug
    	Additional debug information if set.
  -ic string
    	Comma separated list of columns to ignore in CSV.
  -j string
    	Existing journal to learn from.
  -o string
    	Journal file to write to. (default &#34;out.ldg&#34;)
  -opt string
	Extra option to pass to ledger commands
  -s int
    	Number of header lines in CSV to skip
</code></pre><h2 id="usage">Usage</h2>
<pre tabindex="0"><code># Importing from Citibank Australia
$ into-ledger -j ~/ledger/journal.ldg -csv ~/ledger/ACCT_464_25_07_2016.csv --ic &#34;3,4&#34; -o out.data -a citi -c AUD -d &#34;02/01/2006&#34;

# Importing from Chase USA. Skips the first line in CSV file. Also skips the first (0) and second (1) column in csv. Outputs to out.data. Sets currency as USD.
$ into-ledger -j ~/ledger/journal.ldg -csv ~/ledger/Activity.CSV --ic &#34;0,1&#34; -o out.data -a chase -c USD -s 1
</code></pre><p>Having to specify these command line arguments over and over again is annoying. So, instead you can create a config file in &ldquo;$HOME/.into-ledger/config.yaml&rdquo;, storing the flag values for reuse, like so:</p>
<pre tabindex="0"><code>accounts:
  chase:
    c: USD
    j: /home/mrjn/ledger/journal.ldg
    d: 01/02/2006
    ic: &#34;0,1&#34;
    o: /home/mrjn/ledger/chase.out
    s: 1
  cba-smart:
    c: AUD
    j: /home/mrjn/ledger/journal.ldg
    d: 02/01/2006
    ic: &#34;3&#34;
    o: /home/mrjn/ledger/cba.out
</code></pre><p><strong>Note: The way config is stored has changed recently. Please update your version of into-ledger using <code>go get -u -v github.com/manishrjain/into-ledger</code>. Also, update your config file.</strong></p>
<p>Now you can just run:
<code>into-ledger -a chase -csv &lt;input-csv&gt;</code>, or <code>into-ledger -a cba-smart -csv &lt;input-csv&gt;</code></p>
<h2 id="dates">Dates</h2>
<p>into-ledger requires you to specify the date format in numeric form w.r.t. Jan 02, 2006. This is how Go language parses dates. This is frequently a cause of confusion among folks unfamiliar with the language. So, please find here the commonly used date formats and how to specify them in into-ledger.</p>
<table>
  <thead>
      <tr>
          <th>Formatting Style</th>
          <th>Regions used in</th>
          <th>into-ledger format</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Month/Day/Year</td>
          <td>USA</td>
          <td>01/02/2006</td>
      </tr>
      <tr>
          <td>Month-Day-Year</td>
          <td>USA</td>
          <td>01-02-2006</td>
      </tr>
      <tr>
          <td>Day/Month/Year</td>
          <td>Australia, others</td>
          <td>02/01/2006</td>
      </tr>
      <tr>
          <td>Day-Month-Year</td>
          <td>Australia, others</td>
          <td>02-01-2006</td>
      </tr>
      <tr>
          <td>Year/Month/Day</td>
          <td>Ledger</td>
          <td>2006/01/02</td>
      </tr>
      <tr>
          <td>Year-Month-Day</td>
          <td>Ledger</td>
          <td>2006-01-02</td>
      </tr>
  </tbody>
</table>
<h2 id="keyboard-shortcuts">Keyboard Shortcuts</h2>
<p>One of the great advantages of using <code>into-ledger</code> is how quickly you can categorize a transaction. Most of the times the underlying categorization algorithm is smart enough to do the right thing for you. However, for the rest, <code>into-ledger</code> shows you keyboard shortcuts to pick the right category.</p>
<p><code>into-ledger</code> uses a keys module I wrote, which automatically assigns shortcuts to categories and persists them in <code>~/.into-ledger/shortcuts.yaml</code>. However, you might want to use certain keys for certain categories. In that case, feel free to hand-edit the <code>shortcuts.yaml</code> file. Just ensure that the same shortcut isn&rsquo;t being used twice in the file.</p>
<p><strong>Tip:</strong> If you want to assign a shortcut to a category, but it&rsquo;s being used by another category, feel free to delete that category block from the shortcuts file. into-ledger will automatically reassign a new shortcut to the deleted category, and write it back.</p>
<h2 id="screenshots">Screenshots</h2>
<p><strong>Parse transactions from CSV, and show automatically picked categories to be reviewed.</strong></p>
<p>
<img alt="list of transactions" loading="lazy" src="https://raw.githubusercontent.com/cljoly/into-ledger/master/list.png"></p>
<p><strong>Detect duplicates transactions in CSV, which are already present in ledger journal.</strong></p>
<p>
<img alt="duplicate detection" loading="lazy" src="https://raw.githubusercontent.com/cljoly/into-ledger/master/duplicates.png"></p>
<p><strong>Categorize transaction using persistent and dynamic keyboard shortcuts.</strong></p>
<p>
<img alt="categorize transaction" loading="lazy" src="https://raw.githubusercontent.com/cljoly/into-ledger/master/txn.png"></p>
]]></content:encoded></item><item><title>Sesters</title><link>https://joly.pw/sesters/</link><pubDate>Sat, 21 Aug 2021 04:48:15 +0100</pubDate><guid>https://joly.pw/sesters/</guid><description>💱 Fast, offline currency converter 💴 💷 💶 💵</description><content:encoded><![CDATA[
<p style="display: flex; justify-content: space-between">
  <a href="https://github.com/cljoly/sesters" data-goatcounter-click="ext-github-sesters" data-goatcounter-title="cljoly/sesters">
    <span class="svgicon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
    stroke-linecap="round" stroke-linejoin="round">
    <path
        d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22">
    </path>
</svg></span>&nbsp;cljoly/sesters
  </a>
  <a class="badges" href="https://github.com/cljoly/sesters" data-goatcounter-click="ext-stargithub-sesters" data-goatcounter-title="stars cljoly/sesters">
    <img src="https://img.shields.io/github/stars/cljoly/sesters?style=social" alt="Github stars for sesters">
  </a>
</p>


<div class="badges">
<a href="https://cj.rs/sesters#getting-started"><img src="https://img.shields.io/badge/🚀 getting-started-yellow?style=flat-square" class="badges" alt="Crates.io" /></a> </a><a href="#contribute"><img src="https://img.shields.io/github/license/cljoly/sesters.svg?color=blueviolet&label=contribute&style=flat-square&logo=gnu" alt="LICENCE" /></a> <a href="https://github.com/cljoly/sesters/actions/"><img src="https://img.shields.io/github/workflow/status/cljoly/sesters/CI?label=CI&logo=github&style=flat-square" alt="Continuous Integration" /></a> <a href="https://crates.io/crates/sesters"><img src="https://img.shields.io/crates/v/sesters.svg?color=blue&style=flat-square" alt="Crates.io" /></a> <a href="https://crates.io/crates/sesters"><img alt="undefined" src="https://img.shields.io/crates/d/sesters.svg?color=brightgreen&style=flat-square"></a>

</div>


<hr>
<h2 id="getting-started">Getting started</h2>
<p>Install the latest version:</p>
<pre tabindex="0"><code>$ cargo install sesters
</code></pre><p>Exemple of plain text conversion:</p>
<div class="highlight"><pre tabindex="0" style="color:#abb2bf;background-color:#282c34;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sh" data-lang="sh"><span style="display:flex;"><span>$ sesters convert a price burried <span style="color:#d19a66">1</span> USD in text
</span></span><span style="display:flex;"><span>USD 1.00 ➜ EUR 0.89
</span></span><span style="display:flex;"><span>$ sesters convert -- -1 €
</span></span><span style="display:flex;"><span>EUR -1.00 ➜ USD -1.10
</span></span><span style="display:flex;"><span>$ sesters convert
</span></span><span style="display:flex;"><span>I can <span style="color:#e5c07b">type</span> and press enter EUR <span style="color:#d19a66">2356</span>
</span></span><span style="display:flex;"><span>EUR 2345.00 ➜ USD 2586.53
</span></span></code></pre></div><p>It is then visible in the history:</p>
<pre tabindex="0"><code>$ sesters history list
╔═══╦═══════════════════════════════════╦═════════════════════════════════════╦═══════════════════════════╗
║ 1 ║ 2021-10-09 22:36:54.733991464 UTC ║ a price burried 1 USD in text       ║ USD 1.00 ➜ EUR 0.86       ║
╠═══╬═══════════════════════════════════╬═════════════════════════════════════╬═══════════════════════════╣
║ 2 ║ 2021-10-09 22:36:58.147102167 UTC ║ -1 €                                ║ EUR -1.00 ➜ USD -1.16     ║
╠═══╬═══════════════════════════════════╬═════════════════════════════════════╬═══════════════════════════╣
║ 3 ║ 2021-10-09 22:37:06.656527072 UTC ║ I can type and press enter EUR 2356 ║ EUR 2356.00 ➜ USD 2727.15 ║
╚═══╩═══════════════════════════════════╩═════════════════════════════════════╩═══════════════════════════╝
</code></pre><h2 id="features">Features</h2>
<ul>
<li>Find prices in plain text with several currencies</li>
<li>Store exchange rates locally for a while, to speed up future conversions</li>
<li>Save recent conversion history. The history is automatically deleted after a while</li>
</ul>
<h2 id="about-the-name">About the name</h2>
<p>Inspired by this <a href="https://en.wikipedia.org/wiki/Sestertius">coin</a>.</p>


<p><a href="https://commons.wikimedia.org/wiki/File:Sestertius_Hostilian-s2771.jpg#/media/File:Sestertius_Hostilian-s2771.jpg"><img src="https://upload.wikimedia.org/wikipedia/commons/f/f3/Sestertius_Hostilian-s2771.jpg" alt="Sestertius Hostilian-s2771.jpg"></a><br>By Classical Numismatic Group, Inc. <a rel="nofollow" class="external free" href="http://www.cngcoins.com">http://www.cngcoins.com</a>, <a href="http://creativecommons.org/licenses/by-sa/3.0/" title="Creative Commons Attribution-Share Alike 3.0">CC BY-SA 3.0</a>, <a href="https://commons.wikimedia.org/w/index.php?curid=380116">Link</a></p>



<h2 id="contribute">Contribute</h2>
<p>Contributions are welcome, see this <a href="https://cj.rs/docs/contribute/">document</a>!</p>
<p><a href="https://github.com/cljoly/sesters/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22">
<img loading="lazy" src="https://img.shields.io/github/issues/cljoly/sesters/good%20first%20issue"></a></p>
<h2 id="licence">Licence</h2>
<p>
<img alt="GPLv3" loading="lazy" src="https://www.gnu.org/graphics/gplv3-127x51.png"></p>
<p>Sesters is licensed under <a href="https://www.gnu.org/licenses/gpl.html">GNU General Public License</a> Version 3 or later.</p>




  <figure>
    <blockquote >
      <p>Copyright (C) 2018-2019  Clément Joly <a href="mailto:oss+sesters@131719.xyz">oss+sesters@131719.xyz</a></p>
<p>This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License
along with this program.  If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
,</p>

    </blockquote>
    
  </figure>



]]></content:encoded></item></channel></rss>