Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

4chan Source Code

Name: Anonymous 2007-08-01 6:28 ID:rpojcmHJ

Is there anywhere to download the source code of 4chan/other image boards? I'd like to see it just out of curiosity and to possibly set one up for myself and friends.

Name: Anonymous 2007-08-01 6:32 ID:Heaven

>I'd like to exploit its vulnerabilities and post even more
>worthless spam garbage on 4chan.

Fixed.

Name: Anonymous 2007-08-01 6:34 ID:Heaven

>>2
Roger that. Commencing sage.

Name: Anonymous 2007-08-01 6:47 ID:oAqu6/MY

Try Dag Ågren's kareha or wakaba, at http://wakaba.c3.cx/aaa.pl

You can get the code for Shiichan (that dis.4chan.org is based on) from here, http://wakaba.c3.cx/shii/. You might find something useful on http://shii.org/ too.

Code for Trevorchan can be browsed here, http://code.google.com/p/trevorchan/

Name: Anonymous 2007-08-01 7:03 ID:c406n/S4

Also dis.4chan.org/image is about this topic.

Name: Anonymous 2007-08-01 7:04 ID:pFCmJHvp

>>4
DONT HELP HIM!
Hes going to become an EXPERT SHIICHAN HACKER?1

Name: Anonymous 2007-08-01 7:15 ID:c406n/S4

>>5
Oops, dis.4chan.org/img
Mostly crap like everything else, but some board discussion.

Name: Anonymous 2007-08-01 7:16 ID:4SlUfyJz

>>1

Be careful. I set up an imageboard as an experiment a couple of years back, and within about a week anonymous perverts had stuffed it with several priesthoods worth of CP.

Name: Anonymous 2007-08-01 7:19 ID:lXMH1jot

OP here, thanks guys, I'm honestly not trying to hack any of the chans, I wouldn't the source code to do that.

>>8

That's why I do it over private LAN or password protect it.

Name: Anonymous 2007-08-01 7:20 ID:Heaven

>>8
Awesome! I'm setting up a few boards as we speak!

Name: Anonymous 2007-08-01 8:36 ID:AyWWXVgQ

>>4
Why did you reccommend Trevorchan? We don't need another EXPERT PHP USER on our hands.

Name: Anonymous 2007-08-01 9:04 ID:oAqu6/MY

>>11

I didn't recommend anything. It's just another board for him to examine.

Name: Anonymous 2008-08-23 12:13

fail site meant for the low traffic code bad write own profit

Name: Anonymous 2008-08-23 13:24

