This repository contains scripts to migrate Discord forum channels to Discourse.
- discord-export exports data from Discord into a local database.
- discourse-import imports data from the local database into Discourse.
flowchart LR
subgraph Discord ["Discord"]
discordAPI[("REST API")]
end
subgraph LocalStorage ["Local Storage"]
mariadbDB[("MariaDB Database")]
end
subgraph Discourse ["Discourse"]
discourseImport[("Import Script")]
end
discordAPI -->|Export data| mariadbDB
mariadbDB -->|Data| discourseImport
style Discord fill:#5865F2,color:#FFFFFF
style Discourse fill:#000000,color:#FFFFFF
style LocalStorage fill:#f9f9f9,color:#000000
- Discourse server
- Using Discourse Docker
- On a virtual machine (needed for Arm-based Mac).
- A MySQL or MariaDB database with a user that has access to a database.