{"id":17343710,"url":"https://github.com/gma/intercom-dump","last_synced_at":"2025-03-27T09:42:16.519Z","repository":{"id":66252123,"uuid":"543608532","full_name":"gma/intercom-dump","owner":"gma","description":"Download your data from your Intercom account","archived":false,"fork":false,"pushed_at":"2022-09-30T13:18:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T14:31:40.368Z","etag":null,"topics":["customer-support","intercom"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/gma.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}},"created_at":"2022-09-30T13:15:45.000Z","updated_at":"2023-07-18T09:16:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"58edfbe7-151b-485a-acc7-17745296e1f0","html_url":"https://github.com/gma/intercom-dump","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/gma%2Fintercom-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fintercom-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fintercom-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gma%2Fintercom-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gma","download_url":"https://codeload.github.com/gma/intercom-dump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245820868,"owners_count":20677933,"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":["customer-support","intercom"],"created_at":"2024-10-15T16:10:09.306Z","updated_at":"2025-03-27T09:42:16.495Z","avatar_url":"https://github.com/gma.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Intercom Dump\n=============\n\nThis is a quick script that I knocked up to extract all the messages stored in an account on [Intercom]. It's useful if you're moving away from Intercom and want to keep a copy of your data.\n\n[Intercom]: https://intercom.com\n\nInstall\n-------\n\nTo setup the Docker image run:\n\n    $ docker-compose build\n\nThen add your [Intercom access token] to the `.env.secrets` file:\n\n    $ vi .env.secrets\n\nIt only needs to contain one line. Make it look like this:\n\n    ACCESS_TOKEN=\u003cyour-token\u003e\n\nFinally, run the script to download all the data from your account:\n\n    $ docker-compose run --rm intercom ruby dump.rb\n\nYou should then find that the script starts retrieving data from the Intercom API, and storing the raw JSON that their API returns in files inside a folder called `./intercom-dump`.\n\nAt this point, **protect your customers' data by removing `.env.secrets`**.\n\nI also recommend you **encrypt the `./intercom-dump` folder immediately**. Use a strong encryption tool such as PGP (or GnuPG). Can't be bothered? What happens if you should lose your computer, with all your customers' contact details, geographic locations, etc on it? It doesn't bear thinking about, right?\n\nAnd please don't run this on any computers whose filesystems aren't encrypted with strong encryption. You can't securely delete a file from an SSD drive, so if you save one of these JSON files containing customer data to such a disk, the only way you'll be able to reliably destroy the data is to destroy the drive.\n\n[Intercom access token]: https://developers.intercom.com/building-apps/docs/authorization\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgma%2Fintercom-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgma%2Fintercom-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgma%2Fintercom-dump/lists"}