Repeat thread for who didn't see it yet and to cut through bot noise.Now you can output basic HTML threads too!Swiss Anon strikes again!There is a real possibility that the internet could go down soon due to war or some AI fuckery... are you ready to browse the archives offline?>there's already more complicated code for it on github or FoolFuuka so you can run it on a serverFair enough, but I want to do it myself from scratch, as an exercise, with the functionalities that I desire and as simple as possible, under ~500 lines of code. If I can do it, you will be able to do it too if there's an internet blackout.The colors aren't final, still experimenting with that.WHAT'S NEW:v. 0.03 Added PART 5a (rendering functions) with:First elaborate HTML output functions like output() producing HTML files that look like what you would see in a real minimalistic imageboard.New _make_link() function to elaborate HTML reply hyperlinks.New getreplylinks(input_OP, l) function to get all the small "Quoted by" reply links like in the real thing. Added PART 5b (main function) with:New rt_html(input_OP, out_to_html, multi) function to get and render a single thread as HTML. Extra / bug fix: Various code optimization here and there, including rewriting parts of read_post() and read_thread().Added some try/except blocks to several functions to prevent exceptions and unwanted stops of the runtime.Removed a bug in the csv splitter since we almost never need a csv header here and it was causing a botched row to be copied in all small parts. I left the code commented in case you want to reactivate it for some reason.PASTEBIN LINK:pastebin.com/aLrgNNZm
Swiss anon delivers again.I would like some of you to test the code and post screenshots of your outputs ITT so I can check if all works properly.Any feedback is appreciated.Pic related is what the currently most advanced version looks like. Not that bad innit?As you can see what (You) can output now starts to look very close to my current version (see pic).
This is a Venn diagram showing the current situation for publicly accessible dumps as far as I know.You can find all of them on the internet archive.
NEWI added a summary to the paste so it's easier to find where which part is etc.
GLOWIES ARE SLEEPINGCOUNTERPSYOP TIME
ty claude
Good thread
>>546731373I coded most of it by myself, only asking the Brave LLM or Venice for suggestions and debugging.Just look at how unoptimized were versions 0.01 and 0.02.pastebin.com/7HBW2naUpastebin.com/Y1SY0Z6z
Also what I'm posting now is still old, unoptimized but functional code.I have 3 newer versions with SQLite (thanks for the idea French Anon) I'm already using myself.COMING SOON, meanwhile try playing with the 0.03 code and give me feedback. It's slow but it should work.
>>546731418Thanks to you man, appreciated.If you can, try running the code and post some screenshots so I see it works for other people too!Also if you're scared of malware have an AI scan the source code, there's nothing bad in it.
The next version (0.04) is already a lot faster since I started using indexed dictionaries instead of simple lists.
Please leave a BUMP so other people can see the code and try some political research DIY.Thank you for your attention to this matter.Swiss Anon - President of Based Department Switzerland.
Opinions on this "sage" like color combo?
Compare with this color palette.Both look quite good to me.
BUMP
>>546731245you post with the frantic urgency of a man who senses his prized creation would be easily superceded by the average retard with access to an LLM and an afternoon to spare.
>>546731245>There is a real possibility that the internet could go down soon due to war or some AI fuckeryin 2 weeks?
>>546735847Nah I genuinely care about this project and I think it can be useful to anons rightfully scandalized by the current conditions of 4chinz and the internet in general.I don't think it's that easy to vibecode this in an afternoon.
>>546735847Also are we really sure there will still be an internet at all 6 months from now?Several indicators point in the opposite direction.Maybe the future is really some hashchan or peer hosted Bitsocial site like 5chan or similar.
>>546731245I still don't understand "load everything in the RAM". Can I search a 20GB /pol/ data dump with only 16GB of RAM?
>>546737473>Can I search a 20GB /pol/ data dump with only 16GB of RAM?In the 0.03 version? No if you don't split the csv.It's easy tho, you can split it in 4 parts and search one after the other easily.From 0.04 with dictionaries and later with SQL code it's possible to query a 100 GB file without overloading the RAM.
>>546737131Schizophrenia at it's finest
>>546737473>load everything in the RAMYeah that is an obsolete idea from october when I didn't know that searching a huge list is a lot less efficient than searching a huge dictionary.It will become better from next version, I plan on cleaning it up and release it to pastebin before christmas.
>>546737596OY VEY
>>546737596Jews aren't going to let antisemitism continue to spread. We're currently in a censorship lull but as anyone older than 30 will tell you that is only temporary and even during this lull we are seeing internet ID, bans, and the disappearance of entire sites like mless.
another day of greatness!
>>546737636Carry on Swiss Anon. Don't listen to the jews trying to dissuade you as if creating a local archive is in any way a bad thing.
GOOD MORNING AMERICAWORKERS AND NEETS ALIKEP.S. I'm NOT Pratty or any other jeet soiling my flag.
>>546737723>>546737725>>546737794Thanks bros, ooh don't worry when I get obsessed on a project I never stop.Indeed the kikes are already creating countermeasures to enslave goys even more.Decentralization is how Europa wins.
Keep going Swiss anon. Bump for respect My only real question is 'why'? Why are the archives useful for offline reference? As a newfag who started using 4chan circa 2008, I only ever used the archives for things like mediafire download link from /mu/ or pdfs from /tg/. What purpose does it serve to have offline versions of long ended /pol/ conversations between glowies, schizos, neets, and shills?
>>546738084>Why are the archives useful for offline reference?1) You can power search through it even if 4plebs goes down or limits your search options (as it's doing right now). Bypass all the bot / shill / glowie noise.2) If the internet goes down, you can browse 2013-2026 archives from a simple HDD and a couple solar panels or a generator.3) There are many good threads not contaminated by glowie activity but limited by their temporal visibility on the main site. With the archives you can see everything any time you want.
>>546731245Dear Sam Altman,You can has no internetz, and all your base are belong to us.Love, Anons.
I added a new PBTID counter visible by default to every post. No need to hover with the mouse.Now it's easy to see who's contributing more, and can be used to rank replies too.
>>546738236Thanks Swissanon, good summary. You're doing good work for the greater good of anons everywhere. Keep going
>>546738523thisGod bless
>>546738523Thanks broOpinion on these color palettes? >>546733881>>546733905
>>546738801Way too bright.
>>546738801Hard to say on the background pallet. You want something that gives a little contrast to the green of any >quotesLooks like lime has a better contrast
>>546738952Yeah that's right I will surely add a couple dark themes.
>>546731245If the world went dark the last thing I would want is more 4chan. I also don't want your keylogger. Fuck you OP. You can trick some retards but not all of us.
>>546739027It's simple source code you can have any AIs scan it for malicious content etc.If you're unable to even do that then it's not for you.
>>546738970Yeah there's a surprisingly small set of color combos that work with background + card + black text + green (or other highlighted color) text.I will keep testing, LLMs aren't too helpful with color combos.
>>546738280We're crashing the ZOG enslavement structures with no survivors.
>>546738084The renaissance of antisemitism started here. /pol/ was outright naming the jew back when everyone else still thought the holocaust was a real extermination.
>>546731245Add a primitive AI model so we can pretend to write with other anons
>>546731245cool
>>546739634that would be cool
>>546739634>>546739678I was thinking about a simulated catalog by time, but no I would like to avoid bots and AIs lol.You can still get Kilcher's GPT-4chan and code a version with it to simulate users in a certain epoch.
>>546739730>simulated catalog by timeThat's a really good idea. Pick a date and see the catalog as it would have been at that time.
>>546739634>>546739678Any LLM would ruin the application. I’d say the remedy is to add a catalog simulation feature, but perhaps this feature ought to include a 1x,2x,4x,8x speed/time setting?
>>546739551I was there anon, i know.
>>546731245fuck the internet
Also let's not forget that it's possible to retrieve ANY thread from the .csv using less than 250 lines of Python code total (350 with comment lines and other non-code stuff), still below the 500 lines mark I wanted.I think nobody has ever written such a short code to render 4chan threads from a csv and search in it.
>>546740246I will deadname the ARPAnet until the end of my days
A dark theme would look like this for example:
...or like this:
>>546731280>archiveofsins (current)Archives: [ h / hc / hm / i / lgbt / r / s / soc / t / u ]
>>546740099> catalog simulation featureLike running a local instance of foolfukka ?
>>546743814>archiveofsinsare dumps publicly available for download?
>>546743888>Like running a local instance of foolfukka ?checkedpossibly even better if I manage to get it to work
>>546743814>>546743923There seems to be something here... until 2017.https://archive.org/search?query=archiveofsins&tab=all
I just found some more desuarchive boards until 2019.Interesting, must check what's inside.archive.org/download/desuarchive_20190309/
>>546744527Oh... it's just disorganized thumbnails.Almost completely useless.
In these ones there's probably more useful stuff.Hopefully it's not just thumbnails once again.
Bump
Alright these ones are 2019 SQL dumps (posts etc.), a lot better.archive.org/download/desuarchive_db_201909
Here there seems to be more SQL stuff until 2023.archive.org/download/archive.alice.al-20230111/archive.alice.al-20230111-sql/
Here also more stuff until 2026 but in JSON format:archive.org/download/archive.palanq.win-20260408
I think this is the oldest big archive (2005-2008).Ten billion posts in SQL format apparently.archive.org/details/archive_ten_billion_patched
0.03 is ~260 lines of code without counting utilities.
pajeet malware dont install
>>546746240There's nothing to install, NIGGER
>>546731245>are you ready to browse the archives offline?No. Why the fuck would I want to do this? You created something no one wants using AI and your unwarranted NEET ego won't let you acknowledge this so you spend hours of your life bumping a thread for something no one wants because of your need to feel important and needed.tldr: kill yourself
>>546746498Does your workday start at 11 AM?Do you have meetings or something before that?
all together now:THANK YOU SWISS ANON!
>>546747824TY FRENBtw, have you managed to run some of the code?I've yet to see any of you people's screenshots.
>>546731245No thanks. I post on an anonymous image board with temporary posts for a reason.
>>546731245No one shall read my cringe posts ever again.
>>546748134I’m reading through your code now and very nicely done with the notes, you’ve spoonfed enough info there that I should be able to try and run the app later today. I’ll be doing so on my extremely low power pentium g5420 laptop, so I’ll find a very small .csv example that I can use this evening for brevity. If not I’ll attempt to use your splitting util 1.
>>546748134>>546748507Linus would shame me for how novice I am with his OS, but I’ll provide screenshots n shit of my attempts later
>>546748507>>546748567Perfect, if you encounter bugs or anything let me know, if it's worth the time I will fix them, but normally everything is already debugged in the 0.04 version with the faster dictionaries.The 0.04 will surely work better on older laptops too.
>>546735847>average retard with access to an LLM and an afternoon to spareCC: Lambright