server.card_editor

Use fastui to create a simple web interface for the card editor. The editor should allow users to create NewCards and publish them to a channel.

Terminal 1: `bash docker run --rm -t -p119:119 -p563:563 cclauss/inn `

Terminal 2: `bash PYTHONPATH="." uv run server/card_editor.py `

Attributes

nntp_client

sue_grafton_books

Functions

sample_metadata(...)

junk(→ None)

app = fastui.App()

Module Contents

server.card_editor.nntp_client
server.card_editor.sue_grafton_books
server.card_editor.sample_metadata() collections.abc.Iterator[server.ome_node.Metadata]
server.card_editor.junk() None

app = fastui.App()

channel = fastui.Select(

“Channel”, options=[channel.name for channel in ome_node.channels()]

) subject = fastui.Text(“Subject”) body = fastui.Text(“Body”) submit = fastui.Submit(“Submit”) new_card = fastui.Form(“New Card”, [channel, subject, body, submit]) ome_node.create_post(NewCard)