wholeScreenshotIn591x657Resolution
Sorry, couldn't find a better way to shoot the screen.
A gun should be pretty effective
that's what I thought, but I didn't have one handy
Can you not just vibe code that?
it's really not that bad, I've seen worse.
He's not trying to give you all the screen details, just the overall vibe.
Proof? Lemme see you eyeballing it perfectly
I downloaded the image and saw the height and width (in pixels!)
Proof: https://imgur.com/a/DHQAked
I was so expecting a rickroll
xAI has your entire codebase. Hope you have patents and a good lawyer to protect your IP...
Here’s a question though… assuming the original code was written by AI, do you even own it to begin with?
Depends on the ToS but generally yes. Morally is a separate question, but legally you own it.
Fym it's the new stack over flow copy here copy there it's all my code
Not sure I know what fym stands for but the rest of the sentiment seems to match what I said.
Stands for "fuck you mean?" [about morally]
Gotcha, thank you for the answer!
Morally it's the same as stack overflows.
Pretty sure the answer is no to owning anything on the Internet that AI touches since the courts rules AI can scrape anything without legal ramifications
Don't start this argument, man...
I was looking at cursor today and it claims you own the code
my ip is 127.0.0.1 and it's already been leaked many times so checkmate, nerds 😎
We all know that the one thing these companies really care about are your rights under copyright law.
Do we actually think this matters here?
The tech companies that have code work parenting are less than .1%
Why would anyone care about your code base?
Since they plan to train Grok off the code dumped in I am kinda tempted to just dump garbage code in from a different LLM and tell it it's google source code or some nonsense just to screw with the algorithm.
Fuck yes, been waiting for AI poisoning wars to arrive :D
Write a program that vibe codes 100 projects per minute and submits them to Grok for optimization.
I love this idea
uint_8 count;
for x in range(count):
System.out.println(x);
Ever since GPT 3 they have had quality screening models to make sure the input data isn’t terrible
i'm sure that's as accurate as everything else llms do
Doing God's work!
Even funnier would to just create a feedback loop where you ask it to make the stupidest output then keep feeding that back in a different session and an input
Surely this is a joke or only inteded for really small projects.
How would it even work for actual projects. Do I first need to consolidate the entire codebase in a single text file...? That itself is a huge endeavour.
Could probably write a script to cat
all the files.
Getting whatever non-compiling trash the AI spits out back into your codebase is another matter...
Yeah and there’s absolutely no way the AI doesn’t get “confused” and start producing trash code once it has to deal with all the dependencies.
When I was using chatgpt a lot for webdev it constantly incorrectly messing up the import statements
That would technically work, but then you're already providing grok from the get go with code that doesn't compile. lol
Gitingest does this for you, creates a nice MD file with directory tree structures, separation of files and works with a single command, try replacing any github repository url with gitingest, it works really well if you wanna dump entire sdks for context, i use it a lot
I'm relatively sure you can just upload multiple.txt files
lol my first thought too 🤣
Asking model to create consolidation script is 99.9% certain to work. Could even ask it to do reverse script as well just to be sure entire pipeline works both ways.
And those scripts are generally very small.
gitingest!!!
I know it's a joke but i actually wrote a rust crate to copy a codebase to clipboard specifically for this use case. If you want to check it out, you can find it here: https://crates.io/crates/repoyank
I haven't tried for huge codebases, but for anything up to 30k tokens, Gemini 2.5 pro "understands" the filestructure and internal dependencies.
Wait, I didn't get the joke because this is how I use Claude and other services. How else are you supposed to feed it the right context and know that it knows everything you want it to know? If the codebase is too big, I just include as much as I can for context while using a token counter to make sure the text file isn't getting excessively large. I've even got python scripts for packing up parts of the codebase into a single txt file with headers separating the files.
Now I feel like there's a better way that I've been missing...
Do you get good results like that? Is it really faster than solving the problem yourself?
How about asking a colleague for help?
Yep, I get great results like that, and for certain things yes, it's way faster than writing it myself. If I know the problem I need to solve and need to bounce ideas, then get the solution written the way I want, but without needing to write everything by hand, it's super handy. And by giving it the context of parts of the codebase that it needs, then it knows how it all fits together and can come up with things that neither me or my colleagues had thought of.
I know there are tools that can put your codebase in a vectordb and do RAG, but I like to control what context I send because I know the important parts of the code that it needs to solve a particular problem or just write a particular function for me if I'm being lazy.
That's why I shove stuff into one big text file, easiest way to feed it in.
I went from manual copy paste in ChatGPT to Cursor and it changed my (work) life
all_code.txt
Did it work tho? Gemini is able to handle this with the 1M token limit
I dont think so. I just ran a quick script that turns your codebase into a single txt file (respecting .gitignore) on a project. The number of lines is 136,201. The number of characters is 3,679,767 (this includes the path/name of each file before the file contents). THe average length of a token is 4 characters according to google (source) That leaves us with very little wiggle room for interacting in a meaninful way.
I'm able to do it at work for repos under 10k LOC easily
AMAZING! I'll start copy and pasting in all my files now!
For those wondering, "How would I combine the entire project into one file?" https://repomix.com/
Plottwist: contains 400k GitHub links
Vibe coding or N@zi coding?
Violent antisemitism is one of the vibes needed for vibe coding with Grok
Why are people so stupid?
Please don’t steal my code
just manually copy your project into a single text file first, lol
I know it's a joke but i actually wrote a rust crate to copy a codebase to clipboard specifically for this use case. If you want to check it out, you can find it here: https://crates.io/crates/repoyank
I haven't tried for huge codebases, but for anything up to 30k tokens, Gemini 2.5 pro "understands" the filestructure and internal dependencies.
Holy shit this is suicide fuel
There is 'vibe' coders and then there is what ever the hell this is.
People are so dumb and so ignorant nowadays
Codebase in one txt file is crazy
"But please pretend it's in different files because I'll have to separate it back up when I'm done."
There. That should work.
I do stuff like this all the time (probably not at this scale)
Putting your files in markdown code blocks with the name of the file works really well
Time time you spend in merging and separating these files can be utilised in learning how to code in the first place.
Hooo boy lemme tell ya you can concatenate files to a text like this ez pz, especially if you have learned to code
Although for a large project you'll probably overflow the single message limit, but if you're dealing with a specific problem, implicating maybe 2-4 files it's a pretty good use case
I also really like to do
python -m nbconvert ... --to markdown
so I can shove notebooks (data, Euler problems, math textbook notes/problems) into the AI to talk about themBefore I used cursor I made an extension that concatenated everything and added it to the clipboard so I could just paste it directly in claude or whatnot
I have a 'small' Flutter app. I have 16 model class files, 9 navigation class files, 3 parser class files, and a handful of utility class files. It's probably 15,000 lines.
Your solution is not tenable :-p
Good luck soldier
https://github.com/mufeedvh/code2prompt This will help you
At first I didn't see your code block backticks and read that as your code being in all H1 headers