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

Pages: 1-4041-

Implementing an imageboard

Name: Anonymous 2012-12-04 14:58

I'm close to finishing my imageboard implementation. It has all the features of 4chan except for /f/ and /rs/ and so I have a few questions:

1. How is /rs/ implemented? Does the site scan the links posted in each board? Unlike /f/, /rs/ doesn't have an upload form.
2. How do the implement capcodes (what is their input syntax) and how are site moderation and administration performed? Where do they login? Do they have username and passwords? What's the admin/mod panels look like? Can moderations be done in-site and not only through a dedicated admin panel?

The board has everything except images stored in memory so it should be fast. If there's enough interest I might be able to open source it once it's done.

inb4 back to Le ima/g/eboards.

Name: Anonymous 2012-12-04 14:59

post it now.

Name: Anonymous 2012-12-04 15:19

>>2
I will once it's finished. Any ideas on my questions?

Name: Anonymous 2012-12-04 15:21

I'm close to finishing
how are site moderation and administration performed
you haven't even started

Name: Anonymous 2012-12-04 15:26

How do the implement capcodes (what is their input syntax)
I can't be bothered to check, but I think they're entered into the email field and just checked in the same step as ``sage'' and so on. if $email == "#pubies" { make_stuff_red(); }.
how are site moderation and administration performed
Use flat files and delete them when you want to delete a post. Your image board will never be popular enough to need anything more advanced.

Name: Anonymous 2012-12-04 15:27

1. There is no /rs/ anymore.
2. What do you mean capcodes? Site moderation either uses a different set of pages or an actual software to make changes on the db.
Of course they will have some form of authentication, or else as soon as someone discovered what they were using shit would hit the fan.
A panel looks whatever you want it to look like.
Moderation can be done any way as well.

No one wants to upload images to other site just to post here.
There is no interest in the license or code availability of your pet project.


You can post it here though

Name: Anonymous 2012-12-04 15:37

>>4
I was asking as a comparison. I have already implemented them.

>>6
1. What do you mean there's no more /rs/? It's still there!
2. Look on 4chan's FAQ on capcodes

No one wants to upload images to other site just to post here.
I don't understand what you're saying.

All I'm offering is to open source the imageboard once it's done.

Name: Anonymous 2012-12-04 15:41

Just wondering, what is it written in?

Name: Anonymous 2012-12-04 15:45

>>8
python + redis

Name: Anonymous 2012-12-04 15:49

Well at least it isn't C#/Java.

Good job OP, solid, thick, tight, keep us posted of your progress

Name: Anonymous 2012-12-04 15:52

>>10
Will do but I'm still interested to hear more answers to my questions.

Name: Anonymous 2012-12-04 15:58

Will it ever get used?

1. Probably. Just like autolinking, just a bit more stuff happens.
2. I don't know and however they are elsewhere. They have a login page. Yes, otherwise there would be no use for the login page. It is a panel full of the controls you would expect on an admin/mod panel. Yes.

Your problem seems to be "I want to reimplement this admin balls to the letter". Just do what makes sense.

Name: Anonymous 2012-12-04 19:14

Don't do in-band site management. Writing an admin panel is a lot of effort (much more than the rest of the code altogether), won't ever be as powerful as you need it to be, and just creates a completely unnecessary attack vector. Just write some scripts you can run serverside and do your adminstration over SSH.

Name: Anonymous 2012-12-04 19:35

If it's not written in Lisp I don't give a shit.

Now back to the imageboards.

Name: Anonymous 2012-12-04 19:47

>>14
WOW
THAT WAS
TOTALLY EGIN

Name: Anonymous 2012-12-04 20:03

Well, /frog/. You were invaded again. I'll leave once again and come back in 6 months, when things are calm again.

I'll miss you but I promise I'll read HTDP while I'm gone.

Name: Anonymous 2012-12-04 20:08

HTDP
LEEELLLLLL NOOB

