Comments (6)
Hi @Athenodoros - https://github.com/tgrosinger/ledger-obsidian has a typescript parser of the ledger format (similar to beancount's). In case it's useful.
from tophat.
Hey both - love that you're interested. I've had a look, and beancount definitely looks like a reasonable fit for what I'm going for here: most of the language maps pretty directly to existing primitives in TopHat.
That said, I can't immediately see an authoritative JS library for the file format, and I feel like doing that here is probably scope creep beyond what this project should be. If there's something out there though, I could maybe look at using it as an import/export target?
Failing that, it looks like Python has solid interfaces to beancount and could probably convert pretty easily between the TopHat json imports/exports (no documentation right now, but downloading the test data as json should be pretty self-explanatory) and the beancount format. You could probably convert them over pretty easily that way, if you're happy with the programming side?
from tophat.
Very curious to see if this goes anywhere. I've been toying with creating an app very similar to this but backed by a ledger file. This could possibly save me a bunch of work 🙂
from tophat.
True. I could also break that out into a separate repo. I'm planning on continuing to add more of the ledger spec over time.
from tophat.
Oh! @tgrosinger knows. :)
from tophat.
I think I'd be open to it in a standalone package, although I'd definitely want to see it before committing either way - like I say, I don't want to blow this out too much in a different direction...
Let me know if you end up doing it - I think on the TopHat side the integration would be pretty straight-forward.
from tophat.
Related Issues (13)
- Site erroneously marks narrow browser window as "mobile device" HOT 1
- Incorrect category aggregation when changing parent HOT 3
- Date filter HOT 1
- Default "12 Month Average" in Categories page
- Currency sync has stopped working HOT 6
- Incomplete REGEX in Description Filter Causes Crash HOT 1
- Button to force update balances HOT 2
- license HOT 1
- Unable to import CSV file HOT 1
- How to install this HOT 3
- Manual refresh of exchange rates HOT 2
- Category aggregations not working properly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tophat.