find /path/to/directory -type f -exec cat {} + > output.txt
Show HN: Vomitorium – all of your project in 1 text file
51–56 of 56 posts
Re: Show HN: Vomitorium – all of your project in 1 text file
#52We use a C compiler for embedded systems that doesn't support link time optimizations (unless you pay for the pro version, that is). I have been thinking about some tool like this that merges all C source files for compilation.
Re: Show HN: Vomitorium – all of your project in 1 text file
#53I've been dreaming of a tool which resembles this, at least in spirit. I want to figure out how to structure a codebase such that a failing test can spit out a CID for that failure such that it can be remotely recreated (you'd have to be running ipfs so that the remote party can pull the content from you, or maybe you push it to some kind of hub before you share it). It would be the files relevant to that failure--bo…
Hmm, you could probably make a proof of concept on a weekend specifically in the typescript/JavaScript ecosystem, as it's already heavily reliant on bundlers. The process could be 1. defining a new/temporary bundler entry point 2. copying the failing code into the file 3. Bundle without minification It'd probably be best to reduce scope by limiting it to a specific testing framework and make it via an extension, i.e.…
Whether to use nodejs or python or rust (and which version thereof) will be as much a part of the bundled function as its code. I figure I'll wrap nix so it can replicate the environments, then I'll just have to do the runtime stuff.