{"id":13592077,"url":"https://github.com/kyleconroy/grain","last_synced_at":"2026-03-10T08:03:59.549Z","repository":{"id":57520838,"uuid":"121921809","full_name":"kyleconroy/grain","owner":"kyleconroy","description":"The Entire History of You","archived":false,"fork":false,"pushed_at":"2018-07-14T23:34:38.000Z","size":281,"stargazers_count":35,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T13:51:26.663Z","etag":null,"topics":["archiver","facebook","twitter"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kyleconroy.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}},"created_at":"2018-02-18T05:32:39.000Z","updated_at":"2023-04-14T02:00:45.000Z","dependencies_parsed_at":"2022-09-26T18:01:08.742Z","dependency_job_id":null,"html_url":"https://github.com/kyleconroy/grain","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/kyleconroy%2Fgrain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleconroy%2Fgrain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleconroy%2Fgrain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleconroy%2Fgrain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyleconroy","download_url":"https://codeload.github.com/kyleconroy/grain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245003307,"owners_count":20545592,"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":["archiver","facebook","twitter"],"created_at":"2024-08-01T16:01:05.572Z","updated_at":"2026-03-10T08:03:54.516Z","avatar_url":"https://github.com/kyleconroy.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Grain\n\nThe Entire History of You\n\n## Usage\n\nGrain looks for API access keys and secrets in `config.toml`. \n\n## Twitter\n\nGrain will download a full archive of your Twitter account, unlike the official\nTwitter Archive. Your Grain archive includes the following records:\n\n- Direct messages\n- Favorites\n- Followers\n- Friends\n- Lists\n- Tweets\n\nThe archive also includes all media associated with the above records.\n\nFor privacy and performance reasons, you'll need to obtain your own API\ncredentials.\n\n1. Log onto [Twitter](https://twitter.com) with the account you'd like to archive\n2. Request your archive from your [Settings page](https://twitter.com/settings/account)\n3. Create a new [application](https://apps.twitter.com)\n4. Go to the \"Keys and Access Tokens\" section for your application\n5. Generate access tokens via \"Create my access token\"\n6. Fill in `config.toml` with the access and secret tokens\n\n```\n[twitter]\nusername = \"\"\ntweet-csv = \"path/to/tweets.csv\"\nconsumer-key = \"\"\nconsumer-secret = \"\"\naccess-token = \"\"\naccess-token-secret = \"\"\n```\n\nRunning `grain` will download records to `archive/twitter` in the current\nworking directory.\n\n### Limitations\n\nThe Twitter API has a set of limitations which makes archiving certain records\ndifficult.\n\n- The API only returns the most recent 3,200 tweets from your timeline. You'll\n  need to download your official Twitter Archive for Grain to successfully\narchive all of your tweets.\n- Only the last 30 days of direct message activity is available via the API.\n- Rate limits are very aggressive which means certain records take forever to\n  archive.\n\n## Facebook\n\nComing soon…\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleconroy%2Fgrain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyleconroy%2Fgrain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleconroy%2Fgrain/lists"}