{"id":19711071,"url":"https://github.com/eilvelia/keybase-export","last_synced_at":"2025-07-12T19:32:22.124Z","repository":{"id":48021200,"uuid":"169862206","full_name":"eilvelia/keybase-export","owner":"eilvelia","description":"A tool to export Keybase chats","archived":false,"fork":false,"pushed_at":"2024-09-10T19:10:28.000Z","size":199,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T18:52:00.290Z","etag":null,"topics":["keybase","keybase-bot"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eilvelia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-02-09T11:56:19.000Z","updated_at":"2025-02-06T22:30:00.000Z","dependencies_parsed_at":"2024-09-10T17:03:54.870Z","dependency_job_id":"d4151147-e1dc-40e7-a722-e334c35b756d","html_url":"https://github.com/eilvelia/keybase-export","commit_stats":null,"previous_names":["eilvelia/keybase-export"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilvelia%2Fkeybase-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilvelia%2Fkeybase-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilvelia%2Fkeybase-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilvelia%2Fkeybase-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eilvelia","download_url":"https://codeload.github.com/eilvelia/keybase-export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549252,"owners_count":21607377,"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":["keybase","keybase-bot"],"created_at":"2024-11-11T22:09:42.457Z","updated_at":"2025-04-29T17:31:34.432Z","avatar_url":"https://github.com/eilvelia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keybase-export \u0026nbsp; [![npm](https://img.shields.io/npm/v/keybase-export.svg)](https://www.npmjs.com/package/keybase-export)\n\nA tool to export [Keybase][] chats.\n\n[Keybase]: https://keybase.io/\n\n## Features\n\n- [x] Configuration file\n- [x] Export to [jsonl][] (json lines)\n- [ ] Export to SQLite\n- [x] Export to ElasticSearch\n- [x] Watcher for new messages\n- [x] Attachment downloading\n- [ ] Incremental export\n\n[jsonl]: http://jsonlines.org/\n\n## Requirements\n\n- Node.js (around version 10 or newer)\n\n## Installation\n\n`keybase-export` can be installed via npm:\n\n```console\n$ npm install --global keybase-export\n```\n\nIt is also possible to launch it as `npx keybase-export` without installation.\n\nAlternatively, the latest possible version can be obtained by\ncloning the repository and running `npm install`.\n\n## Usage\n\n```console\n$ keybase-export [\u003coptions\u003e] [\u003cconfig\u003e]\n```\n\nThe configuration of `keybase-export` is pretty barebones: it reads everything\nit needs from a json file, that can be specified as a command line argument, or\ndefaults to the `config.json` file in the current working directory. See the\n[config.example.json][] file for a config example and [config.ts][] for the\nconfig schema.\n\n`keybase-export --init \u003cfilename\u003e` copies the config example to `\u003cfilename\u003e`.\nAfterwards, you should edit it. At the very least, the `chats`, `username`,\nand `paperkey` fields should be replaced. That is, for this to work, you\nshould generate a paper key and paste it into the config. (There is an\nalternative `initFromRunningService` method that uses the running\ninstance of keybase, but it is not as stable.)\n\nTo enable debug logs, set the `DEBUG` env variable to `keybase-export*`.\n\n[config.example.json]: config.example.json\n[config.ts]: src/config.ts\n\n## Troubleshooting\n\n- `Path can't be longer than 108 characters (failed to chdir)`\n\nOn macOS, this error can occur during attachment downloading due to way too long\n`$TMPDIR`. As a workaround, just set the `TMPDIR` env variable to something\nshorter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feilvelia%2Fkeybase-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feilvelia%2Fkeybase-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feilvelia%2Fkeybase-export/lists"}