https://github.com/devidw/replika-chat-export

Export your replika chat messages.

https://github.com/devidw/replika-chat-export

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary

Keywords

ai-bot chat chatbot data-ownership download export exporter exports ownership replika
Last synced: 4 months ago · JSON representation

Repository

Export your replika chat messages.

Basic Info
Statistics
  • Stars: 20
  • Watchers: 1
  • Forks: 11
  • Open Issues: 1
  • Releases: 0
Topics
ai-bot chat chatbot data-ownership download export exporter exports ownership replika
Created almost 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme

README.adoc

= Replika Chat Export
ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]

So you want to export your chat messages with your https://replika.com[replika]?

CAUTION: Looking for a no-code, one-click, zero-setup export? Check out my https://chromewebstore.google.com/detail/immbjhielfhbemfnjfnddblchipnefmf[browser extension].

Here is how to do it:

. Clone the repo and open it in VS Code:
+
[source,console]
----
git clone https://github.com/devidw/replika-chat-export
code replika-chat-export
----
. Make sure you have the
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers[Dev
Container's extension] installed and open the folder as container
. The export script will open a web socket connection to ws.replika.com. To
authenticate yourself, you need to provide your auth details. Set the needed env
variables and the script will include them when fetching your messages. You can
set them in a `.env` file:
+
[source,console]
----
REPLIKA_CHAT_ID=XXXXXXXXXXXXXXXXXXXXXXXX
REPLIKA_USER_ID=XXXXXXXXXXXXXXXXXXXXXXXX
REPLIKA_AUTH_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
REPLIKA_DEVICE_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
----
// REPLIKA_TOKEN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+
To get your values, open the dev tools on https://my.replika.com and follow the
details on the screenshot:
+
image::./extract.png[]
+
. Once you have all required env variables set, you can execute the export
script:
+
[source,console]
----
pnpm run dev
----
. This will call `main.js` and queries your messages in chunks of 100 messages,
once there are no more messages to fetch, all your messages will be written into
`messages.json` on your local file system

== Performance

You should be able to export around 300 messags per second.

Owner

  • Name: David Wolf
  • Login: devidw
  • Kind: user
  • Location: The Zone

// uncommenting

GitHub Events

Total
  • Issues event: 1
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 2
  • Fork event: 1
Last Year
  • Issues event: 1
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 2
  • Fork event: 1

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 17
  • Total Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Wolf 6****w 17

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 5
  • Total pull requests: 1
  • Average time to close issues: 4 days
  • Average time to close pull requests: N/A
  • Total issue authors: 4
  • Total pull request authors: 1
  • Average comments per issue: 2.4
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: about 10 hours
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • SirFranclemont (2)
  • donuts-are-good (1)
  • almost2late (1)
  • FormidablePencil (1)
Pull Request Authors
  • phatal (1)
Top Labels
Issue Labels
Pull Request Labels