Skip to content

Add markdown transcript export (?format=md) for room recordings#79

Open
arkh-node wants to merge 1 commit into
cimcai:mainfrom
arkh-node:feature/transcript-markdown-export
Open

Add markdown transcript export (?format=md) for room recordings#79
arkh-node wants to merge 1 commit into
cimcai:mainfrom
arkh-node:feature/transcript-markdown-export

Conversation

@arkh-node

Copy link
Copy Markdown

Closes #49.

The room export endpoint already supports txt and json. This adds a third format — a markdown recording of a room's conversation — so "I wish I had a recording of this conversation" has a readable, shareable artifact.

  • GET /api/rooms/:roomId/export?format=mdtext/markdown download
  • The txt / json / md rendering is extracted into pure helpers in server/transcript.ts; the route is now a thin adapter. txt and json output are unchanged.
  • server/transcript.test.ts (node:test) covers markdown rendering, the empty-room and missing-timestamp edge cases, format parsing, filename extensions, and txt/json regression. npm test → 8 passing.

Follow-up (not in this PR): a download control in the room UI exposing the three formats.

Closes cimcai#49. The export endpoint already supported txt and json; this adds a
readable markdown 'recording' of a room's conversation.

Extracts the txt/json/md rendering into pure helpers in server/transcript.ts
so the formatting is unit-testable without Express/DB, and keeps the route a
thin adapter. txt and json output are preserved byte-for-byte.

Adds server/transcript.test.ts (node:test) covering md rendering, the
empty-room and missing-timestamp cases, format parsing, filename extensions,
and txt/json regression.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] I wish I had a recording of this conversation.

1 participant