Skip to content

Y'all thought the dead internet theory wasn't real, but HERE IT IS

Notifications You must be signed in to change notification settings

git-jonathankinney/Dead-Internet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dead-Internet

So we all know the classic Dead Internet Theory, and if you're reading this I assume you at least know what an LLM is. Need I say much more? Yeah of course!

This is a little project I threw together in a couple hours that lets you surf a completely fake web! You run a search query in the only non-generated page / and it generates a search results page with fake links that lead to fake websites that lead to more fake websites! It's not perfect, not by a long shot, but it works well enough for me to spend like an hour just going through it and laughing at what it makes.

If you encounter any issues with the search results page, reload and it'll generate a new page. If you get any issues with the other generated pages then try make slight adjustments to the URL to get a different page, right now there isn't yet a way to regenerate a page.

Also when you navigate to the /_export path or kill the server, the JSON of your current internet will be saved to the file internet.json in the root of the project. Right now you can't load it back yet but maybe I'll add that in the future if I want, or you could fork it and add it yourself the code isn't very complicated at all.

How do I run this???

Simple, first install Ollama here, then pull your model of choice. The one I used is Llama 3 8B Instruct which works really well and is very impressive for an 8B model. If you don't want to use Ollama you can use any other OpenAI-compatible server by modifying the client declaration in ReaperEngine.py to link to your server, I recommend llama.cpp's server example for something lightweight, or text-generation-webui for a fully featured LLM web interface.

Due to popular demand and it not being 12am anymore I finally added a requirements.txt file! Now instead of manually installing dependencies you can just run pip install -r requirements.txt in the root of the project and it'll install them all for you!

(If you want to manually install dependenies, follow these instructions) Next you'll need to install Python if you don't already have it, I run Python 3.10.12 (came with my Linux Mint install), then the libraries you'll need are:

Once those are installed, simply run the main.py file and navigate to http://127.0.0.1:5000 or whatever URL Flask gives you and have fun!

Inspiration

I'll admit it, I'm not the most creative person. I got this idea from this reddit comment on r/localllama, so thank you very much commenter!

About

Y'all thought the dead internet theory wasn't real, but HERE IT IS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%