Live data from Hacker News

Show HN: Vomitorium – all of your project in 1 text file

npmjs.com

1–10 of 56 posts

Re: Show HN: Vomitorium – all of your project in 1 text file

#2
This made me laugh. Thanks!

Can you go 1 more step? Is there a way to not just dump someone's project into a plain text file, but sometime intelligently craft it into a ready to go prompt? I could use that!

Here's my user test: https://www.youtube.com/watch?v=sTPTJ4ladiI

Re: Show HN: Vomitorium – all of your project in 1 text file

#3
post #2

This made me laugh. Thanks! Can you go 1 more step? Is there a way to not just dump someone's project into a plain text file, but sometime intelligently craft it into a ready to go prompt? I could use that! Here's my user test: https://www.youtube.com/watch?v=sTPTJ4ladiI

> Can you go 1 more step? Is there a way to not just dump someone's project into a plain text file, but sometime intelligently craft it into a ready to go prompt? I could use that!

https://aider.chat/

It does this, and smartly, using tree-sitter, for quite a few tree-sitter supported languages.

Re: Show HN: Vomitorium – all of your project in 1 text file

#4
post #3
post #2

This made me laugh. Thanks! Can you go 1 more step? Is there a way to not just dump someone's project into a plain text file, but sometime intelligently craft it into a ready to go prompt? I could use that! Here's my user test: https://www.youtube.com/watch?v=sTPTJ4ladiI

> Can you go 1 more step? Is there a way to not just dump someone's project into a plain text file, but sometime intelligently craft it into a ready to go prompt? I could use that! https://aider.chat/ It does this, and smartly, using tree-sitter, for quite a few tree-sitter supported languages.

Looks very interesting! Thanks for the link!

Re: Show HN: Vomitorium – all of your project in 1 text file

#6
As an alternative to (npm -g)'ing here some potentially useful coreutils one-liners I've been using for a similar purpose:

- Dump all .py files into out.txt (for copy/paste into a LLM)

> find . -name "*.py" -exec cat {} + > out.txt

- Sort all .py files by number of lines

> find . -name '*.py' -exec wc -l {} + | sort -n

Re: Show HN: Vomitorium – all of your project in 1 text file

#7

Love the name :D.

> A vomitorium is a passage situated below or behind a tier of seats in an amphitheatre or a stadium through which large crowds can exit rapidly at the end of an event.

> A commonly held but erroneous notion is that Ancient Romans designated spaces called vomitoria for the purpose of literal vomiting, as part of a binge-and-purge cycle

https://en.wikipedia.org/wiki/Vomitorium

Re: Show HN: Vomitorium – all of your project in 1 text file

#9
Love this. I created (half-jokingly, but only half) the concept of a monofile (inspired by our monorepo) in our team. I have not managed to convince my colleagues to switch yet, but maybe this package can help. Unironically, I find that in larger python projects, combining various related sub 100 loc files into one big sub 1000 loc file can do magic to circular import errors and remove 100s of lines of import statements.
Post reply on HN