8go / 8go/matrix-commander

Feature Request: download room history

Offen
#89 20 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
754
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

[The "Migrate your existing Matrix account" tool](https://ems.element.io/tools/matrix-migration) does quite a good job in transfering your account to a new home server including setting roles and parting the old account, which is quite cool. It does *not* transfer the history though, which is totally plausible from a technical point of view.

Though when migrating to a new home server, leaving years of chat history behind might be a show stopper from finally moving away from matrix.org (which is the case for myself by now). The built-in history download thing from inside Element Web is fine for one or two iterations, but it gets sort of tedious when you have a three-digit number of rooms and dms in your account.

So I was looking for a scriptable solution and found `matrix-commander` having candidate potential. Unfortunately, it does not seem to be able to download a room's history yet, does it? So this is a request for a "download room history" feature.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at the existing room interaction commands in matrix-commander to understand the API client setup. The Matrix nio library's sync and room history methods will be needed. Start by reading the project's documentation on adding new commands and examine how other features like message sending are implemented. Test by fetching history for a single room to verify the output format and pagination.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend-api-design, cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.