XUtils

wayback

A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.


Getting Started

For a comprehensive guide, please refer to the complete documentation.

Examples

Wayback one or more url to Internet Archive and archive.today:

wayback https://www.wikipedia.org

wayback https://www.fsf.org https://www.eff.org

Wayback url to Internet Archive or archive.today or IPFS:

// Internet Archive
$ wayback --ia https://www.fsf.org

// archive.today
$ wayback --is https://www.fsf.org

// IPFS
$ wayback --ip https://www.fsf.org

For using IPFS, also can specify a pinning service:

$ export WAYBACK_SLOT=pinata
$ export WAYBACK_APIKEY=YOUR-PINATA-APIKEY
$ export WAYBACK_SECRET=YOUR-PINATA-SECRET
$ wayback --ip https://www.fsf.org

// or

$ WAYBACK_SLOT=pinata WAYBACK_APIKEY=YOUR-PINATA-APIKEY \
$ WAYBACK_SECRET=YOUR-PINATA-SECRET wayback --ip https://www.fsf.org

More details about pinning service.

With telegram bot:

wayback --ia --is --ip -d telegram -t your-telegram-bot-token

Publish message to your Telegram channel at the same time:

wayback --ia --is --ip -d telegram -t your-telegram-bot-token --chatid your-telegram-channel-name

Also can run with debug mode:

wayback -d telegram -t YOUR-BOT-TOKEN --debug

Both serve on Telegram and Tor hidden service:

wayback -d telegram -t YOUT-BOT-TOKEN -d web

URLs from file:

wayback url.txt
cat url.txt | wayback

Configuration Parameters

Look at the full list of configuration options.

Deployment

Docker/Podman

docker pull wabarc/wayback
docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN # without telegram channel
docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANNEL-USERNAME # with telegram channel

1-Click Deploy

Deploy

<img
src="https://render.com/images/deploy-to-render-button.svg"
alt="Deploy to Render"
width="155px"
/>

Screenshots

Click to see screenshots of the services. ### Discord ![Discord](./docs/assets/discord-server.png) ### Web Service ![Web](./docs/assets/web.png) ### Mastodon ![Mastodon](./docs/assets/mastodon.png) ### Matrix ![Matrix Room](./docs/assets/matrix-room.png) ### IRC ![IRC](./docs/assets/irc.png) ### Slack ![Slack Channel](./docs/assets/slack-channel.png) ### Telegram ![Telegram Bot](./docs/assets/telegram.png) ![Telegram Channel](./docs/assets/telegram-channel.png) ### XMPP ![XMPP](./docs/assets/xmpp.png)

Articles

  • coming soon...