{"id":15462636,"url":"https://github.com/devidw/replika-diary-export","last_synced_at":"2025-04-22T10:46:46.862Z","repository":{"id":105128983,"uuid":"500096362","full_name":"devidw/replika-diary-export","owner":"devidw","description":"Export your entire Replika diary including all images.","archived":false,"fork":false,"pushed_at":"2023-02-04T09:17:04.000Z","size":10,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T10:46:34.199Z","etag":null,"topics":["api","data-ownership","downloader","ecmascript","ecmascript-modules","export","exporter","fetch","js","nodejs","npm","npm-package","offline","replika"],"latest_commit_sha":null,"homepage":"https://index.garden/replika-export/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devidw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"devidw"}},"created_at":"2022-06-05T12:49:50.000Z","updated_at":"2024-04-26T08:27:41.000Z","dependencies_parsed_at":"2023-06-07T20:30:15.607Z","dependency_job_id":null,"html_url":"https://github.com/devidw/replika-diary-export","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Freplika-diary-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Freplika-diary-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Freplika-diary-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Freplika-diary-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/replika-diary-export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250222575,"owners_count":21394885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","data-ownership","downloader","ecmascript","ecmascript-modules","export","exporter","fetch","js","nodejs","npm","npm-package","offline","replika"],"created_at":"2024-10-02T00:02:55.632Z","updated_at":"2025-04-22T10:46:46.842Z","avatar_url":"https://github.com/devidw.png","language":"JavaScript","funding_links":["https://github.com/sponsors/devidw"],"categories":[],"sub_categories":[],"readme":"#  Replika Diary Export\n\nThis repository is a simple way to export your [replika](https://replika.com) diary to a local JSON file (`./export/diary.json`). All images are exported into a separate folder as well (`./export/images`).\n\n\n\u003e **Note**\n\u003e Looking for a chat export instead? See [replika-chat-export](https://index.garden/replika-export/).\n\n\n## Installation\n```\nnpm install @devidw/replika-diary-export\n```\n\n\n## Usage\nOnce you have installed the package, you need to set a few environment variables, which the script will use to identify your account when connecting to the replika API at https://my.replika.com/api/.\n\nThese variables are:\n\n* `X_AUTH_TOKEN`\n* `X_USER_ID`\n* `X_DEVICE_ID`\n* `X_TIMESTAMP_HASH`\n\nYou can find these variables inspecting the traffic from your developer tools in your browser. To do so, navigate to the network tab and see the request headers to the replika API. From there, you can find the values of the variables and copy them to set the environment variables.\n\nWhen you are ready, here is how you can export your diary:\n\n```js\nimport ReplikaDiaryExport from \"@devidw/replika-diary-export\"\n\nconst replikaDiaryExport = new ReplikaDiaryExport()\nreplikaDiaryExport.export()\n```\n\nOnce the execution is finished, you will find a file called `diary.json` in the `./export` folder containing the exported diary. As well, you will find a folder called `images` containing all the images exported and downloaded from the replika API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Freplika-diary-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Freplika-diary-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Freplika-diary-export/lists"}