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's memory 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 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.

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.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

signal2html-0.1.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: signal2html-0.1.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/0.6.7 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for signal2html-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6af49185516bb80b39097deca878b814a1dbe3d2481276dd6e1d0d144aef7d11
MD5 354d16068321f1b0f2ea642271e2f64c
BLAKE2b-256 1d034de80b90384162b00b8bce4fd1a653430c0876b6e54b9ce8471aad78e908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: signal2html-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/0.6.7 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for signal2html-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16110d702f29953f135391552c8356189273d1d10d47e84da02f7df9be2ed4d7
MD5 3c0bd5770da3a7806bed9ff531d14b76
BLAKE2b-256 db5b87b62786832e0273d78842c883f3d08eb8ba041f3f7824f0609a513eff7d

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