semantic bufo search find-bufo.com
bufo
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

deps: update zat to v0.1.9

.host → .hosts (API change from v0.1.6)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz e7e21803 41d0112d

+4 -3
+2 -2
bot/build.zig.zon
··· 5 5 .minimum_zig_version = "0.15.0", 6 6 .dependencies = .{ 7 7 .zat = .{ 8 - .url = "https://tangled.org/zat.dev/zat/archive/7123918.tar.gz", 9 - .hash = "zat-0.1.0-5PuC7qrxAQBPP3pQ2fBn6E0FNJO5cZw_Qj3rM7gEiZYv", 8 + .url = "https://tangled.sh/zat.dev/zat/archive/v0.1.9", 9 + .hash = "zat-0.1.9-5PuC7tL5AwAgHHJXdOHTCy373NtwQW7cE2nfB7rq4yx_", 10 10 }, 11 11 }, 12 12 .paths = .{
+2 -1
bot/src/main.zig
··· 56 56 var bot_stats = stats.Stats.init(allocator); 57 57 defer bot_stats.deinit(); 58 58 bot_stats.setBufosLoaded(@intCast(m.count())); 59 + bot_stats.jetstream_endpoint = cfg.jetstream_endpoint; 59 60 60 61 // init state 61 62 var state = BotState{ ··· 81 82 // start jetstream consumer 82 83 var handler = jetstream.PostHandler{ .callback = onPost }; 83 84 var client = zat.JetstreamClient.init(allocator, .{ 84 - .host = cfg.jetstream_endpoint, 85 + .hosts = &.{cfg.jetstream_endpoint}, 85 86 .wanted_collections = &.{"app.bsky.feed.post"}, 86 87 }); 87 88 defer client.deinit();