Search by

ernestdefoe / stepwise

ernestdefoe

Step-by-step guides in Flarum posts: tools and materials, steps in groups with time and cost, tips and warnings, a full-screen reading mode that remembers your place, and a guide library. Works with Scribe, FoF Rich Text and the plain composer.

Package info

github.com/ernestdefoe/stepwise

Type:flarum-extension

pkg:composer/ernestdefoe/stepwise

Fund package maintenance!

Other

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-11-28 17:34 UTC

This package is auto-updated.

Last update: 2026-11-28 22:22:30 UTC


README

License: MIT Flarum 2

Write step-by-step guides right in your posts: what you'll need, the steps in groups with their time and cost, tips and warnings, step photos and timers. Readers follow a guide in a full-screen reading mode that remembers their place, and find guides in a library at /guides. Members see the word "Guides" everywhere.

A guide is a block inside a post, so its discussion is its page: replies are comments, and likes, approval, flags, subscriptions, tags and search all work as they already do on your forum.

A guide in a post

Features

  • Guides in posts. Title, description, cover photo, difficulty (easy to expert), total time, cost and result, then Before you start warnings, tools, materials and the steps. Works with the plain composer and Markdown, Scribe and FoF Rich Text: every editor gets a Guide button that opens the same form.
  • Steps in groups. Give a group a name, a time and a cost; the guide adds them up when you don't give a total. Each step can carry tips, warnings, notes and photos. Write [30m] in a step for a one-click timer that beeps when it is done.
  • Reading mode. One step at a time, full screen, in big type. Next marks a step done. Arrow keys, a swipe on phones and Esc work, the step list sits beside the step on wide screens, what you need opens in a drawer, and the screen stays on while you follow along.
  • Saved progress. Members' progress is saved to their account, so they can continue on any device; guests' is saved in their browser. Continue · step 4 of 8 on the card takes them back. Changing a guide's steps starts it over, since old ticks would no longer mean the same thing.
  • The library at /guides. Every guide a visitor may see, filtered by title words, tag, difficulty, length and an item you need, sorted by newest, quickest or fewest steps. Members get a Continue where you left off row.
  • Remix. Start your own version of a guide in a new discussion; it links back to the original (for readers who may see it).
  • Print. Prints the guide alone, without the forum around it.
  • Search engines. The first guide of a discussion is published as schema.org HowTo data: tools, supplies, sections, steps, total time and estimated cost.
  • Photos. Members with permission upload covers and step photos. Each is re-encoded as WebP with its metadata removed. Admins can turn off images from other websites.

Reading mode

The library

Installation

composer require ernestdefoe/stepwise
php flarum migrate
php flarum cache:clear

Then enable Stepwise in the admin panel.

Updating

composer update ernestdefoe/stepwise
php flarum migrate
php flarum cache:clear

Settings and permissions

  • Currency: guide costs are plain numbers shown in this one currency (default USD).
  • Allow images from other websites: on by default. Off, new guides can only show photos uploaded on your forum; guides that already show such an image keep it.
  • Upload photos for guides (Permissions page): members by default.

Writing a guide by hand

The form writes this for you. In the plain composer, a guide looks like this:

[guide]
title: Patch a hole in drywall
difficulty: 2
cost: 15
yields: A wall ready to paint
image: https://example.com/cover.webp

A short description.

[before]
Turn off the power if there could be wiring behind the wall.
[/before]

[tools]
Drywall saw
[/tools]

[materials]
250 g spackle
[/materials]

[steps]
Prepare the hole [15m] [$2]:
Cut the edges square.
tip: A square is easier to cover than a circle.
image: https://example.com/step.webp
Patch and fill [45m]:
Let it dry [30m], then sand.
[/steps]
[/guide]

A line ending in : starts a group; [15m] and [$2] before the colon are its time and cost. tip:, warning:, note: and image: lines belong to the step above them.

Works alongside

  • Recipes (ernestdefoe/recipes): both can be enabled together. Recipes keeps its own [recipe] blocks and /recipes page; Stepwise uses [guide] and /guides.
  • Tags: the library's tag filter and the tags on its cards.
  • Scribe / FoF Rich Text: the guide is a card in the editor; Edit guide opens the form.

Commands

  • php flarum stepwise:reindex: rebuilds the library index from the posts (for repairs; guides are indexed as they are written).
  • php flarum stepwise:prune-photos: deletes uploads no guide shows. Runs daily with Flarum's scheduler.

Links

MIT licensed.