Skip to content

WIP: Swift invoice generator for Hledger timedot file

License

Notifications You must be signed in to change notification settings

EmaApps/timedot-invoice

Repository files navigation

timedot-invoice

WIP: nix run-generate your invoice from a hledger timedot file.

  • Write your own HTML (heist template) and CSS, with a default one generated automatically.
  • Make full use of Ema's hot reload, for a live view of invoice.
  • Simple. Does one thing, and one thing only. No kitchen sink. "Print to PDF" if you want PDF.

Nix Cache: https://garnix.io/docs/caching

Contributing

Contributions are welcome, in particular on any of the following aspects:

  • Design improvements (HTML, CSS)
  • More general parameters (invoice duration, granularity, etc.) without compromising the ability to specialize

Run bin/run and hack away in VSCode under Nix shell.

Tasks

I already use this to generate my invoices. However, the following must be finished before general availability of the project:

  • File management
    • A 'default' layer, for the .tpl file. Although the user can override it optionally, they should be able to use the default HTML without having to customize it.
    • Auto-copy the .yaml file alongside the timedot file. Default layer's version is useless here.
  • Customizability
    • Customize invoice duration (currently hardcoded to 'everything')
    • Customize invoice precision (currently hardcoded to 'weekly')

About

WIP: Swift invoice generator for Hledger timedot file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published