# Wanted: bot which turns a webpage into an xdc

**URL:** <https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105>\
**Category:** Bots\
**Tags:** webxdc\
**Created:** [April 23, 2026, 5:32pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105 "2026-04-23T17:32:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 23, 2026, 5:32pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/1 "2026-04-23T17:32:23Z")

</div>

I would like to be able to turn almost any webpage into an xdc, like archiving it.  
The bot will be presented with a URL, fetches the content, creates an icon.png/jpg, names it properly and downloads the xdc for further usage.

Is this doable?

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 23, 2026, 5:58pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/2 "2026-04-23T17:58:48Z")

</div>

Bots already exist to which you can give a URL and they will reply with:

- the whole website in a zip
- the whole website in a webxdc
- the bare HTML file content without styles in an HTML message
- the page rendered in a browser for a few seconds, snapshotted into a small static HTML message

You can find the source code and hosted instances for most in:  
[https://deltachat-bot.github.io/public-bots/](https://deltachat-bot.github.io/public-bots/)

This specific bot seems to be doing exactly what you ask for:

> [@Generate link preview](https://support.delta.chat/t/generate-link-preview/1009/29):
>
> Source code at [DavidSM100/webcopy-bot - Codeberg.org](https://codeberg.org/DavidSM100/webcopy-bot)

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 23, 2026, 6:09pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/3 "2026-04-23T18:09:49Z")

</div>

OMG, thanks will check it out.

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 23, 2026, 6:13pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/4 "2026-04-23T18:13:08Z")

</div>

doesn’t seem to work for me 😑

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 23, 2026, 6:15pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/5 "2026-04-23T18:15:21Z")

</div>

You mean you tried to clone it and host it yourself and it had thrown an exception? I don’t think that @DavidSM100 @davidsm10 wanted to host it indefinitely.

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 23, 2026, 6:30pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/6 "2026-04-23T18:30:50Z")

</div>

well, no hosting here… but thanks

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 24, 2026, 5:14am UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/7 "2026-04-24T05:14:00Z")

</div>

Maybe a browser extension would be better

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 24, 2026, 5:43am UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/8 "2026-04-24T05:43:17Z")

</div>

Could you perhaps tell us more about what use case this would solve for people?

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 24, 2026, 6:00am UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/9 "2026-04-24T06:00:59Z")

</div>

Archiving, taking a relevant page offline, sharing it later - securely

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 24, 2026, 9:55pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/10 "2026-04-24T21:55:08Z")

</div>

Archiving is the responsibility of libraries - `web.archive.org` already solves this.

You can download a whole page for your personal offline viewing either within the browser or through web extensions (bookmarklets) that snapshots and sanitizes the rendered DOM. Some archivists (such as the Archive Team) have already published specialized tools for this that can also be ran from the command line.

However, sharing such downloads later on publicly may raise copyright concerns unless the site in question is copyleft or at least CC-NC-ND.

Overall, I still don’t see where Delta Chat comes into the question.

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 24, 2026, 10:23pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/11 "2026-04-24T22:23:30Z")

</div>

xdc is a nice mechanism to handle/take offline html, css, js

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 24, 2026, 10:26pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/12 "2026-04-24T22:26:19Z")

</div>

I feel you already have some concrete website(s) in mind. Care to share a few? For example, would you like to encapsulate a whole portal with its navigation tabs, or certain games perhaps? A whole automatically generated manual of some software?

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 25, 2026, 7:44am UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/13 "2026-04-25T07:44:38Z")

</div>

Not really, but think of Wallabag, it’s read later but grab the content since you never know it’s going to be there tomorrow

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [April 25, 2026, 1:09pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/14 "2026-04-25T13:09:36Z")

</div>

Isn’t that what the cache within web browsers was originally created for?

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 25, 2026, 2:39pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/15 "2026-04-25T14:39:16Z")

</div>

That’s a different feat

---

<div class="post-metadata">

**Author:** ![davidsm10](https://forum.delta.chat/user_avatar/forum.delta.chat/davidsm10/32/3002_2.png) [@davidsm10](https://forum.delta.chat/u/davidsm10)\
**Post date:** [April 29, 2026, 5:56pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/16 "2026-04-29T17:56:47Z")

</div>

You can use SingleFile web extension to export a page as a .xdc file, you would need to tweak the settings a little though.

---

<div class="post-metadata">

**Author:** ![thobux](https://forum.delta.chat/letter_avatar_proxy/v4/letter/t/85f322/32.png) [@thobux](https://forum.delta.chat/u/thobux)\
**Post date:** [April 29, 2026, 6:08pm UTC](https://forum.delta.chat/t/wanted-bot-which-turns-a-webpage-into-an-xdc/5105/17 "2026-04-29T18:08:40Z")

</div>

Ah, you mean adding the Icon and the js, that’s a workaround! Still a dedicated one would be better
