Skip to content

Add markitdown-service: internal HTTP API to convert uploaded files to Markdown - #2886

Closed
Leonardo Delmondes (dontscrollagency) wants to merge 1 commit into
microsoft:mainfrom
dontscrollagency:claude/determined-johnson-ym6zlo
Closed

Leonardo Delmondes (dontscrollagency) wants to merge 1 commit into
microsoft:mainfrom
dontscrollagency:claude/determined-johnson-ym6zlo

Conversation

@dontscrollagency

Copy link
Copy Markdown

A small stdlib HTTP service in front of MarkItDown, for the Dont Scroll admin portal. It accepts only uploaded bytes (.pdf .docx .pptx .xlsx .xls): no URL fetching and no path reading. Auth is a Bearer MARKITDOWN_ADMIN_TOKEN (32+ chars, compared in constant time). Each conversion runs in its own process with a timeout and a memory cap, the file content is checked against its extension, and error bodies carry stable codes without echoing file names.

Includes Dockerfile (Dokploy), README, pytest suite and a separate CI workflow so upstream's tests.yml stays untouched.

Claude-Session: https://claude.ai/code/session_014MASw3kKmhYu23aeB1k4aU

…o Markdown

A small stdlib HTTP service in front of MarkItDown, for the Dont Scroll admin
portal. It accepts only uploaded bytes (.pdf .docx .pptx .xlsx .xls): no URL
fetching and no path reading. Auth is a Bearer MARKITDOWN_ADMIN_TOKEN (32+
chars, compared in constant time). Each conversion runs in its own process
with a timeout and a memory cap, the file content is checked against its
extension, and error bodies carry stable codes without echoing file names.

Includes Dockerfile (Dokploy), README, pytest suite and a separate CI workflow
so upstream's tests.yml stays untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014MASw3kKmhYu23aeB1k4aU
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.

2 participants