News for hackers. Stuff that matters.
Re:OpenAI's o1-pro now available via API by atxtechbro on Wednesday March 19, 2025 @08:18PM (#43418678)
I actually have a perfect tool called siphon-cli for this. It adds the headers in between files and everything. https://docs.siphon-cli.com/
Re:OpenAI's o1-pro now available via API by diggan on Wednesday March 19, 2025 @08:21PM (#43418701)
Yeah, like a lightweight version of my prompta CLI :)

What I end up with, is one .md file that uses variables like "$SRC", "$TESTS" and "$DOCS" inside of it, that gets replaced when you run `prompta output`, and then there is also a JSON file that defines what those variables actually get replaced with.

Bit off-topic, but curious how your repository ends up having 8023 lines of something for concatenating files, while my own CLI sits on 687 lines (500 of those are Rust) but has a lot more functionality :)

Re:OpenAI's o1-pro now available via API by quartzic on Wednesday March 19, 2025 @09:51PM (#43419210)
Not OP, but practically all of those lines are from a package-lock.json file (6755 lines) and a changelog (541 lines). It looks like the actual source is 179 lines long.