Sam says you should read this
This blog was created with the BlogFile software, written by Samuel Levy.

You can find Sam on Google + and LinkedIn.
 

Welcome to BlogFile

Well after about a week or so of messing around, I have my first working version of BlogFile up. And you're looking at it. Right now. Impressed?

Probably not, but that's because you don't know yet what it's all about! BlogFile is my project to produce a simple blog that installs and runs off a single PHP file.

I figure that Wordpress is full of bloat that I have no use for. I don't need to manage 50 odd users, editors, and authors. I'm just one person. Why does my blog, which is meant to be mainly text, need a massive framework with hundreds of thousands of lines of code, surrounded by megabytes of images and javascript?

It doesn't

So I built BlogFile over the last week in my spare time between actually getting paid for work, flying from Europe to Australia, and fighting jet lag. I'd estimate that I've put approximately 30 hours into it, so far, and I'm pretty happy with it's capabilities.

The code (at this point) is approximately 3000 lines in a single file, including whitespace, html templates, comments, and the installer (which gets pulled out of the code base once it installs). I built a (basic) template engine, because smarty/PHPTal/whatever else is too much.

Due to the fact that there's no images and no javascript, the download size is actually pretty compact, which means that it should work quickly on low-bandwidth devices. I'm not a designer by any means, but I've done my best to make a clean, simple interface which doesn't look too horrible. I'm making use of a bunch of CSS3 and HTML5 elements, so who knows how well it'll work in Internet Explorer*?

So there we have it. BlogFile is running, and out in the wild. Fork it on github, try it, give me feedback, replace all your blogs with it, whatever. Let me know what you think.

  • It'll fall back and look a little blocky, but otherwise be fine. I think.

P.S. I've ported some of my old posts and comments over from my drupal site, so don't go giving me that "It's not new - the old posts prove it" rubbish.

Comments have been locked for this post.
Anonymous

You should consider implementing clean URL's. Just my two cents....

 
Samuel Levy

I've thought (briefly) about implementing 'pretty' URLs, but it'll add bloat, and may cause trouble when there's more than one blog in a folder.

I'm sure I could figure something out that's simple/clean, but I'm not overly concerned with that right now.

 
Anonymous

This sounds like it could be very useful for people who don't want to learn an entire "framework" like wordpress. Easy install, easy to use. While it doesn't look bad, it doesn't look "nice" compared to what can be done with CSS. I'd bet someone with some CSS savvy could really make this look downright elegant and impressive without adding a single image file. Having someone tackle the asthetics could make this a wildly popular tool. Good work man.

 

This is exactly what I was looking for. I wanted a blog section for my site but I really did not want to install any bulky software or write my own from scratch, I just don't have that kind of time lately. This has all the functionality I needed without too much styles and junk, which is good because it leaves it up to the developer to make it fit whatever purpose it needs to.

So I took this and I split it into includes and templates etc. to fit my existing site and it worked like a charm.

This is great for this kind of purpose. It laid the baseline onto which I can expand and add my own features to it.

I currently have it working on my site even thought its not styles very well at the moment.

Great job man, very helpful.