Convert your Signal backup to pretty HTML
Project description
signal2html: Convert Signal backups to pretty HTML
This is a Python script to convert a backup of Signal messages to pretty HTML:
Why?
My phone's memory was getting full and I wanted to preserve my Signal messages in a nice way.
How?
-
Install this package using pip:
$ pip install signal2html
-
Next, clone and compile signalbackup-tools as follows:
$ git clone https://github.com/bepaald/signalbackup-tools $ cd signalbackup-tools $ bash BUILDSCRIPT.sh
This should give you a
signalbackup-tools
executable script. -
Create an encrypted backup of your Signal messages in the app (Settings -> Chats and Media -> Create backup), and transfer this to your computer. Make sure to record the encryption password.
-
Unpack your encrypted backup using
signalbackup-tools
as follows:$ mkdir signal-backup/ $ signalbackup-tools --output signal_backup/ signal-YYYY-MM-DD-HH-MM-SS.backup <PASS>
where you replace
signal-YYYY-MM-DD-HH-MM-SS.backup
with the actual filename of your Signal backup and<PASS>
with the 30-digit encryption password (without spaces). -
Now, run
signal2html
on the backup directory, as follows:$ signal2html -i signal_backup/ -o signal_html/
This will create a HTML page for each of the message threads in the
signal_html
directory, which you can subsequently open in your browser.
Notes
This is a hastily-written script that has only been tested on a few Signal database versions. I hope it works on other backup versions as well, but if you encounter any issues please submit a pull request.
See the LICENSE file for licensing details and copyright.
Author: Gertjan van den Burg.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for signal2html-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17bf737a524294f2e351cb594cd6fd81d538b2955d6952f965a4e074a072dec |
|
MD5 | c8970cc7adebf4ca489fe0f313589b6f |
|
BLAKE2b-256 | 1fd104547d749113f6fffd21ce09e0d85b86f2b7693e5ef194f6f32aa7b68e95 |