Giter Club home page Giter Club logo

babble's Introduction

Babble CMS

Babble is a simple content management system. Its main goal is ease of use, both for developers and non-technical end users.

Babble CMS was heavily inspired by Lektor and Kirby in how stores content structure (models) and website content in text files on disk, rather than in an SQL database. This means that the whole website can be kept in a version control system like Git. It uses the Twig templating engine (similar to Lektor's Jinja2), and comes with a user friendly admin interface, including a file manager and image cropping functionality.

This project is still in development, and is probably not ready for production use.

Installation

mkdir public/uploads
sudo chmod www-data public/uploads

sudo chown -R www-data content
sudo chown -R www-data cache

sudo apt install php-imagick
sudo apt install php-dom # If you want to use `php babble build`

composer install
composer dump-autoload -o

babble's People

Contributors

dependabot[bot] avatar oal avatar

Watchers

 avatar  avatar  avatar

babble's Issues

Add support for image filters.

item.some_image.crop(200, 200).brightness(35) // or similar

Intervention Image filter methods:

    brightness
    contrast
    gamma
    colorize
    greyscale
    invert
    pixelate

Add "babble validate" commands

babble validate models # Validate model definitions (check for syntax, valid options etc)
babble validate content # Check that all content can be parsed / loaded using their respective model definitions
babble validate templates # Similar to `babble build` but not saving to disk? Not sure about this one.
babble validate # Should run all of the above

Add ability to access fields on model in templates

Like this:

{{ MyModel.field('some_field').option('choices') }} -> array or associative array

... for a ChoiceField

and

{{ Employee.field('email').name }} -> "Employee email"

... to get the display name of a field called title.

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.