
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
h1. Enki Engine
A Ruby on Rails blogging engine extracted from Xavier Shay's Enki blogging app.
h2. Quick Start
Add to your bundle:
gem 'enki_engine'
Add the migrations
rake enki:install:migrations
Create a config/enki.yml like the one below until I write a generator. Hint! Hint!
# Configuration options for your blog - customise to taste
# This file contains no secret information, so can be stored in source control (unlike database.yml)
title: Articles
url: http://enkiblog.com/posts
author:
name: Don Alias # For copyright notice and ATOM feeds
email: don@enkiblog.com # Exception emails will go here, and it is used in ATOM feeds
open_id: # These are used to login to the admin area
- http://enkiblog.com
- http://secondaryopenid.com
engine:
mount_at: /content
pages_at: /
features:
comments: false
tags: true
form_helper: false
# app/models/enki/post.rb
module Enki
class Post < Base::Post
belongs_to :author, :class_name => 'User'
validates_presence_of :author_id
end
end
# app/controllers/enki/admin/base_controller.rb
module Enki
module Admin
class BaseController < Enki::ApplicationController
before_filter :require_account, :authorize
protected
# Post management is a proxy for all blog abilities.
def authorize
raise CanCan::AccessDenied unless can?(:manage, Enki::Post)
end
# requires a migration to put the author_id into posts and pages
def post_attributes
{:author => current_user}
end
end
end
end
h2. More info
Enki is a compact, easily extendable base for your blog. It does this by being highly opinionated, for example:
h2. Compatibility
Uses rails 3. Runs on MySQL or Postgres. Works on heroku. Uses ActsAsTaggableOn but I'd like to make it agnostic of a tagging solution. Uses SimpleForm whereas Enki uses Formtastic. I'd like this to be agnostic. Supports WillPaginate and Kaminari or no pagination with a couple of untidy shims I threw in which could be implemented much better.
h2. Patches/Pull Request
h2. Contributors, these guys rock
git log | grep Author | sort | uniq
If you want to help out, try tackling something from the TODO or an "open issue":https://github.com/ThisIsHatch/enki_engine/issues. Please include specs for any fixes. Enki Engine is by design feature light. Unless you feel very strongly your feature should be in core, add a link to your fork in the wiki instead.
h2. License
GPL(General Public License) - See LICENSE
Admin design heavily inspired by "Habari":http://www.habariproject.org/en/ and broken by https://github.com/james2m
FAQs
Unknown package
We found that enki-engine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.