BEAN-BAKE(1)
πΈ NAME πΈ
bean-bake β bake a static web view of a Beancount ledger π§β¨
(that's BEAN-BAKE(1), bestie β section 1 of the User Commands manuals, we're in the big leagues π
)
β¨ DESCRIPTION β¨
Okay so picture this: you've got a Beancount input file, and you want a whole cute static website made out of it. That's literally what this does. π
It bakes a Beancount input file's web files into a directory hierarchy. You hand it a Beancount filename and an output directory, and this script runs a server and a scraper, and the scraper puts all the files into that directory. And β plot twist β if your output name has an archive suffix, we automatically add the fetched directory contents to the archive and delete them. Slay. π
Here's the usage, verbatim, no edits, iykyk:
usage: bean-bake [-h] [--version] [--port PORT] [-q] [--debug] [--incognito] [--no-source] [--no-colons] [--view VIEW] [--public] [--first-month FIRST_MONTH] [--render-all-pages] filename output
π¦ options: π¦
-h,--helpβ show this help message and exit (the classic, the icon, the moment you need her most π«Ά)--version,-Vβ show program's version number and exit
π Web server arguments: π
filenameβ the Beancount input filename to serve. This is the one you're showing off. β¨--port PORTβ which port to listen on.-q,--quietβ don't even print out web server log. not a single line. silence. π€«--debugβ enable debugging features (auto-reloading of css). live-reload girlies rise π₯--incognitoβ filter the output in order to hide all the numbers. This is great for demos using my real file. πΆοΈ (no numbers, no nosy questions, periodt)--no-sourceβ don't render the source.--no-colonsβ don't render colons in filenames (for Windows). rip colons π--view VIEWβ render only the specified view (identify by URL)--public,--inaddr-anyβ bind server to listen to any address, not just localhost. main character energy, the whole network can see her π--first-month FIRST_MONTHβ the first month of the calendar year.
π Bake process arguments: π
outputβ the output directory or archive name. If you specify a filename with a well-known extension, we automatically archive the fetched directory contents to this archive name and delete them. π¦β¨--render-all-pages,--fullβ don't ignore some of the more numerous pages, like monthly reports. every single page gets her moment, no crumbs left behind π
ngl bestie, lowkey the whole thing is just: give her afilenameand anoutput, let her cook. that's the vibe check. πΈ
and that's the tea π this was bean-bake 2.3.6, brought to you in April 2024 β go bake something iconic, bestie, you got this ππ
π¦
π¦ where this page comes from
- ubuntu noble: beancount 2.3.6-1build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms