Git Product home page Git Product logo

binka's Introduction

#Binka

A semi-static PHP-based blog engine, with posts rendered from static Markdown files. No underlying database, no administrative console, built-in short URLs, comments outsourced to Disqus, each post is a physical file that works in a version control system.

It isn't ready yet. I haven't even implemented Markdown support yet. ;-) I only started it yesterday. Take it easy.

Binka is created and maintained by Ben Scott/Belfry Images.

##Installation

  1. fork the project from Github
  2. play with the configuration in /app/controllers/binka.php
  3. set up your own layout in /app/views/layouts/default.php
  4. tweak the rest of the views to get the markup you want
  5. add some posts to /posts
  6. copy everything to the live server

##Usage ###Posting a new blog entry

A blog entry in Binka is a Markdown-formatted plain text file saved to the /posts folder. Files should be named {shortlink}_{permalink}.md.

  • The {shortlink} is used for the short URL, but is most importantly used to order the posts. It is an alphanumeric code that should increase for each post. I would suggest starting at '1' up to '9', then 'a' then 'A' up to 'z' then 'z', then '10', and up, so you'll get shortlink codes like 13f7R.
  • The {permalink} is the extended link to the post. For example, the post titled 'My Example Post' could have a permalink of my_example_post.

Joined together, we get filenames like 13f7R_my_example_post.md. That post could then be viewed via the following URLs:

The /p path is an alias for /post.

The post file is created locally, in a local working copy of the site. To post online, the file is just copied over. The post is available immediately and the landing page and RSS feeds just show the latest 10 (by default) posts ordered by the shortlink.

##Contributing Contributions are welcome, in any form including code contributions, bug reports, feature suggestions, documentation, testing, and general feedback. The current version can be forked from its Github repository. I'm using PivotalTracker for story tracking, and issues can be submitted on the Github page.

##License ###Binka License I haven't even bothered with Creative Commons on this at the moment as it really is basic. Therefore the current branch of development is Public Domain. This may change in the future. It is likely that a future version will use the Creative Commons Attribution license.

###Third party libraries and components

binka's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ciptard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.