Pre-1.0. Not intended for public use yet. The API is subject to undocumented change, and these pages may already be wrong about it.

Skip to content

What You Can Build ​

Showing Content Previews ​

A KeyValue body adds the order's labelled pickup details below its headline.

app/Models/Order.phptoFeed()
php
use Storyfeed\Body\KeyValue;
use Storyfeed\FeedEntity;

return FeedEntity::make()
    ->label("Order #{$this->reference}")
    ->body(
        KeyValue::make()->title("Order #{$this->reference}")->items([
            'Pickup' => $this->pickup_at->format('g:i a'),
            'Items' => $this->items->count(),
            'Reference' => KeyValue::verbatim($this->reference),
        ]),
    );
php
use Storyfeed\Body\KeyValue;
use Storyfeed\FeedEntity;

return FeedEntity::make(
    label: "Order #{$this->reference}",
    body: KeyValue::make(
        title: "Order #{$this->reference}",
        items: [
            'Pickup' => $this->pickup_at->format('g:i a'),
            'Items' => $this->items->count(),
            'Reference' => KeyValue::verbatim($this->reference),
        ],
    ),
);
Steve Harrington
Order #1035
Pickup
12:10 pm
Items
1
Reference
1035

Recording Services as Actors ​

A named party records a payment service as the actor when its webhook reports that an order was paid.

Where the payment webhook is handled: a controller or a job
php
use Storyfeed\Facades\Storyfeed;

Storyfeed::activity()
    ->by('Stripe')
    ->action('pay', $order)
    ->publish();
php
use Storyfeed\Facades\Storyfeed;

Storyfeed::record(
    verb: 'pay',
    object: $order,
    actor: 'Stripe',
);
S
Stripe marked Order #1035 paid

Filtering a Feed by Entity ​

An entity filter gathers the activities involving one order into its own timeline.

routes/web.php
php
use App\Models\Order;
use Illuminate\Support\Facades\Route;
use Storyfeed\Facades\Storyfeed;

Route::get('/orders/{order}/history', function (Order $order) {
    return Storyfeed::feed()->involving($order)->log()->get();
});
S
Stripe marked Order #2031 paid
Steve Harrington
Steve Harrington
Erica Sinclair

Showing Records You Already Have ​

Compose a feed from data your app already stores, such as the timestamps an order went through. Nothing is recorded, and the same kits draw it.

routes/web.php
php
use App\Models\Order;
use Illuminate\Support\Facades\Route;
use Storyfeed\Facades\Storyfeed;

Route::get('/orders/{order}/progress', function (Order $order) {
    return Storyfeed::compose()
        ->add(fn ($entry) => $entry
            ->by($order->customer)
            ->action('place', $order)
            ->to($order->shop)
            ->publishedAt($order->placed_at))
        ->add(fn ($entry) => $entry
            ->by($order->confirmedBy)
            ->action('confirm', $order)
            ->publishedAt($order->confirmed_at))
        ->add(fn ($entry) => $entry
            ->by($order->confirmedBy)
            ->action('ready', $order)
            ->publishedAt($order->ready_at))
        ->inOrder()
        ->get();
});
Erica Sinclair
Steve Harrington
Steve Harrington

Grouping Busy Activity ​

Live combines one action per row within a burst. See Aggregation for which activities share a row.

routes/web.php
php
use Illuminate\Support\Facades\Route;
use Storyfeed\Facades\Storyfeed;

Route::get('/activity', function () {
    return Storyfeed::feed()->live()->get();
});

Today

Dustin Henderson
Dustin Henderson wrote Planck’s constant
Planck’s constant is 6.62607004.
Suzie, over Cerebro
Robin BuckleySteve Harrington
Robin BuckleySteve HarringtonErica SinclairDustin Henderson
Karen Wheeler
the Ferris wheel
the Ferris wheel
Murray Bauman
a hot dog
a hot dog
Email #404 carrying Service terms could not be sent
A
Alexei played a carnival game 3 times
Email #403 carrying Service terms was reported as spam
Steve Harrington
Email #402 carrying Service terms bounced
Joyce ByersJim Hopper
Joyce Byers, Jim Hopper, Alexei and 1 more checked in at the Fun Fair
Joyce ByersJim HopperAMurray Bauman
Email #401 carrying Service terms was delivered
JT
Jasper Tey went on 3 rides at the Fun Fair
Robin BuckleyDustin Henderson
3 activities
48 minutes ago
49 minutes ago
50 minutes ago
Steve Harrington
Steve Harrington viewed 5 orders
Steve Harrington
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Karen Wheeler
a bag of soft pretzels
a bag of soft pretzels
Erica Sinclair
Karen Wheeler
Order #1042 items
and 2 moreOrder #1042
Erica Sinclair
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Erica Sinclair
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Erica Sinclair
Erica Sinclair removed 2 parts from Service terms
Erica Sinclair
Erica Sinclair
Erica Sinclair accepted the proposal New shop
Erica Sinclair
Erica Sinclair accepted the agreement Service terms
LK
JT
a pretzel
a pretzel
JT
Jasper Tey checked in at the Fun Fair
Karen Wheeler
Steve Harrington
Steve Harrington noted Is that free for life, or only for today? at Scoops Ahoy
Is that free for life, or only for today?
Lucas Sinclair
the fireworks
the fireworks
Steve Harrington
Steve Harrington added 2 menu items
Max MayfieldLucas Sinclair
Max MayfieldLucas SinclairWBJBNWMWE
Jim Hopper
S
Stripe processed 3 payments
Murray Bauman
Murray Bauman wrote Murray’s gate investigation
Murray’s gate investigation

What the machine needs

Alexei’s account: the machine is opening a gate beneath the mall.

  • Locate the control room.
  • Reach the two shutdown keys.
  • Check the safe combination before going in.

Working note: translation is evidence, not a complete floor plan.

LK
LK

Yesterday

SR
Scoops Register cancelled Order #2071
Robin Buckley
Find where the elevator goes

Find out where the elevator in the storeroom goes down to.

TH
BL
JB
NW
Murray Bauman
Murray Bauman let the chief in at Murray's warehouse
Erica Sinclair
A
N
Steve Harrington
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Joyce Byers
Jim Hopper

Tuesday

Erica Sinclair
NW
WMax Mayfield
WBMax MayfieldLucas SinclairEMW
Erica Sinclair
S
Stripe marked Scoops Ahoy invoice #1985 paid
Scoops Ahoy invoice #1985
Amount
$497.00
Billed to
Starcourt Mall
Reference
INV-1985
Max MayfieldLucas Sinclair
Max MayfieldLucas SinclairMWDustin HendersonErica Sinclair
S
Stripe marked Order #2031 paid
Steve Harrington
Erica Sinclair
Erica Sinclair placed 7 orders with Scoops Ahoy
Steve Harrington
Steve Harrington confirmed 3 orders
Steve Harrington
S
Stripe marked Order #1035 paid 2 times
Erica SinclairRobin Buckley
Erica SinclairRobin BuckleySteve HarringtonDustin Henderson
Erica Sinclair
Erica Sinclair replied about Is that free for life, or only for today?
Someone placed Order #1035 with Scoops Ahoy
Steve Harrington
Steve Harrington
Steve Harrington
Steve Harrington confirmed 2 orders
Erica Sinclair
Is that free for life, or only for today?
Erica Sinclair
Erica Sinclair sent a note about Order #1035
Can I collect this at the counter?
Steve Harrington
Steve Harrington
Erica Sinclair
Erica Sinclair
Steve Harrington
Steve Harrington changed the price of USS Butterscotch
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Steve Harrington
USS Butterscotch
USS Butterscotch
TH
Tom Holloway let Jonathan Byers go from the Hawkins Post

hawkins-post-internship-agreement.pdf PDF · 62 KB

Steve Harrington
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
TH
Tom Holloway let Nancy Wheeler go from the Hawkins Post

hawkins-post-internship-agreement.pdf PDF · 62 KB

Joyce Byers
Jim Hopper
Steve Harrington
Steve Harrington published items

Monday

Jim Hopper
Jim Hopper checked in at Hawkins Lab
Joyce Byers
Joyce Byers checked in at Hawkins Lab
JB
A fairground at night
A fairground at night
JT
Pull request #5
Title
Filter out the static
Branch
static-filter
Files changed
2
JT
Pull request #4
Title
Add a tape recorder input
Branch
tape-input
Files changed
4
Erica Sinclair
Robin Buckley
Map the code to the mall

Match each line of the message to a place in the mall.

Robin BuckleyDustin Henderson
Robin BuckleyDustin HendersonErica Sinclair
Erica Sinclair
Erica Sinclair placed 3 orders with Scoops Ahoy
SC
Ticket #101

Every magnet on the store display fell off at once, then did it again an hour later.

Max Mayfield
E

Sunday

Steve Harrington
Match the music to the mall

Pick out the mall in the sounds behind the message on the tape.

Robin Buckley
Crack the code

Work out what the Russian message on the tape is saying.

Jim Hopper
Jim Hopper checked in at Enzo's
Jim Hopper
Jim Hopper booked a table at Enzo's
BH
S
Stripe marked Scoops Ahoy invoice #1984 paid
Scoops Ahoy invoice #1984
Amount
$520.75
Billed to
Starcourt Mall
Reference
INV-1984
Jim Hopper
Max Mayfield
E
Eleven checked in at Starcourt Mall
Steve Harrington
Dustin Henderson
Dustin Henderson
JB
Jonathan Byers uploaded 4 photos to the Hawkins Post
Rolled newspapersA room lit redArcade machines in a dark room
TH
They came back every night for my fertilizer, bag after bag
Doris Driscoll
NW
They came back every night for my fertilizer, bag after bag
Doris Driscoll
Steve Harrington
Steve Harrington changed the price of USS Butterscotch
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Steve Harrington
USS Butterscotch
Price
$2.95
Section
Sundaes
Available
At the counter
Orders
12
Joyce Byers
Ticket #101

