Skip to content

fireph/EphemeralLinksReuploader

Repository files navigation

EphemeralLinksReuploader Logo

EphemeralLinksReuploader

A Discord bot that preserves ephemeral links by reuploading their content as permanent attachments

Docker Pulls Docker Image Size License


What it does

When a user posts an ephemeral link (e.g. from 4chan) in a Discord channel, the bot:

  1. Detects the link automatically
  2. Downloads and reuploads the content as a Discord attachment
  3. Posts it as the original user via webhook — seamlessly, as if nothing happened

The content remains accessible even after the original source goes offline or expires.


Prerequisites

You'll need to create a Discord application and bot to get your token:

  1. Go to the Discord Developer Portal
  2. Click New Application, give it a name, and save
  3. Navigate to the Bot tab and click Add Bot
  4. Under the bot's username, click Reset Token to reveal your DISCORD_TOKEN
  5. Invite the bot to your server using the OAuth2 > URL Generator tab (select the bot scope and any required permissions)

Quick Start

Docker Compose

services:
  ephemeral-links-reuploader:
    image: dungfu/ephemeral-links-reuploader:latest
    container_name: ephemeral-links-reuploader
    restart: unless-stopped
    volumes:
      - /home/example/config:/config
      - /home/example/temp:/temp
    environment:
      - DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN

Volumes

Path Purpose
/config Bot configuration files
/temp Temporary storage for downloads

Environment Variables

Variable Required Description
DISCORD_TOKEN Yes Your Discord bot token

About

Discord bot that reuploads ephemeral links (example: 4chan) that are posted (and pretends to be the original user so that no one is the wiser) as attachments so that they can be viewed even after the original content has been removed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors