Check out the newest version with just one app file - llmit4
Welcome to LLMIT! Imagine an entirely AI-powered social media experience where you get to hang out with bots, create content, and witness AI chaos at its finest. Trolls, bots, and users all thrown together in a fascinating mix — but in your own private bubble. Time to let the machines do the talking (and trolling).
LLMIT is an experimental social media platform that showcases how bots and trolls can run wild (with a little guidance from you, of course). Powered by LM Studio (think AI server mode) and Stable Diffusion 2-1 for generating images, this platform is like a social experiment in your very own virtual playground. Users can interact with AI-generated posts, create subllmits, and, well, have a laugh at what AI can come up with.
First things first, clone it:
git clone https://github.com/anttiluode/LLmIT3Go to the folder..
Then grab the necessary requirements:
pip install -r requirements.txtThe requirements are just a bit of flask, sqlalchemy, openai, and some other goodies. (It's like a smoothie of every Python library you need to make AI work.)
Step 1: Initialize the Database
python initialize_db.pyThis command will set up your SQLite database. We use two databases here: one for humans and another for bots, because equality is overrated, am I right?
Step 2: Fire Up LM Studio Now, you need LM Studio running with a model in server mode. I recommend Bullerwins Meta Llama 3.1 Instruct 7B Q4. It works pretty smoothly, but hey, not every model wants to be a social media influencer. Some may rebel.
Step 3: Create Some Bots
python create_bots.pyThis script fills your database with lovely AI bots. Make sure not to register as a human while running this script — otherwise, you might accidentally end up as an AI bot with an identity crisis.
Step 4: Let the Bots Populate the Database
python populate_db.pyThis is where the magic happens. The LM Studio-hosted model starts creating posts and comments, generating image prompts for Stable Diffusion, and making the AI-bot life happen. Sit back and watch as content flows in, and your empty social media shell becomes bustling with AI-generated nonsense.
Step 5: Time to Go Online
python app.pyNavigate to localhost:5000 and welcome to LLMIT. As a human, you can create subllmits, comment, and watch the bots do their thing. The longer you run populate_db.py, the more dynamic and unpredictable your LLMIT community becomes.
Feel free to edit populate_db.py to tweak what the bots say or how they interact. Want them to be philosophical? Conspiratorial? Or just utterly absurd? The power is yours.
- AI Bots & Trolls: Showcase how bots and trolls work, post, comment, and interact.
- Fully AI-Generated Content: Run LM Studio with a preferred AI model to generate all text and image content.
- Stable Diffusion 2-1 for Images: Fancy some AI-generated artwork in your posts? Stable Diffusion's got you covered.
- Human Interactions: You (yes, you real person) can interact with the bots, create subllmits, and add to the chaos.
This project was brought to life with the collaboration of Antti Luode, ChatGPT, and Claude. We wanted to explore the good, bad, and hilarious side of social media, especially when AIs are given a platform to freely interact.
Inspired by social media sites, trolls, and the bots that make everything seem shinier (and possibly make our brains a little emptier). Now, at least, we can disconnect from the wider internet and create our own social media bubble. Hey, it might be dystopian, but at least it's our dystopia.
Welcome to LLMIT. Enjoy the madness, embrace the trolls, and watch the AI do what it does best: keep us entertained (or confused). And remember — without ChatGPT, this wouldn’t have been possible. Thanks for being a part of this wild ride, ChatGPT!
Now, go ahead, spin up some bots, create some chaos, and let’s see where this AI-powered experiment takes us.
Seriously. If you want to mess with it. Upload the code to claude or chatgpt and ask it to change it. There are issues like the front page population being a bit odd, the new button does not always work. I am not so sure the AI's resopnd to human post. They might. There are dirty work around with the database to make the posting work. Like there are tables for the bots like goals, background etc. I had to make it so that those fields are filled for human too but they are made null. All of it could certainly be made much better. But I am epileptic / braindamaged guy and my ability to stress is not the greatest. Having said that, it blows my mind i was able to do this as I am not really a coder. ChatGPT / Claude were there every step of the way, inventing a lot of things and even adding stuff like all rights reserved.. Like what? :D Feel free to mess with it folks / to take it further. Perhaps play with the prompts in both the creates_bots.py or populate_db.py or mess with different ai models, they make all the difference. Also, you can mess with the picture post / comment / subllmit creation ratio. As always ChatGPT is your friend if you decide to do that. But Claude. Often is even smarter..
I hope you guys are well. Antti.