resofire / mini-blog
Mini Blog card layout for Flarum – displays discussions as image cards using only the first post image.
v0.5.7
2026-03-11 21:18 UTC
Requires
- flarum/core: ^1.0
- flarum/tags: ^1.0
- dev-main
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.9
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2026-03-11 21:19:09 UTC
README
A lean, image-first discussion card layout for Flarum.
What it does
Replaces the standard discussion list with a responsive card grid:
- Primary cards – large hero cards at the top of the page (configurable count & width)
- List cards – compact thumbnail-left rows below the primary cards
- Hero image is pulled from the first post only (
firstPostrelationship) – no extrapostsorposts.userdata is fetched, keeping the API fast - Falls back to a per-tag default image, then a global default image if no image is found in the post
Requirements
- Flarum
^1.0 flarum/tags ^1.0
Installation
composer require resofire/mini-blog php flarum migrate php flarum cache:clear
Then build the JS assets:
cd extensions/resofire/mini-blog/js
npm install
npm run build
Admin Settings
| Setting | Description |
|---|---|
| Activate on Index Page | Show cards on the all-discussions page |
| Number of primary cards | How many large cards appear first (0 = all list style) |
| Desktop / Tablet card width | % width of primary cards |
| Preview text | Show first-post excerpt below the title |
| Reply count | Show reply / unread count |
| Badges | Show sticky / locked badges |
| Mark read discussions | Dim title & text of already-read discussions |
Key differences from walsgit/flarum-discussion-cards
| Feature | discussion-cards | Resofire Mini Blog |
|---|---|---|
| API includes | firstPost, posts, posts.user |
firstPost only |
| Last-reply avatars | ✔ | ✗ (removed) |
| Author info on card | Optional | ✗ (removed) |
| Blog extension support | ✔ | ✗ (out of scope) |
| Repost extension support | ✔ | ✗ (out of scope) |
License
MIT