Hacker News hot-comment briefing demo built with MoonBit async and Wasm
Dependencies
moon runwasm peter-jerry-ye/hn-brief@0.1.1moon runwasm peter-jerry-ye/hn-brief@0.1.1 -- --rawmoon runwasm peter-jerry-ye/hn-brief@0.1.1 -- --limit 5 --comments 4 --lang "Simplified Chinese"moon runwasm --experimental-policy deny-deepseek.toml peter-jerry-ye/hn-brief@0.1.1 -- --limit 1 --comments 0pub(all) struct StoryBrief {
id : Int
title : String
url : String
score : Int
comments : Int
hot_comments : Array[CommentBrief]
} derive(ToJson, Debug)fn render_markdown(stories : ArrayView[StoryBrief], summary : String, model_label~ : String, show_context? : Bool) -> StringHacker News hot-comment briefing demo built with MoonBit async and Wasm
Dependencies