Skip to main content

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 was getting full and I wanted to preserve my Signal messages in a nice way.

How?

  1. Install this package using pip:

    $ pip install signal2html
    
  2. 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.

  3. 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.

  4. 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).

  5. 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.

Please be aware that Signal messages are encrypted for a reason, and your contacts may use it specifically because it provides significant privacy. By exporting and decrypting your messages, you should take responsibility for maintaining this same level of privacy (for instance by only storing the plaintext messages on encypted volumes/drives).

Author: Gertjan van den Burg, with the help of some kind contributors.

BuyMeACoffee

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signal2html-0.1.7.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

signal2html-0.1.7-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file signal2html-0.1.7.tar.gz.

File metadata

  • Download URL: signal2html-0.1.7.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2

File hashes

Hashes for signal2html-0.1.7.tar.gz
Algorithm Hash digest
SHA256 811a567c13b6a4f7cbc3882855233055b54bd2a3b5c5157364ec2dba933319fe
MD5 50b376db2e3ef841249410cf313e5011
BLAKE2b-256 2fd638ba2965cb61515299f69d4e4c3446f1e44e4bc3d72688241856f77f7a9a

See more details on using hashes here.

File details

Details for the file signal2html-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: signal2html-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2

File hashes

Hashes for signal2html-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8174b40b1f31b4b566edeb73da242ad85239fcfecf85bfd0c8d2037020f68fb7
MD5 c5e2b999707fdf2512c2a4ff575b7222
BLAKE2b-256 c81a6071a310776e7e32700c7a44e3185876118b6fa554bf04cafa931aef0879

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page