Name: Anonymous 2012-12-04 20:09

>>16
It's always in a state of degradation.

Name: Anonymous 2012-12-04 21:52

>>18
Why do people post worthless shit so much here? I swear it's more frustrating than /b/ sometimes.

Name: Anonymous 2012-12-04 22:11

Perhaps we can harness this power...
Infinite Degradation Algorithm
FrozenVoid can write the paper.

Name: Anonymous 2012-12-04 22:13

yet another useless imageboard engine, now in python.. there is a plenty of them written in php, perl etc etc

Name: Anonymous 2012-12-04 22:19

>>12
Will it ever get used?
Most likely yes, I'm thinking of setting up an imageboard specific to my country..

>>13
Isn't the best admin/mod workflow is to have the same interface as regular users but sparkle bits of admin controls here and there? Currently I have a separate admin panel that's going to be in a separate subdomain altogether, but I'm planning on adding in-site admin/mod controls.

Just write some scripts you can run serverside and do your adminstration over SSH.
Although this would probably be the most secure option, administration and moderation would be tedious as I would have to, e.g, go back and forth just to check if a reported image is really against the rules etc.

Name: Anonymous 2012-12-04 22:34

>>22
Wait... your country doesn't have a few 4chan copycats? Where do you live?


Also, the SSH administration is better for at least a small number of moderators, gets shit done much quicker, that problem with images is easily avoidable. My guess is you're not that comfortable with other languages so you might as well stick to what you know for now.

Name: Anonymous 2012-12-04 22:44

>>23
My guess is you're not that comfortable with other languages so you might as well stick to what you know for now.
What do you mean by this statement? I know C, PHP, Python, Lisp and OCaml but how is my comfort with other languages has any relevance to whether or not to do SSH administration? Should I implement it in a language other than Python?

Name: Anonymous 2012-12-04 22:46

well, i remember a bit how moderation works in wakaba, it has an admin panel (poorly made) and when you login on a special admin page you have the access to the panel and additional buttons over every post which let you delete/ban etc

afaik yotsuba source code isn't available but you can install another board engine and check how it works. also most popular engines are kind of old, there are some new ones with plenty of fetures but personally i like wakaba and kusaba more. and then, those new engines usually are either poorly documented (and not in english) or aren't open source because they are mostly written for one site only. other people use heavy modified wakaba/kusaba

Name: Anonymous 2012-12-04 23:38

Ideal imageboard
- completely written in C with FastCGI
- under 1 MB
- full BBCode support
- ability to upload any file ``type''
- totally Javascript-free
- no ``HTML5'', Flash®, Silverlight®, Java Applet ``Beans''®, Ajax, etc.
- encryption by default
- zero CSS-styling (let the users set their own)
- UTF-8
- licensed under the Affero GPL
- no non-free dependencies
- administered with flat config files; a gooey may be written with FIOC
- no databases; just directly modify the HTML files
- no ability to ban users (moderation ∝ spam⁻¹∙freedom of speech)
- non-Google free (as in freedom) captcha enabled by default
- permanent archival of text; use something like Sphinx for indexing
- absolutely no IP logs can be kept, not even an option
- fast-loading \{Latex} support by server-side conversion to svg; then <embed> the svg cleanly

Name: Anonymous 2012-12-04 23:42

>>26
I was writing a C/FastCGI image board. Some Japanese guy wrote one but he never finished it.

Unfortunately, string handling in C is a huge fucking pain so I gave up.

It was also ASCII-only (sorry) and MIT-licensed (sorry). I'll upload it if anyone is interested.

Name: Anonymous 2012-12-04 23:48

you would need a web hosting which runs c :3

Name: Anonymous 2012-12-04 23:48

>>27
C++ is fine too.

Name: Anonymous 2012-12-04 23:50

>>28
Pretty sure all reputable hosts support FastCGI. Even the free ones offer basic CGI.

Name: Anonymous 2012-12-04 23:55

