BEAN-BAKE(1)

πŸ“¦
version 2.3.6 Β· 3 versions
, in ubuntu noble

🌸 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 a filename and an output, 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