Git Product home page Git Product logo

bootylite's Introduction

Bootylite - a simple file system based blog

No trackbacks, no comments (in core), no admin interface.
Just plain file based blogging with a feed and extra pages.

After vti's great Bootylicious becoming unmaintained this is the next try to build a simple file system based blog on Mojolicious.

And here's how it works:

  • write articles as text files and store them in the articles directory.
  • done.

Look at

  1. the articles directory to see examples
  2. the pages directory to see examples
  3. the bootylite.conf file to change the Bootylite parameters.
  4. the templates (bootylite.pl inflate) to customize Bootylite
  5. the code.

The renderer for articles and pages is determined by the file name extension. These renderers ship with Bootylite:

  • .md -> Bootylite::Renderer::Markdown
  • .html -> Bootylite::Renderer::HTML

It's easy to extend Bootylite to get more Renderers: just use Bootylite::Renderer as a base class.

Plugins

Plugin authors can inherit from Bootylite::Plugin to extend Bootylite's functionality. Look at Bootylite::Plugin::Comments for an example. You can find a simple (but useless) plugin in the test suite. Plugin configuration lives in the bootylite.conf config file:

plugins => {
    comments => {
        comments_dir => app->home->rel_dir('comments'),
        encoding     => 'utf-8',
    },
},

COPYRIGHT AND LICENCE

Copyright (c) 2011 Mirko Westermeier, [email protected]

See the file MIT-LICENSE in this distribution for details.

bootylite's People

Contributors

hobbestigrou avatar memowe avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.