>>30
Surprisingly, this is something they like to scrimp on.
``FastCGI? No, that's an advanced feature for Platinum accounts and above! Same with other artificial limit remov^W^W^W features like SSH and more than one MySQL database!''

Name: Anonymous 2012-12-04 23:58

>>26
MewBB much?

Regardless, a BBS protocol might be better. And no BBcode,  \{Latex}, <html>. Only Asciidoc or Creole. And FreeBSD, MIT, CC0 licenses. Shit stuff as copyright is an abobination. Endorsement is better. I like the creator endorsement idea:
http://questioncopyright.org/creator_endorsed

Name: Anonymous 2012-12-05 1:01

>>26
Point me to a C(89|99) string library that's fast and can handle UTF-8 reliably?

Name: Anonymous 2012-12-05 1:57

Name: Anonymous 2012-12-05 2:06

>>34
Fixed size integers are for dingbats.

Name: Anonymous 2012-12-05 2:12

>>27
I'll upload it if anyone is interested.
I'm interested :3

Name: Anonymous 2012-12-05 2:15

>>32
Regardless, a BBS protocol might be better.
I'm curious with this. What is the purpose of having a protocol? How do you envision it would work?

Name: Anonymous 2012-12-05 2:19

>>35
Moron, use Macros and Defines. Like this:

#define IRONY_MARK 11822

int interbang = 8253

Name: Anonymous 2012-12-05 3:40

inline static const interbang new int(static_cast<int>(8253));

Name: sleepy 2012-12-05 4:12

>>37
Well, I mostly meant menu instead of CL based, although both can be used. But for the protocol part, it would be to encrypted the connection, than using telnet, and extend upload/download of file types with atomic or partial continuation (checksums everywhere!).

The more I think it about it, it is an interactive gopher. Of course, SSH would always be used to extend it further.

While typing, I was enlightened. vi like menu. :wq

Name: Anonymous 2012-12-05 5:14

>>39
inline static const interbang new int(static_cast<int>(8253));
c++ makes me want to kill myself

Name: Anonymous 2012-12-05 6:30

>>37
It seems an interesting idea. With a BBS protocol there could be multiple front-end sites and programs for the same board and you could visit different boards on different servers from within the same website or client program.

Name: Anonymous 2012-12-05 6:37

>>42
now you are talking about USENET.

Name: Anonymous 2012-12-05 6:39

>>43
that's not even USENET.

Name: Anonymous 2012-12-05 7:21

>>44
It seems an interesting idea. With USENET there could be multiple front-end implementations and mirrors for the same newsgroup and you could visit different newsgroups on different Nodes from within the same Node or client program.

Name: Anonymous 2012-12-05 8:17

>>45
OK, now that you put it that way I guess you're right

Name: Anonymous 2012-12-05 9:39

A new protocol. With /prog/ behind it, it will surely get somewhere. Will it be FrozenVoid, tdavis or Mentifex that will start the draft RFC for the IETF and notify IANA of the port number?

Name: Anonymous 2012-12-05 9:52

>>14
But Python IS a Lisp.

Name: Anonymous 2012-12-05 10:10

>>47
Off topic but how do you get a spec to be an IETF RFC?

Name: Anonymous 2012-12-05 10:35

Only the jews know.>>49

Name: Anonymous 2012-12-05 12:13

Will the /prog/BBS Protocol support sexpcode?

Name: Anonymous 2012-12-05 12:35

>>51
It better fuckin' had!

Name: Anonymous 2012-12-05 17:12

>>47
Can't even wiki yourself this answer... or you wanted someone else to bring it, and be trolled for the labour?:
http://www.rfc-editor.org/RFCeditor.html

Enjoy yourselves. I am not gonna just yet. Need to get myself certified, and moved out of Americunt. Shit is about to get started here.

Also, this is done every year:
http://en.wikipedia.org/wiki/April_Fools'_Day_RFC

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