Backup your Replika chat logs directly in Google Colab
- Does not require a local installation of Python or any specific Python knowledge
- Backup can be saved directly to your Google Drive
- Very minimal "hacking" ability required (really, not much 😉)
- A Google account is required
This repo is based on the work of others (see below). It is primarily a refactoring of the code with an incorporated workflow into Google Colab. The main purpose was to remove the start-up complexities for new users by removing the need for specific platform installation. An additional purpose was to provide a transparent and tracable workflow for the user.
All details of the log extraction are contained within the workbook. All data remains on the user side, within the user's Google workspace or as a dowload to the user's local browser. Colab virtual environments are de-activated and deleted after ~1.5 hours of inactivity. No one can access information contained within that environment after it is destroyed.
There is no intended secondary logging in this project; in other words, there is no logging of who clones this repo or uses the Colab notebook instance (this is not allowed by git). There is no intended tracking performed via imported 3rd party modules.
Note: the init
JSON string, which is required to extract the log, does contain personal login information. You should not redestribute your own Colab workbook without first removing the init
JSON string information.
This repository is open source and free to use for other projects or redistribution. See LICENSE for further information.
Use the link above (also here ) to directly start the notebook in Colab. Note: A Google account is required
This repo was based upon the fundamental work of others.
- @Hotohori Replika_backup
which was a fork of: - @alan-couzens replika_stuff