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.shThis should give you a
signalbackup-toolsexecutable 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-toolsas 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.backupwith the actual filename of your Signal backup and<PASS>with the 30-digit encryption password (without spaces). -
Now, run
signal2htmlon 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_htmldirectory, which you can subsequently open in your browser.
Notes
This is a hastily-written script that has only been tested on my backup. I hope it works on other backups as well, but if you encounter any issues please submit a patch.
See the LICENSE file for licensing details and copyright.
Author: Gertjan van den Burg.
Metadata
Release files for signal2html 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| signal2html-0.1.0.tar.gz | 12.4 kB | Without provenance | Details for signal2html-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| signal2html-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for signal2html-0.1.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / signal2html-0.1.0.tar.gz
| Download URL | signal2html-0.1.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
572fce019fd9e0e84d8fdb9f2078c0b4454cace1c4b558e358de0a37a6609ed9
|
|
BLAKE2b-256 checksum How to use checksums |
ed0c024dfc051b55e9baa7cf4d5dd4b4090be93130bc502b4b6d37c0136df394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/0.6.7 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / signal2html-0.1.0-py3-none-any.whl
| Download URL | signal2html-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fa11084139e00f6b11a7821fef946f7320ba30c164b35ec3a6a55a8e43ab8d8
|
|
BLAKE2b-256 checksum How to use checksums |
b4633bf07d086dc6a050ba5c15b1208cea3dd71def46b085ea7a4db10c9fb78f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/0.6.7 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for signal2html 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.