{"id":17026234,"url":"https://github.com/kevboh/shed-spill","last_synced_at":"2025-03-22T19:15:42.364Z","repository":{"id":143161259,"uuid":"545520853","full_name":"kevboh/shed-spill","owner":"kevboh","description":"gulp down a user's timeline before Twitter makes you mine bitcoin to read tweets or something","archived":false,"fork":false,"pushed_at":"2022-11-11T12:48:32.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T23:18:06.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevboh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-10-04T14:13:22.000Z","updated_at":"2022-11-18T05:59:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a3f190b-29bf-469f-9545-d4300ebc4b21","html_url":"https://github.com/kevboh/shed-spill","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/kevboh%2Fshed-spill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fshed-spill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fshed-spill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fshed-spill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevboh","download_url":"https://codeload.github.com/kevboh/shed-spill/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245007238,"owners_count":20546143,"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":[],"created_at":"2024-10-14T07:31:13.608Z","updated_at":"2025-03-22T19:15:42.334Z","avatar_url":"https://github.com/kevboh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shed,spill\n\nA tool to pull tweets from Twitter, which is being forgotten.\n\n## Using it\n\nLike everything else about it, Twitter’s developer tooling and APIs are largely incomprehensible. To make this tool work you'll need to register an app on their dev portal and extract a few keys; I’ll walk you through it.\n\n1. Make a copy of the `.env.example` file in this repo and call it `.env`. To do this on the command line: `mv .env.example .env`. This is where we’re going to fill in some information Twitter needs to be queried.\n2. Go to [https://developer.twitter.com](https://developer.twitter.com) and sign up if needed.\n3. In **Projects \u0026 Apps**, click **Add App**, then **Create New**.\n4. Choose **Development**.\n5. Name it whatever you’d like, but _shed,spill_ would match the repo name.\n6. Finish setup. You will be taken to the app’s dashboard.\n7. Under **Authentication Tokens** is a section labeled `Access Token and Secret`. It should have a little subhed that says `For @your_twitter_handle`. Click **Generate**.\n8. Copy the **API Key** and paste it _inside the quotes_ in the `.env` file you made on the line labeled `CONSUMER_KEY`. It should look like `CONSUMER_KEY=\"what-you-copied\"`.\n9. Copy the **API Key Secret** and paste it inside the quotes next to `CONSUMER_SECRET`.\n8. Copy the **Access Token** and paste it inside the quotes next to `TOKEN_KEY`.\n9. Copy the **Access Token Secret** and paste it inside the quotes next to `TOKEN_SECRET`.\n10. [Install Go](https://go.dev/dl/).\n11. On the command line, run `go run main.go username`, where `username` is the account you want to download. Do not put an `@` sign. For example, `go run main.go kevboh` would download my lone tweet.\n\nAfter running, a file named `username.csv` will be present in this folder with all the tweets the tool was able to fetch. Twitter limits access to the most recent 3,200 tweets.\n\nSorry for all the setup.\n\n## Errata\n\nName:\n\n![german for forget is vergessen](res/name1.png)\n\n![pun on Go and translate back](res/name2.png)\n\n## License\n\nSee [LICENSE.md](./LICENSE.md). You can view the license’s history [here](https://git.sr.ht/~boringcactus/fafol/tree/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevboh%2Fshed-spill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevboh%2Fshed-spill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevboh%2Fshed-spill/lists"}