Every magnet on the store display fell off at once, then did it again an hour later.

Joyce Byers
Ticket #101

Every magnet on the store display fell off at once, then did it again an hour later.

Saturday

DD
Doris Driscoll phoned the Hawkins Post about the rats
Dustin Henderson
Dustin Henderson wrote Cerebro reception log
Cerebro reception log
STATION: CEREBRO / WEATHERTOP
CALL TO UTAH .......... NO REPLY
UNEXPECTED SIGNAL .... VOICE / RUSSIAN
MESSAGE .............. REPEATING
NEXT STEP ............ KEEP THE TAPE
Karen Wheeler
BH
Dustin Henderson
Record the broadcast

Tape the Russian message Cerebro picked up on Weathertop.

Dustin Henderson
Dustin Henderson
Dustin Henderson
Max MayfieldLucas Sinclair
Max MayfieldLucas SinclairWBMWDustin Henderson
JT
cerebro
About
The radio built at camp, to reach Utah from Weathertop
Visibility
Public
Dustin Henderson

Friday

Joyce Byers
Ticket #102

The power went out across town this evening. It came back on its own a minute later.

Max MayfieldLucas Sinclair
Max MayfieldLucas SinclairWBMW
Robin Buckley
Steve Harrington
Steve Harrington served 2 orders
JT
Pull request #3
Title
Boost the range to reach Utah
Branch
utah-range
Files changed
2
JT
Pull request #2
Title
Wire up the transmitter
Branch
transmitter
Files changed
5
JT
Pull request #1
Title
Add the antenna mount
Branch
antenna-mount
Files changed
3
Dustin Henderson
cerebro
About
The radio built at camp, to reach Utah from Weathertop
Visibility
Public

Jun 26, 1985

S
Stripe marked Scoops Ahoy invoice #1983 paid
Scoops Ahoy invoice #1983
Amount
$455.25
Billed to
Starcourt Mall
Reference
INV-1983

Jun 19, 1985

S
Stripe marked Scoops Ahoy invoice #1982 paid
Scoops Ahoy invoice #1982
Amount
$388.00
Billed to
Starcourt Mall
Reference
INV-1982

Jun 12, 1985

S
Stripe marked Scoops Ahoy invoice #1981 paid
Scoops Ahoy invoice #1981
Amount
$412.50
Billed to
Starcourt Mall
Reference
INV-1981

Jun 10, 1985

JB

hawkins-post-internship-agreement.pdf PDF · 62 KB

NW

hawkins-post-internship-agreement.pdf PDF · 62 KB

Jun 7, 1985

Robin Buckley

scoops-ahoy-employment-contract.pdf PDF · 48 KB

Steve Harrington

scoops-ahoy-employment-contract.pdf PDF · 48 KB

Dec 15, 1984

WMax Mayfield
WBMax MayfieldLucas SinclairDustin HendersonEMW

Nov 30, 1984

BH

hess-farm-sale-agreement.pdf PDF · 132 KB

Nov 3, 1984

BN
Bob Newby found the X on Will's drawings
Someone put 2 items on the menu
Hawkins Lab system reportHawkins Lab lock status
BN
Bob Newby wrote Hawkins Lab door override
Hawkins Lab door override
10 REM DOOR OVERRIDE — ILLUSTRATIVE BASIC
20 INPUT "SECURITY CODE"; C$
30 IF C$ = "" THEN GOTO 20
40 PRINT "MANUAL OVERRIDE REQUESTED"
50 FOR D = 1 TO 4
60 PRINT "DOOR"; D; " RELEASE REQUEST SENT"
70 NEXT D
80 END

Nov 1, 1984

Dustin Henderson

Oct 29, 1984

Oct 28, 1984

Lucas SinclairM
Lucas SinclairMWDustin Henderson
Max Mayfield
Max Mayfield set a new high score on Dig Dug at the Palace Arcade

Dec 24, 1983

Jim Hopper
Jim Hopper left Eggo waffles in the woods for Eleven

Nov 12, 1983

ELucas Sinclair
ELucas SinclairDustin HendersonMW

Nov 10, 1983

E

Nov 9, 1983

Joyce Byers
Joyce Byers
Joyce Byers wrote Joyce’s alphabet wall
Joyce’s alphabet wall
  • A B C D E F G H
  • I J K L M N O P Q
  • R S T U V W X Y Z

Nov 7, 1983

BH
Benny Hammond phoned social services
E

Released under the MIT License.