[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/g/ - Technology

Make /g/ Great Again
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: b0345193d7b0cfb⋯.png (73.55 KB,1280x720,16:9,123135442534532412.png)

 No.10059

I want to make my own imageboard but I'd like some advice. I've looked at many imageboards on github that use php, ruby. perl, nodejs, go and I'm not sure what language I should use. My main focus will be on security over features and no JS required (optional).

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10074

I heard good stuff about lainchans code

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10075

>>10059

>My main focus will be on security over features

Avoid php and javascript like the plague then.

And perl code can very easily become messy if you're not experienced.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10084

File: 378db7c56ab628e⋯.png (767.19 KB,911x738,911:738,07441115101322195074154119.png)

>>10075

basically just give up

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10085

Python seems appropriate and easy. Django and Flask are two web frameworks for Python that I am aware of.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10089

>>10084

No, picking python or ruby is fine if you already know them.

Just avoid the shit languages out there and you'll be fine.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10244

>>10084

you can still use brainfuck

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10246

Python is slow as shit and doesn't scale

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10265

File: 5c5e1003d50e451⋯.png (213.35 KB,1295x677,1295:677,clusterfuck.png)

>>10074

It's a clusterfuck. Here's the source code in case you want a migraine. https://github.com/lainchan/lainchan

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10315

Dice rollRolled 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2 + 7 = 26 (13d3)

>>10059

grab Meguca or Lynx Chan source. as for which language, i would just use Perl or Ruby.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10320

I suggest Kareha. Perl. Very simple, no database required. Very fast and lightweight.

https://wakaba.c3.cx/releases/Kareha/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10321

Holy shit! I was just about to create a thread asking the same thing. How long do you think it will take to clone 8chan?

I want to do it too just to see how hard it is.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10328

>>10246

>doesn't scale

It won't have to scale because it will be as dead as all the others.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.10336

>>10059

>>10084

STFU, learn to use Python + Flask + SQL and you will be set

https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world

>>10320

> Perl

Not a good idea if you want to make it 8cahn-like (user created boards)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.11242

File: 57d375a0ffd3753⋯.gif (284.19 KB,498x392,249:196,external-content.duckduckg….gif)

>>10265

The actual code is fine. Do you even know what you took a screenshot of? DO YOU EVEN KNOW HOW PHP SERVING WORKS?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.11250

>>10059

Everyone has his favorite language but in the end it doesn't really matter which language you use as long as you write good code with it. If you use something that compiles to binaries it'll be faster but who really cares about that in a web environment?

Also concerning existing projects, I think nobody mentioned jschan yet:

https://github.com/fatchan/jschan

>>10265

>>10074

Isn't that from the tinyboard family too?

>>10315

Lynx has its own problems, I'd be glad to see an alternative. Meguca is really cool but the whole liveposting/having to live with javascript thing is not for everyone. The problem with this one is that lat wrote it to be just exactly what he wants his own site to be like with no though whatsoever put into making it customizable without changing the naked code. On the flipside the code is pretty tidy and easy to get into, so that changing it is not that much of a problem in the first place.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.11256

>>10336

>grinberg

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.11258

>>10321

from scratch it would probably take a few months. it's not that hard, it just takes a lot of time.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.11259

>>11258

>few months

Like most things it depends entirely on your skillset. Have you ever done a website before? Have you used databases? Have you done any kind of networking or used relevant tools like node.js? Do you know how various web technologies (POST/GET, http headers, cookies, forms/file uploads) work? How experienced are you with html/css/js? Have you used tools like imagemagick or ffmpeg? Do you have any kind of real programming experience or does your knowledge end at writing 50 line scripts and larping about Lisp in /tech/?

You can make an imageboard in a weekend if you know what you're doing and don't require any special features. But then you'll be ruined by the first epic script kiddy who finds your site and thinks he's doing the world a service by ruining any and all imageboards with spam scripts because he's a failure who couldn't create anything actually worthwhile, and then you'll have to start building captcha and anti-bot/spam measures whose nuances are nearly impossible to learn about in any other way than trying yourself.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]