Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Ruby on Rails blogging app for the fashionable developer - it's better than Mephisto or SimpleLog
branch: master

This branch is 78 commits ahead, 143 commits behind xaviershay:master

Failed to load latest commit information.
app changed heading
autotest Upgrade Enki to Rails 3.
config Updated comment area
db Fucked something up during Find and replace.
features Fucked something up during Find and replace.
lib String#slugorize now allows apostrophes, and correctly strips multiple
log Initial
public changed heading
script Upgrade cucumber, only one fail
spec Fucked something up during Find and replace.
vendor/plugins
.DS_Store Updated comment area
.gitignore Added stylesheets back .. heroku with their R/O file system ..
.rspec Upgrade Enki to Rails 3.
Gemfile fixed most of the failing specs.
Gemfile.lock Added markdown to post. Post will update body by using markdown and c…
LICENSE LICENSE
README.textile Readme update
Rakefile Upgrade to Rails 3 by replacing default Rails generated files where a…
config.ru Upgrade to Rails 3 by replacing default Rails generated files where a…

README.textile

My Enki fork

Preview: blog.rybas.org and blog.rybas.ru

How it differs from original Enki

Changes in ‘master’. Mostly from the Agile Pandas fork

  • Google Search removed
  • Haml/Sass integrated (partially)
  • Lots of main layout changes
  • Devise instead of OpenID authorization
  • Live-time post preview

Changes in my development branch ‘vrybas’

  • Some main layout changes
  • Disqus comments integration
  • Non-automatic slug for posts
  • `<`cut`>` tag processing for posts(“read more >>”‘s on ’index’, full text on ‘show’)
  • Old ActsAsTaggableOnSteroids plugin replaced with ActsAsTaggableOn gem
  • Ranged tags cloud with different sizes for popular tags
  • Disable live-time post preview(because of performance)
  • Feedburner for Atom feeds
  • Google Analytics integration

Changes in ‘en’ branch (English version of my blog)

  • Identical to ‘vrybas’, just some config changes

Changes in ‘ru’ branch (Russian version), forked from ‘en’

  • Blog title and author configuration
  • Internationalization yml’s
  • gem russian included
  • Disqus for blog.rybas.ru
  • Feedburner blog.rybas.ru
  • Google Analytics for blog.rybas.ru

Original Enki readme

A Ruby on Rails blogging app for the fashionable developer.

Preferences are for the masses. Any real coder knows the easiest and best way to customize something is by hacking code. Because you want your blog to be you, not bog standard install #4958 with 20 posts per page instead of 15. For this you need a clean, simple, easy to understand code base that stays out of your way. No liquid drops and templates hindering your path, no ugly PHP stylings burning your eyeballs.

Quick Start

  git clone git://github.com/xaviershay/enki.git enki
  cd enki
  git checkout -b myblog # Create a new work branch
  bundle install         # Install all the required gems

  cp config/database.example.yml config/database.yml
  # Edit config/enki.yml and config/database.yml to taste

  # Next step needs libxml2 and libxslt1 and their headers
  # On Debian-based systems: apt-get install libxml2-dev libxslt1-dev
  # On Mac OS X: no action required

  rake db:migrate
  rake            # Run tests
  rails server    # Start the server
  # Load http://localhost:3000/admin in your browser

Or for bonus points, fork enki at github and clone that instead.

More info

Enki is a compact, easily extendable base for your blog. It does this by being highly opinionated, for example:

  • Public facing views should adhere to standards (XHTML, Atom)
  • /yyyy/mm/dd/post-title is a good URL for your posts
  • Live comment preview should be provided by default
  • Google does search better than you or I
  • You don’t need a plugin system when you’ve got decent source control
  • If you’re not using OpenID you’re a chump
  • Hacking code is the easiest way to customize something

How it differs from Mephisto

Mephisto is feature packed and quite customizable. It can however be daunting trying to find your way around the code, which isn’t so good if you’re trying to hack in your own features. Enki strips out a lot of the features that you probably don’t need (multiple authors and liquid templates, for example), and focuses on keeping a tight code base that is easy to comprehend and extend.

If you’re converting from Mephisto, be sure to have a look at enki-translator

How it differs from SimpleLog

Enki embodies much of the philosophy of SimpleLog, but does so in a style that is much more consistent with Rails best practices, making it easier to understand and hack the code.

Compatibility

Uses rails 3. Runs on MySQL or Postgres. Works on heroku.

Contributors, these guys rock

git log | grep Author | sort | uniq

If you want to help out, try tackling an open issue.

License

GPL – See LICENSE

Admin design heavily inspired by Habari

Something went wrong with that request. Please try again.