
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

Are Claude Artifacts Public? What the Link Actually Exposes
An artifact is private until you publish it — and a published one is unlisted, not secret. Here's exactly who can see what, and how to share something that stays genuinely restricted.

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.

Share Claude's Markdown as a Clean Page
Claude answers in well-structured Markdown, but pasted into email or Slack it falls apart. Here's how to send it as a readable page instead.
Newsletter
Join the community
Subscribe to our newsletter for the latest news and updates