Discord-dl: a tool to archive discord channels

discord-dl

discord-dl is a tool to archive discord channels.

I think it's safe to say that forums, the medium that has held countless communities and the internet together for decades and has acted as its primary knowledge center, are dead. Communities are moving en-masse to walled off platforms like discord that cannot be indexed by search engines and are completely inaccesible by those who are not users of these platforms. As a result, it is imperative to have a way of preserving these communities such that its content can be openly accesible and preserved.

Installation

make build

cd bin

go install discord-dl

Features

  • Archives messages, edits, embeds and attachments
  • SQLite database storing message history

To-do

  • Web api and frontend to query messages
  • BOT capabilities so it can be installed by server administrators to archive messages in real time
  • Ability to 'rebuild' the server in the event of deletion
  • More supported databases
  • Cloud storage support

Instructions

  • Flags:

    • --t=token
      • Specify the token of your user agent. Prepend Bot to the token for bot tokens.
      • eg: --t='Bot <token>'
    • --channel=channel_id
      • Specify the ID of the channel to archive
    • --guild=guild_id
      • Specify the ID of the guild to archive
    • --before=YYYY-MM-DD or --before=message_id
      • Specify the date or message ID to get messages before
    • --after=YYYY-MM-DD or --after=message_id
      • Specify the date or message ID to get messages after
    • --dms=user_id
      • Specify user_id of the DM to archive. Not implemented
    • --progress
      • Output your progress
    • --fast-update
      • Fetches messages until it reaches an already archived message.
    • --listen
      • Listens for new messages (BOT only). Not implemented
    • --download_media
      • Enable this flag to download attachments/files (Includes embedded files)

Contributing

Pull requests are welcome. Please open an issue first to discuss what you would like to change.

License

GNU AGPL v3

Similar Resources

Wipe-discord - TUI application to erase Discord messages

Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

Aug 21, 2022

A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertisement Campaigns

A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertisement Campaigns

discord-mass-DM-GO A tool written in GO to demonstrate how bad actors utilize requests to spam Discord Users and launch large unsolicited DM Advertise

Jan 2, 2023

A Discord bot for managing ephemeral roles based upon voice channel member presence.

A Discord bot for managing ephemeral roles based upon voice channel member presence.

ephemeral-roles A Discord bot for managing ephemeral roles based upon voice channel member presence. Quickstart Click on the Ephemeral Roles logo head

Dec 19, 2022

Bot used for https://discord.gg/rflutterdev

FlutterDoc A bot offering exactly what we need in The r/FlutterDev Discord Server that Dyno can't offer us. Quick search patterns that can be embedded

Dec 8, 2022

Harmony is a peaceful Go module for interacting with Discord's API

Harmony Harmony is a peaceful Go module for interacting with Discord's API. Although this package is usable, it still is under active development so p

Sep 18, 2022

An easy-to-use discord bot written in go

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Jan 23, 2022

discord exploit tools written in golang

The ultimate CLI tool for TiKV

Aug 19, 2021

An extension for discordgo to create a Discord bot quickly using the Builder pattern.

botbuilder An extension for discordgo to create a Discord bot quickly using the Builder pattern. Example usage: package main import ( "log" "os"

Oct 12, 2022

Discordo is a lightweight, secure, and feature-rich Discord terminal client.

Discordo is a lightweight, secure, and feature-rich Discord terminal client.

discordo ยท [WIP] Discordo is a lightweight, secure, and feature-rich Discord terminal client. It is highly configurable and has a minimalistic user in

Jan 5, 2023
Comments
  • Threads

    Threads

    Having checked, this doesn't download threads.

    I'm not fluent in Go so I can't implement it myself. I haven't interacted with the threads part of the Discord API so I have no idea how easy or difficult it would be to fix.

A lightweight operating system that allows Discord channels to essentially function as terminal interfaces

KuriOS KuriOS is an lightweight operating system that allows Discord channels to essentially function as terminal interfaces. As such, all permissions

Dec 31, 2021
Github-trending-bot - Go app to archive daily github trending repos.

GITHUB-TRENDING-BOT Simple application to archive daily github trending repos, written in Go. Project Description Uses Go to parse raw html from the g

Jan 7, 2022
Client to send messages to channels in Slack.

Slack Client A simple client to send messages to channels in Slack. Example package main import { "fmt" slack "github.com/tommzn/go-slack" }

Mar 13, 2022
Pro-bot - A telegram bot to play around with the community telegram channels

pro-bot ?? Pro Bot A Telegram Bot to Play Around With The Community Telegram Cha

Jan 24, 2022
Tg-channel-api - A JSON API for latest messages of public Telegram channels

Telegram Channel API A JSON API for latest messages of public Telegram channels.

Oct 27, 2022
discord bot that plays music in a voice channel discord

Music discord bot by serje3 Description A bot written in the Golang language plays music on your server's voice channel on Discord. It can be built an

Nov 17, 2021
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
Discord-notif - Send notifications to discord in Your pipelines or scripts
Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

Dec 15, 2022
Discord-finder - The back-end for retrieving information about people on discord
Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Jan 4, 2022
Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022