
Publish From Telegram: Forward a File, Get a Link Back
The dochost Telegram bot turns a forwarded Markdown or HTML file into a public link without leaving the chat. No account needed, and you can connect one later.
Sharing a document inside a chat has an awkward shape. You have a .md file from an AI assistant or a colleague, and the person you want to show it to cannot read it as a file — they need a page. So the file goes to a laptop, gets uploaded somewhere, and a link comes back the long way round.
@dochost_bot removes that detour. Forward the file to the bot, or paste the text straight into the chat, and it replies with a public link.
What it does
- Forward a file. Send a
.mdor.htmlfile to the bot and it publishes it, then replies with the URL. - Or just paste. Paste Markdown or HTML as a message and it does the same thing.
- No account required. Anonymous links work exactly like anonymous links on the site: free, and they expire after 7 days.
- Connect an account when you want one.
/linkattaches the chat to a dochost account, so pages published from Telegram land in the same dashboard as everything else and follow your plan's limits.
Commands: /start, /link, /account, /unlink, /about.
Why forwarding rather than copy-paste
On a phone, "copy this Markdown out of one app, open a browser, paste it into a form, publish, copy the link, go back" is five app switches. Forwarding is three taps and never leaves Telegram. That difference is the whole reason the bot exists — the underlying publish is the same one the website uses.
It also handles the case where the document is genuinely a file rather than text you can select. A .md attachment in a group chat cannot be copy-pasted on mobile in any pleasant way; it can be forwarded.
What stays the same
Pages published from Telegram are ordinary dochost pages. They are served from the cookieless content host with scripts disabled, exactly like pages published from the web, the browser extension or the MCP server. Nothing an author sends can execute in a reader's session.
The 7-day expiry on anonymous links also applies. If a page is meant to stick around, sign in and it becomes permanent — see pricing.
Try it
Open @dochost_bot, send /start, then forward it a Markdown file. If you want the pages tied to your account afterwards, send /link and follow the one-time flow.
Author
Categories
More Posts

PDF to Markdown, Word to Markdown, and Six More Converters That Run in Your Browser
A set of free document converters that do the work locally in the browser — no upload, no signup — and hand the result straight to a shareable link if you want one.

HTML to URL: How to Turn an HTML File Into a Link (Free)
Three ways to convert an HTML file into a working URL, plus the fastest no-setup method when you just need a link to share.

How to Download a Claude Artifact (and What You Actually Get)
Claude's download button hands you a file — but which file depends on how the artifact was built, and a React artifact won't open in your browser. Here's what each type gives you and what to do with it.
Newsletter
Join the community
Subscribe to our newsletter for the latest news and updates