Recent submissions

Comment · 7 months ago
That’s correct
Comment · 7 months ago
Agreed!
Comment · 3 years ago
You can use the `--to` flag and something like FZF or Gum to populate that from a text file.

`pop --to $(fzf contacts.txt)`

Comment · 3 years ago
Totally, thanks so much! Also I do plan on adding different templates in the future through a --template flag which would write different PDFs based on the value selected.
Comment · 3 years ago
Hey! Author here, I probably would have posted this to HN since this tool is just meant to make invoice generation possible from the command line. Now that we have this tool it's quite easy to add more templates (just another flag) and it can customize the look of the invoice.
Comment · 3 years ago
Same here, finally got around to building it! Thanks for the support!
Comment · 3 years ago
Yes! Soon, there will be JSON / YAML import support. I definitely want to add some more templates as well.
Comment · 3 years ago
Yes, this is definitely possible with troff/groff/latex/etc... I built this tool as I wanted nice looking invoices that could be generated instantly. I want to add templates in the future so that I can change the style as well. I spend most of my time on the CLI so having interoperability with other tools such as `date` and `time` etc... to combine commands and script the generation process was one of my goals.
Comment · 3 years ago
That's a good point. I definitely want to support different formats will probably need to support a --format and --template flag as well.
Comment · 4 years ago
We definitely want to add an option to record a session which would output a generated file for you!
Comment · 4 years ago
This is actually really cool. Thanks for sharing this!
Comment · 4 years ago
We started off hand rolling the parser and had that fully implemented and then wrote the tree-sitter grammar. If I were to do it again I would probably use tree-sitter for the actual repo so that the implementations were the same for sure.
Comment · 4 years ago
Author here. Fair point! Definitely forgot to compress it and make it smaller. Thanks for the call out.
Comment · 4 years ago
Thank you so much for the kind words! It really means a lot.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton