[ home / overboard ] [ soy / qa / mtv / dem ] [ int / pol ] [ a / asp / biz / fit / k / r9k / sude / tech / tv / v / x ] [ q / news / chive / rules / pass / bans ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: feraljak yotsuba.png šŸ“„ļøŽ (686.97 KB, 1400x1630) ImgOps

 ā„–4613loop[Last 50 Posts][Quote]

>FUCK SOIJAK POSTERS
Here we talk about the source code leak of 4chan's proprietary software Yotsuba and try to "fix" it in order to make a proper open-source version of 4chan's (sh!tty) software, for example by fixing bugs such as the colored border on GIF thumbnails and making it work on modern, traditional server setups.
<REDDIT SPACE
Get the source code here:
https://files.catbox.moe/d56ws8.7z

 ā„–5061[Quote]

File: ClipboardImage.png šŸ“„ļøŽ (2.03 MB, 2490x1000) ImgOps

>>5059
>shouldn't we get together to an IRC or something to get the code workin?

 ā„–5062[Quote]

>>5049
>makes zero sense
Having the source code for 4chan allows for more accurate and potentially more efficient replication of features you want to copy. It's also good for learning how and how not to do things when making your own imageboard.
>json database
I've always hated NoSQL. All the projects I've seen using it were horrendously slow and have a super bloated data structure that is difficult to scale. I prefer relational SQL databases like Postgres instead. Just using single json files for each thread like you're talking about can be a really bad idea. Every time a new post is made if the write process is interrupted while overwriting the json file, the updated file will be incomplete and unparsable and any posts it wasn't able to finish writing will be lost. Also, the more posts the thread has, the longer it will take to overwrite the thread json file.

 ā„–5064[Quote]

>>5059
i meant a more abstract form of group
i have no idea who is doing what sort of work or how far they've gotten, and i'm as usually (contently) working entirely on my own
if you want to "group up" with others, why not use the exact form of communication we're successfully using right now? (post whatever you have here)
>i will not be first getting the backend working on 5.6, then promptly ripping it apart to get it to 8.2, why wouldn't i just start ripping it apart now?

 ā„–5066[Quote]

>>5064
this. real-time group chats are a waste of time, literally. people will plan and debate the scope of a project instead of just doing their own thing and contributing… like im doing rn.

 ā„–5080[Quote]

i have the login working

 ā„–5095[Quote]

File: Screenshot_20250417_111820.png šŸ“„ļøŽ (287.99 KB, 1918x957) ImgOps

File: Screenshot_20250417_111840.png šŸ“„ļøŽ (298.45 KB, 1920x958) ImgOps

File: Screenshot_20250417_074341.png šŸ“„ļøŽ (297.77 KB, 1920x951) ImgOps

File: Screenshot_20250417_074207.png šŸ“„ļøŽ (264.3 KB, 1920x951) ImgOps

>>5080
kino

 ā„–5099[Quote]

>>5095
>already p spam

 ā„–5116[Quote]

>PHP 5
LMAO I’m not touching that trash. Rust or bust.

 ā„–5129[Quote]

>>5095
Where's this board
also
>already obsessed irl children being raped spammers
damn 4cucks

 ā„–5135[Quote]

>>5095
could you add maybe streaming to it? like streaming movies and tv?
I thought that would be cool one day.

 ā„–5136[Quote]

>>5095
To explain further,
I once had this idea if you combined a streaming site but with 4chan and the player in the thread moved to a side window as you scroll. It could be used to watch things with people in real time. along with a global chat with 4chan.
Is that possible or would it blow up the server?

 ā„–5139[Quote]

File: 4chan.gif šŸ“„ļøŽ (166.63 KB, 680x453) ImgOps

OK but why? 4chan software is garbage compared to basically any other alternative. The only reason 4chan remains 4chan is because of the domain name.

 ā„–5143[Quote]

>>>5049
>alright, so put yourself into one of the groups being formed and we'll see how it goes.
>so far we have:
>1. trying to faithfully recreate the source code with the correct versions (other anons/chuds here)
>2. trying to get it online with a modern distro, modern mysql and PHP versions (me)
>3. "the codebase of 4chan doesn't seem all that value desu" → presumably meaning you want to make it from scratch (or would like people to)
Really I just think that a different tech stack would be overall better.
Go/Java/whatever backed + JS frontend, special noJS edition for schizos.
JS ate PHP's lunch, evolve or die.

 ā„–5144[Quote]

>>4750
>baseless assumptions techbro award

 ā„–5146[Quote]

>>5139
If hiro updates the site at a better or close to the alts level, 4chan will come back stronger.

 ā„–5147[Quote]

>>5143
>>5139
maybe people just want to copy the interface or have hobbyist reasons? don't kill the fun

 ā„–5148[Quote]

>>5143
>switch from tech that works to tech that runs like absolute dogshit

 ā„–5153[Quote]

>>5139
>>5143
what seems odd here is that you are perfectly allowed to think or believe these things and work on it or not work on it
and we are allowed to think or believe other things and work on it or not work on it
but if i tell you at least i am working on it
this upsets you, or you seem to want to correct me in what i'm doing
perhaps i do not give a grape, nay, not even a raisin

 ā„–5155[Quote]

>>5147
>>5148
>>5153
Don't lump me in with >>5139
I don't care if people want to recreate yotsuba in modern PHP.

 ā„–5160[Quote]

File: photo_2022-03-18_10-28-15.jpg šŸ“„ļøŽ (53.07 KB, 640x640) ImgOps

re-writing that old PHP code in nodejs, go, python (worst choice) or something is better then trying to "fix" that raisin

 ā„–5173[Quote]

>>5146
Hiro will never in a million years use 4chan software with outside contributions. We're talking about the guy who couldn't be bothered to apply security updates.
>>5153
There are tons of IB projects needing contributions to advance the state of the art and you autists are dicking around with dead software. It's like "retrocomputing", you're allowed to like it and I'm allowed to call you retarded.

 ā„–5175[Quote]

>>5139
4chan doesn't crash when i open a big thread
sharty crashes when i open a big thread
according to this scientific study verified by snopes, 4chan is BETTER

 ā„–5178[Quote]

>>5175
werks on my machine

 ā„–5179[Quote]


 ā„–5181[Quote]

new 4chan should use distributed tech
ipfs storage
gundb bavkend

 ā„–5186[Quote]

>>5175
trvke

 ā„–5187[Quote]

just my 2c
yeah modern 4chan sucked, esp the moderation, content, etc
but no one ever complained about the actual tech it used

you can build it as solidly as you want
but how tf are we going to get people to come

 ā„–5191[Quote]

>>5187
I ain't gonna lie, this whole venture might only result in spawning an opensource 4chan without the userbase (not actually that fruitless when you think about it).
A lot of the users are already solidifying and regrouping in 8chan. In due time, 4chan will go back online too.

 ā„–5193[Quote]

>>>5187 (You)
Bro not ONE opensource 4chan, more like a dozen with 3 users each.
The thing is I don't want to go back to 4chan either.
Have you seen the leak? It confirms its more or less controlled opposition.

 ā„–5196[Quote]

>>5191
>A lot of the users are already solidifying and regrouping in 8chan
And yet I'm here like a retard (before you ask, no I'm not contributing I just find it all fascinating)

 ā„–5198[Quote]

It needs rewriting from the scratch or to use an in-box imageboard engine (like the sharty), the base is too much raisin no wonder it got hacked. There's literally echo '<html>' in functions in the middle of SQL queries, ever heard of MVC, nigger ?

 ā„–5214[Quote]

>>5198
>rewriting from the scratch
good morning saar

 ā„–5216[Quote]

>all of the code for every april fools is mangled into the main image board code
hahahaha fuck me

 ā„–5217[Quote]

>>5198
literally no need, all we need to do is fix the security vulnerabilities and make it less spaghetti (carefully, to avoid deoptimizing it)

 ā„–5219[Quote]

yes let's rewrite 4chan
let me know once you get it working: hiro@4chan.org

 ā„–5220[Quote]

>>5217
theoretically if i understand what happened, one can just get it online, disable uploading PDFs, and
<walla!
>>5219
i'm going to charge that slant-eyed nigger more than he can afford if he wants me to contribute to his blacked tranny spam nightmare

 ā„–5221[Quote]

File: jannied.mp4 šŸ“„ļøŽ (561.59 KB, 1634x1614) ImgOps

here's my crap guide to make it work with php5.3 under ubuntu: https://0bin.org/paste/akvFgG1L#YxkJ4mQQR-4j9qHFpsmamrH7nC/e+mFIcE6EhonCtj5

included apache2 conf files too, probably still need some other fixes i forgot to add though

replace /etc/php/5.6/apache2/php.ini with /usr/lib/php/5.6/php.ini-development to get it to show error messages, and change short_open_tag=On in there too

 ā„–5225[Quote]

>>5220
there are other bugs in the code like naive sqli

 ā„–5226[Quote]

File: vivaldi_2025-04-17_00-47-5….png šŸ“„ļøŽ (280.45 KB, 1862x1451) ImgOps

>>5221
also forgot to mention, add

function fastcgi_finish_request() {}

near top of imgboard.php too, that's some FPM func for nginx
seems to work fine with apache after that

 ā„–5227[Quote]

>>5221
>>5226
neat, i'll rewrite into nginx if i ever feel like it

 ā„–5229[Quote]

i have gotten it to generate catalog.html, tomorrow i'll try to get it to make the first post (and hopefully make the first release)

 ā„–5250[Quote]

Thank god I'm not the only one who is trying to make the mess that is Yotsuba half decent again.

 ā„–5259[Quote]

File: images(4).jpg šŸ“„ļøŽ (6.4 KB, 275x183) ImgOps

>>4613 (OP)

Would be cool to integrate DeepSeek as a moderator. Fully anonymous with no bias moderation.
Have it detect illegal raisin and ban that IP

 ā„–5260[Quote]

>>4763
Train DeepSeek to replace moderators. A fully autonomous image board

 ā„–5262[Quote]

File: ClipboardImage.png šŸ“„ļøŽ (78.11 KB, 928x342) ImgOps

>>>4763
>Train DeepSeek to replace moderators. A fully autonomous image board
they might've had something similar already, haven't heard anyone mention anything about "tensorchan" before

 ā„–5269[Quote]

>>5262
oh wow, hiromoot was still developing on old code?

 ā„–5276[Quote]

File: 1715959124296f.png šŸ“„ļøŽ (147.78 KB, 1308x988) ImgOps

>>5229
>and hopefully make the first release
Looking forward to it.

 ā„–5298[Quote]

>>5262
Something like that was tried here and it failed miserably and got pulled after 20 minutes

 ā„–5300[Quote]

>>5259
you would see thousands of false positives, just like on reddit. absolute garbage

 ā„–5305[Quote]

>>5298
All you need to moderate are the uploaded images/files.
Were they trying to check posts as well?
>>5300
Isn't it the reason for training the model?

 ā„–5311[Quote]

>>5305
i don't know but i think ai sucks ass at this and it's destroying the normie part of the internet

 ā„–5317[Quote]

>>5314
thanks for the spam retard

 ā„–5321[Quote]

File: ClipboardImage.png šŸ“„ļøŽ (91.46 KB, 730x887) ImgOps

>>5221
got it working in an arch linux vm, godspeed
i think i understand how it's so efficient; it just regenerates static html files of each thread and serves them instead of dynamically generating the html for each request

 ā„–5324[Quote]

>>5321
Furthermore, the static board serving server (boards.) and the main imageboard action API (sys.) are completely separate physical machines connected through a shared NFS mount point, which drastically decreases the load on the database and php scripts used in general

 ā„–5325[Quote]

>>5324
For some boards, instead of rebuilding the threads HTMLs on every new post, a special daemon called rebuildd is used (most likely executed via a crontab job) that checks for dirty (expired) built pages and rebuilds just them (as well as the catalog and such of course)

 ā„–5326[Quote]

>>5262
All tensorchan is, is sending a POST to a REST API on danbo.int (some random digitalocean server, seems public) for a prediction on it being NSFW. Unless there's something obvious I'm missing it is enabled for all SFW boards, so every single image post queries this site, and clearly it doesn't do a very good job.
>>5229
First release should be on git like gitgud.io

 ā„–5327[Quote]

>>5325
They also use Cloudflare CDN caching for static serving and generated pages

 ā„–5331[Quote]

>>5326
danbo.int is a server in their intranet as shown in the hosts file s0i1337 posted on kiwifarms

 ā„–5336[Quote]

>>5331
That's gay because 4chan's ability to somehow stop irl children being raped spam is the only really valuable thing in this raisinheap

 ā„–5339[Quote]

>>5336
well I have bad news then as the tensorboard raisin seems to be off in the leak anyway, I feel like Cloudflare does most of cp spam prevention (they have a system that checks files you serve against NCMEC hashes), as well as 4chan's own file hash blacklist they have in their database

 ā„–5341[Quote]

>>5339
uhh guys.. this code legally doesn't belong to you. so you can stop now.

 ā„–5342[Quote]

>>5341
i meant that to everyone

 ā„–5343[Quote]

>>5341
well ain't that a bitch

 ā„–5345[Quote]

>>5341
your mother legally does belong to me, thoughbeit

 ā„–5346[Quote]

>>5345
that's different

 ā„–5347[Quote]

>>5346
you wouldn't download your mother

 ā„–5351[Quote]

>>5324
>>5321
nice! reverse engineering 4chan to see how it ticks, would there be a way of making those run in separate tasks? hell, even a cross platform (ie run an instance on windows) "port"?

 ā„–5352[Quote]

So what's the deal with the root row in the board table being a timestamp?

 ā„–5353[Quote]

>>5351
why would you ever run some website on fucking windows

 ā„–5356[Quote]

File: FzpAKACWcAAFL6n.jpg šŸ“„ļøŽ (153.72 KB, 1752x1314) ImgOps

>>5351
>windows
fuck off!!!!!!!

 ā„–5360[Quote]

>>4613 (OP)
>twf want to help
>Only proficient in C or C++
I knew I had to learn webdev some days…

 ā„–5361[Quote]

File: yomi.jpg šŸ“„ļøŽ (285.05 KB, 600x800) ImgOps

>>5360
Same, I know PHP but I'm crap at it. Not confident enough I won't do anything stupid to warrant hosting websites of my own for extended periods of time.

 ā„–5365[Quote]

File: image-9.png šŸ“„ļøŽ (86.44 KB, 1600x874) ImgOps

>>5353
Dunno about him, but I planned to backport to PHP 5.2 and IIS 3.P, which can run on winNT 4.0. I already did it for Futaba.

In other news, I got picrel at least. Sadly imgboard.php complains of a nonexistent board when I tried to make a custom one, even though it's already in the db as a table. /g/ spawned fine, although opening a thread results in "Bad Request".

 ā„–5367[Quote]

>>5365
>Sadly imgboard.php complains of a nonexistent board when I tried to make a custom one
Looking briefly an imgboard.php, I see there's a variable like this: valid_boards = "3|aco|adv|an|biz|diy|fa|fit|gd|gif|int|lit|hc|hr|a|b|ck|co|cm|c|d|e|f|g|h|i|k|lgbt|m|n|o|out|p|r|s|t|u|vp|vg|vr|v|w|x|y|wg|ic|cgl|hm|mlp|mu|pol|po|r9k|s4s|sci|soc|tg|tv|toy|trv|jp|sp|wsg|qa|qst|his|trash|news|wsr|vip|bant|vrpg|vmg|vst|vt|vm|pw|xs";

Maybe you need to manually add it there as well?

 ā„–5368[Quote]

File: ClipboardImage.png šŸ“„ļøŽ (64.6 KB, 1798x354) ImgOps

>>5352
I think root is used to store when the post was last bumped so the board can create index pages.
Here's a bit of code from Angeleno's Futaba/Futallaby fork.
https://github.com/RealAngeleno/futaba-eki/blob/master/imgboard.php

 ā„–5372[Quote]

File: dvr.png šŸ“„ļøŽ (62.52 KB, 847x2816) ImgOps

>>5353
ease of use, i know its not the most stable or reliable thing in the world because my hacked-up CCTV dvr runs windows

 ā„–5376[Quote]

>>5367
Not quite, there's another piece of the puzzle: the board needs to have a valid config ini. Go to sys/config/boards, copy an existing config and name it after your custom board, edit the properties, and run the generator again. That's how I managed to create mine.

 ā„–5379[Quote]

>>5376
addendum: I'm still not sure why I can't get the board properties to change from the default "Yotsuba Image Board" or why POSTs return "Bad Request"

 ā„–5422[Quote]

>>5321
so a cache. yeah that's normal and good

 ā„–5440[Quote]

>>5095
Where's that reported posts view from btw? can't find it in the src

 ā„–5448[Quote]

>>5440
try reported_posts.php you absolute faggot

 ā„–5450[Quote]

File: image-10.png šŸ“„ļøŽ (14.49 KB, 637x323) ImgOps

>>5379
Hah, I can post finally! Images upload too, but I gotta fix the embedding of em on the i. subdomain.

"Bad request" was caused by a failed referal check that regxps 4chan and 4channel in imgboard.php. That's fixed now

 ā„–5458[Quote]

>>>5440
that file isnt in the leak doe

 ā„–5466[Quote]

File: image-20.png šŸ“„ļøŽ (214.15 KB, 1595x823) ImgOps

>>5450
Whoops, looks like I set the wrong IP for i. on my DNS. Now that it's fixed, I have fully working posts and replies. Sadly the flyout reply window still returns a connection error.

 ā„–5500[Quote]

So what's the best way going forward?
- 4chan switches to Vichan
- 4chan switches to JSchan
- we clean up and patch holes in OpenYotsuba and give it to Hiro on the condition that it be released under the AGLP+NIGGER license
?

I want the third option to happen. So continue working, codemonkeys.

 ā„–5506[Quote]


 ā„–5512[Quote]

>>5500
4cuck is still going to keep using Yotsuba most likely.

 ā„–5517[Quote]

File: ClipboardImage.png šŸ“„ļøŽ (131.07 KB, 600x797) ImgOps

>>5321
>it just regenerates static html files of each thread and serves them instead of dynamically generating the html for each request
nusoicacas discover the old web

 ā„–5523[Quote]

>>4724
I'm sure the best minds over at the CIA and NSA are hard at work trying ti fix it already

 ā„–5529[Quote]

>>4751
Might not the AI's we're used to, but people have been making some wild chatbots since forums were a thing.

If a brainlet like me with ADHD and brain damage could make runescape bots that could solve random events back in 2006-2012 there almost certainly were savants out there making chatbots on sterroids that functioned similarly to LLM's today.

 ā„–5545[Quote]

>>5529
>Might not the AI's we're used to
People frequently associates "AI" with everything that's slightly automatized since 2021. It's clearly as you say, and those were just bot performing automated tasks.

 ā„–5552[Quote]

>>5545
Even back then some of the more sophisticated runescape bots on the market could react to conversations around them in very basic ways, like greeting people who talk to them, responding accurately when people ask skill levels, etc

 ā„–5570[Quote]

File: vivaldi_2025-04-07_17-52-1….png šŸ“„ļøŽ (245.03 KB, 593x526) ImgOps

Yotsuba Image Board can be fixed by inserting to boardlist table

 ā„–5577[Quote]

File: friend simulator 2025.mp4 šŸ“„ļøŽ (476.53 KB, 1862x1850) ImgOps

>>5466
>Sadly the flyout reply window still returns a connection error.
gotta add CORS headers and edit the js to use http instead of https (or host it with a ssl cert I guess)
the ubuntu guide includes the headers you need

 ā„–5587[Quote]

>>4613 (OP)

is the db in that tz file?

 ā„–5602[Quote]

File: fixed schema.txt šŸ“„ļøŽ (31.48 KB)

>>5587
no, hackerman didn't post the db at all for some reason, not even schema for it (wonder if he just never bothered to make a full dump while he had access)
there's an AI generated schema above but it's broken in a few places, here's updated ver with some fixes

 ā„–5605[Quote]

>>5602
>(wonder if he just never bothered to make a full dump while he had access)
probably big enough to be a hassle to exfil

 ā„–5622[Quote]

it would be nice if hackerman posted a canon db schema so we can stop guessing

 ā„–5627[Quote]

updates:
you can post now, but it's extremely glitchy and will need further work. all the fields are getting overwritten with "OpenYotsuba", which will have to be fixed
i have reenabled the delete thing in admin.php, it was commented out likely due to it being replaced with javascript. having non-javascript admin tools LE GOOD

 ā„–5628[Quote]

isn't actually self hosting this code illegal because of muh copyright?



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / mtv / dem ] [ int / pol ] [ a / asp / biz / fit / k / r9k / sude / tech / tv / v / x ] [ q / news / chive / rules / pass / bans ] [ wiki / booru / irc ]