71
linuxxx
3y

'Lets make a security blog, sounds awesome!'

Yeah the idea is awesome, domain name is setup and the server is already running.

Choosing a CMS is proving to be the biggest challenge right now, few hours of searching and still can't find anything that suits my needs 😅

Comments
  • 15
    That's why always go static html pages :3
  • 13
    @gitpush I love that idea but I want some interface for writing blog bosts tbh :/. Might write something myself soon or so haha
  • 33
    @linuxxx why reinvent the wheel? Just use WordPress, and @AlexDeLarge will be most helpful on this :P
  • 10
    @gitpush with jekyll?
  • 5
    @plusgut nope, copy/paste each web page and just change the content of the blog post XD
  • 14
    @gitpush I'd rather stick a running flamethrower up my ass than using wordpress!

    @plusgut I like jeykill only the learning curve doesn't seem to suit my timeframe right now :/ (I just want this thing setup in an hour or so)
  • 7
    @linuxxx wow you are the first person I see that hates wordpress as much as Alex lol
  • 13
    @gitpush I didn't hate it that much before my current job. That cms generates security issues like nothing else, fucks up the most basic stuffs, can completely break functionality when plugins are updated and so on.

    As someone who has to fix some of it's shit from peoples websites, I fucking hate it with a passion.
  • 4
    @linuxxx you remind me of a colleague that always has to fix client fuck ups with new plug-ins :\

    Good luck in dealing with it man
  • 6
    @gitpush It's the one thing I freaking hate about my job :P. I like this Jekyll thingy but I still can't wrap my head around how this works :/
  • 4
    @linuxxx Check this CMS I haven't used it but I hear it is promising
    https://www.couchcms.com/
  • 4
    @AlexDeLarge Can I put that behind an NginX installation? Because from my own experience I'd have to bind node to a specific port.
  • 4
    @AlexDeLarge Thanks for the tip! I have no clue how to do that so will do some searching ;)
  • 5
    I'd recommend that you use Jekyll. Write your websistes in Markdown (you can mix some HTML in there, too) and then Jekyll will autogenerate everything as HTML files. Just upload that to a pure NGINX server and there you go. I use a git instance for synchronisation BTW.
  • 8
    @AlexDeLarge For some reason it never came to my mind that you can bind node to 127.0.0.1. Which means that you can't access it from outside... I feel quite stupid now O.o
  • 6
    @AlexDeLarge Yeah I do server management/monitoring/installation etc and backend programming for about 90 percent of the time indeed.
  • 4
    If you find some static generator with a nice GUI please mention me. Just realised that it would be nice to provide a GUI in the intranet for the stuff which is not accessible from the outside due to security.

    As @AlexDeLarge said I've also setup a ghost blog and it's really neat. With Docker it took me 15 minutes to set it up. Now I can spam instances like 1 per minute (including site specific config) xD
  • 4
    Thanks for all the suggestions, going to look into everything :). For now I'm going to continue working on the privacy website cms api but will get back to this today for sure!
  • 3
    @linuxxx You seem to have found something already, otherwise I came across this one few months ago: https://getgrav.org
    Never had time to delve into it but might be something if everything else fail!
  • 1
    Just use tumblr
  • 4
    @linuxxx take a look at Hugo ( writen in go ) its not as mature as others but its pretty cool, its a static HTML cms.
  • 4
    There's nothing you can't put behind nginx, actually. :)

    Just don't expose the port the service is listening on (and block it for outside traffic) and reverse proxy the hell out of it.

    I prefer sockets wherever applicable, though.
  • 5
    @Jilano @EvilArcher @azous Currently writing a quick thingy myself :). Because why not take a little challange?
  • 1
    @linuxxx Its personal preference. I happen to use Hugo w/ github pages. Quick to setup, i can pick a great default theme, and get started blogging right away.

    Anyway here is a Hacker News discussion on this topic:
    https://news.ycombinator.com/item/...
  • 3
    @linuxxx open source it 😁
  • 3
    @azous Is actually my intention! It's pretty much a very tiny php 'framework' which gets the content from JSON files :)
  • 2
    @linuxxx
    Check out Pelican
  • 1
    @linuxxx That might be fine if you don't want to grow, but I doubt it will scale well.
  • 2
    @linuxxx There was an issue that I had to deal with some time ago, when wordpress updated itself and everything just broke.
  • 2
    @theCalcaholic I'm going to siege it tonight to see how well it holds :)
  • 0
    @linuxxx 👍

    I'm mainly sceptical because your reading from json files instead of using a db. That's nice and simple and has little overhead but a db is able to
    1. hold data in RAM
    2. Cache frequent requests
    3. Has an optimized data structure for finding entries (in contrast to your hard drive)

    which gives it totally different capabilities regarding scalability.
  • 3
    @theCalcaholic Agreed but the amount of files I have to load now due to not using a database (php files I don't have to include) is quite lower than when using a database.

    But I'll see soon enough :)
  • 2
    @linuxxx @theCalcaholic as a json you can hold them on Redis 🤔
  • 0
    @azous That might actually help.
  • 3
    @theCalcaholic @azous just did a siege test on the application I wrote and it can easily handle 1000r/s
  • 1
    When it is done, can you please share the address with us?

    Really love the idea, mate. That blog would probably become my second favorite website, first being devrant.
  • 1
    @ribchinski He would be a dick if he didn't after teasing us for so long. :P

    @linuxxx Nice, in that case: Go ahead!
  • 1
    @theCalcaholic I mean, you never know. From what I've seen so far, @linuxxx is quite a trustworthy person, but I always try to be cautious about things. Hence why I don't like Google and the NSA too much.
  • 2
    @ribchinski Thanks for the enouragement and I am working on it :)
  • 0
  • 3
    @linuxxx cool, how did you test it?

    I'm assuming with a software called siege on another machine, right?

    I used siege , which I prefer over ab but I never know if it really does that much damage as multiple machine with lower overhead
  • 4
    @azous Yeah I used Siege from my dedicated server (1000mbit connection) :)
  • 1
    @linuxxx interesting, I'll give siege a try, I have been using https://loader.io usually for that.
  • 2
    @JoshBent Siege just works from the linux terminal :)
  • 2
    If you can't find one, make one.
  • 1
    @azous @linuxxx any other tool like siege you guys know of? I just learned about it (from you guys) and gonna give it a go thanks guys :)
  • 2
    @gitpush There's an Apache stress tester of which I forgot the name...
  • 0
    @linuxxx oh I'm using Kestrel for now but I'm moving on to NGinx soon, is Siege enough?
  • 3
    @linuxxx @gitpush its called ab ( for apache benchmark ) comes with httpd-tools in fedora
  • 0
    @azous thanks man :)
  • 1
    @gitpush well I mentioned loader.io above but its not local, but has amazing config options.
  • 0
    @JoshBent thanks man, but how trust worthy is it? I usually don't like using online solutions for these cases
  • 0
    How about Typo3? @linuxxx
    It probably won't take only an hour to set up though :/
  • 2
    @gitpush well anything that is third party, including pre-compiled binaries can't be fully trusted.
  • 0
    @JoshBent true can't argue with that, but I am still not a fan of web solutions :\
  • 0
    @gitpush What are you afraid of? The worst thing that could happen is that they lie to you about your servers results - but why would they do that?
  • 0
    I'm just curious. All of you hating on WordPress, have you ever used Drupal??? Just asking...
  • 2
    @theCalcaholic maybe he is afraid of his IP or url leaking before actual production or something?
  • 3
    @linuxxx I know you're already creating your own cms, but I just remembered, hexo actually does have an admin interface: https://github.com/jaredly/...
  • 1
    Craft CMS is pretty sweet. It's php...but it's a good piece of software.
  • 0
    Who needs a CMS when you can make your own? XD.

    I use AnchorCMS if you wanna check it out, it's open source and lightweight and really simple, not bloated and shit like WP and some others and it's free.
Add Comment