>>8
http://img382.imageshack.us/img382/7311/1141935432201ml4.png
Good times (even though it wasn't you)

What this really means, though, is that you, >>1, shouls stick with wakaba.

Name: Anonymous 2008-08-23 13:56

4chan is written in Objective C

Name: Anonymous 2008-08-23 14:05

>>14
Obvious fake, "adress"

You sir, are an idiot

Name: Anonymous 2008-08-23 15:18

>>14
Further explanation required
>>15
Further anus haxing required

Name: Anonymous 2008-08-23 15:50

The imageboards were translated from Futaba's script: http://www.2chan.net/script/ (which is public domain or something of the sorts) and then heavily modified by the 4chan staff. Closest you can get, code-wise, is Futallaby. http://www.1chan.net/futallaby/

If you're looking for an imageboard that isn't shit and is easily modifiable to suit your needs, try Wakaba. http://wakaba.c3.cx/s/web/wakaba_kareha.html

If you want to create your own 4chan clone in 5 simple clicks, with cancerous-inducing features like stickies and Something Awful-imported baggage, try Kusaba (formerly known as Trevorchan). http://code.google.com/p/kusaba/ (actual website is kusaba.org, but Trevor is a retard and let the domain expire)

If you want to be able to post multiple images per post, there's Thorn: http://sovietrussia.org/code/src/thorn-11b9.tar.bz2 . AnonIB is based on this.

If you want FORCED INDENTATION OF CODE to run on Google's App Engine, with Trevor's stamp of quality (in all honesty, he got better), use pyib. http://code.google.com/p/pyib/

sovietrussia.org uses a script called Matsuba. I think I saw a download link somewhere, but I can't find it anymore.

If you're looking for text board software:
dis.4chan.org is based on Shiichan. Shii recognizes it's crap and doesn't recommend using it. http://wakaba.c3.cx/shii/

Kareha is a nice script for text boards, but it can be a bit CPU intensive. http://wakaba.c3.cx/s/web/wakaba_kareha.html

Kusaba can also do text boards.

Wishlist: MrVacBob-sama, please let us use <a href> or something that works like it ([url] tags, for example).

Name: Anonymous 2008-08-23 16:12

>>18
[url] is not part of R5RB.

Name: Anonymous 2008-08-23 16:21

>>18
with Trevor's stamp of quality
I lol'd

Name: Anonymous 2008-08-23 16:34

>>18
Also

http://rechan.eu.org/script/

very simple and conservative

Name: Anonymous 2008-08-23 16:48

kusaba's source is no longer in the svn repo, also the modified shiichan source used here has been posted to this board in another thread

Name: Anonymous 2008-08-23 17:39

there's also this text board script: http://hotaru.thinkindifferent.net/tinybb/tinybb.txt
and if anyone wants it i'll post the source for this thing somewhere: http://waro.su/

Name: Anonymous 2008-08-23 18:21

Hi, I have a Perl imageboard script called Kareha that works without requiring a database; it's perfect for my old server.

You can download Kareha here:
http://wakaba.c3.cx/
and you can download my patch with modifications to make the imageboard at least look more like 4chan here:
http://tweek.no-ip.org/stuff/kareha-4chan.patch

Name: Anonymous 2008-08-23 18:26

>>24
Flat file databases aren't doing your old server any favors.

Name: Anonymous 2008-08-23 18:35

>>25
I didn't want to go through the hassle of setting one up, I just wanted something I could play around with. Posts are extremely infrequent (at most, three a day) so it's not really much of a problem to edit every HTML file directly on every post. Wouldn't scale very well beyond that, however.

A separate SQL-accepting database would either be redundant data for the HTML that's already present (not all that bad, but still a little unnecessary for a quick-and-dirty imageboard) or it'd be accessed, through with a PHP / Perl / whatever script, on every goddamned reload (very bad).

Name: Anonymous 2008-08-23 18:44

>>25
Kareha uses SQLite, if I'm not mistaken.

Name: Anonymous 2008-08-23 18:47

>>27
That's Wakaba, Kareha is basically the same thing without a db.

Name: Anonymous 2008-08-23 18:58

>>28
It also has a numbering system that is used for text boards whilst in image board mode.

Name: Anonymous 2008-08-23 19:33

>>29
Basically it's infeasible to pull off cross-thread links without a database, so yeah, the first post in a thread will always be >>1. Small difference in my opinion when the traffic is so small that cross-listing isn't necessary.

Name: Anonymous 2008-08-23 21:18

>>24
+    <if !$sticky>
I stopped reading there.

Name: Anonymous 2008-08-23 21:39

>>18
sovietrussia.org uses a script called Matsuba. I think I saw a download link somewhere, but I can't find it anymore.
No you didn't.

Name: Anonymous 2008-08-23 21:59

By the way, do all these moonspeak board names have any meaning?  Like is there a theme to them or are they just throwing together syllables?

Name: Anonymous 2008-08-23 22:08

>>33
Futaba = two leaves (i.e. 2chan)
Yotsuba = four leaves (4chan)
Wakaba = new leaves
Kareha = old leaves (I think)
Kusaba = blades of grass
Matsuba = pine needles

Name: Anonymous 2008-08-23 22:23

Kareha = old leaves (I think)
Dead/dried leaves.

Name: Anonymous 2008-08-23 22:59

>>31
Wakaba has a fucking weird templating system, but it works.

Name: Anonymous 2008-08-23 23:18

>>36
Stickies are fucking stupid regardless of what template system you use.

Name: Anonymous 2008-08-23 23:39

>>16
Uh, so much hate.
If you don't know the story about 4chan.us you have no right to call people idiots on 4chan. Know your place.

Name: Anonymous 2008-08-24 9:07

>>38
Idiot.

Name: Anonymous 2008-08-24 16:22

>>39
NO U

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List