Releases: kanejamison/bunko
Releases · kanejamison/bunko
v0.2.0
What It Is
First functional release of Bunko - a lightweight Rails CMS based on the "one model, infinite collections" philosophy.
Core Features:
- One
Postmodel routes to many collections (/blog/,/docs/,/changelog/, etc.) - Two-phase installation:
rails bunko:install→rails bunko:setup - Configuration-driven setup via
config/initializers/bunko.rb - Generated controllers, views, and routes with Pico CSS styling (easily customizable)
- Publishing workflow with draft/published/scheduled states
- Automatic slug generation and reading time calculation
- Post convenience methods:
excerpt,published_date,reading_time_text - Built-in pagination (no external dependencies)
Static Pages:
bunko_pagerouting for standalone pages (About, Contact, Privacy)- Shared
PagesControllerwith smart view resolution - Same Post model, different post_type
Smart Collections:
- Aggregate multiple post types:
config.collection "resources", post_types: ["articles", "videos"] - Filter with scopes:
config.collection "long_reads" { |c| c.scope = -> { where("word_count > ?", 1500) } }
Sample Data Generator:
rails bunko:sample_data- Generate realistic posts for testing- HTML and Markdown format support
- Configurable word counts, post counts, and content styles
Routing:
bunko_collection :blog- Simple DSL for content routesbunko_page :about- Single-page routes without collection index- Automatic hyphenation:
:case_study→/case-study/
PR History
- Update CI & Tests by @kanejamison in #1
- Add Two-Phase Installation Generator and Setup Task by @kanejamison in #2
- Improve configuration approach by @kanejamison in #3
- Add Bunko Routes & Collections by @kanejamison in #4
- Expand Test Coverage by @kanejamison in #5
- Expand Post Methods & Test Coverage by @kanejamison in #6
- Expand Installer and Config Options and Refactor by @kanejamison in #7
- Bug fixes by @kanejamison in #8
- Refactor Post Type Structure by @kanejamison in #9
- Rename meta title to title tag by @kanejamison in #10
- Fix pagination issues by @kanejamison in #11
- Fix index route helper by @kanejamison in #12
- Fix controller generator and docs mismatch by @kanejamison in #13
- Add Sample Data Task by @kanejamison in #14
- Lots of Improvements to Template Generation & Configuration by @kanejamison in #15
- Strip html from excerpts by @kanejamison in #16
- Add Pico CSS to Bunko:Setup Views by @kanejamison in #18
- Add Static Pages by @kanejamison in #20
- Refactor Install Generator to Tasks by @kanejamison in #19
- Remove show views from collections by @kanejamison in #25
- Fix how bunko_page route helper fetches post slug by @kanejamison in #26
- Add slug format validation to prevent invalid characters by @kanejamison in #27
- Fix how we fetch page slugs with bunko_page by @kanejamison in #28
- Simplify & Improve Sample Data Generator by @kanejamison in #29
- Fix Misc Install Testing Errors by @kanejamison in #30
Full Changelog: https://github.com/kanejamison/bunko/commits/v0.2.0