{"id":17187995,"url":"https://github.com/icculus/icculustweets","last_synced_at":"2025-03-25T04:27:04.675Z","repository":{"id":106919818,"uuid":"381150023","full_name":"icculus/icculustweets","owner":"icculus","description":"Republish tweets on a website or as RSS feed, and archive them to an email folder.","archived":false,"fork":false,"pushed_at":"2021-07-07T01:13:34.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T04:41:33.000Z","etag":null,"topics":["email","rss","twitter"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icculus.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":["icculus"],"patreon":"icculus"}},"created_at":"2021-06-28T20:11:09.000Z","updated_at":"2022-02-12T22:02:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"6158dac3-3791-46f2-8042-07406c9ca458","html_url":"https://github.com/icculus/icculustweets","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/icculus%2Ficculustweets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Ficculustweets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Ficculustweets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2Ficculustweets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icculus","download_url":"https://codeload.github.com/icculus/icculustweets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245398275,"owners_count":20608754,"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":["email","rss","twitter"],"created_at":"2024-10-15T01:07:50.677Z","updated_at":"2025-03-25T04:27:04.666Z","avatar_url":"https://github.com/icculus.png","language":"PHP","funding_links":["https://github.com/sponsors/icculus","https://patreon.com/icculus"],"categories":[],"sub_categories":[],"readme":"To set this up:\n\n(These dev.twitter.com instructions are right as of November 2012, but the UI\ncould always change. Wing it.)\n\n- Go to dev.twitter.com, login, go to \"My applications\" on the menu that pops\nup when you mouse over your avatar on the top right of the page.\n- Click the \"Create a new application\" button.\n- Fill in whatever you want here. You can leave \"Callback URL\" blank. Agree to\nthe license and click the create button.\n- When you app is created, click \"Create my access token\" at the bottom of the\nnext page.\n\nThis app only needs to be read-only; it never tries to post or edit anything\nwith your account. We just need this so we can grab your tweets from Twitter.\n\nNow you should have four magic values on that page: Consumer Key,\nConsumer Secret, Access Token, and Access Token Secret.\n\nMake a file in this directory called config.php, with these four magic values,\nand your screen name, like this:\n\n\n\u003c?php\ndefine('CONSUMER_KEY', '3k9sjcS4thSfsfsgW');\ndefine('CONSUMER_SECRET', 'AKCdfsdfSF9sdf98989sdfFSsFQasdfokfAdsfqFRTAcVx');\ndefine(\"OAUTH_TOKEN\", '34672782-wwgovSDFSdf9sdf0DFSFLf08afamkg2GZga';\ndefine(\"OAUTH_SECRET\", 'sf0fkv9s82sffah2k3333FSFsfkskaf9aFAf9faghjQ');\ndefine(\"TWITTER_USERNAME\", 'icculus');\n\n\nNow run \"php ./cachetweets.php\" and if all went well, it should pull in a\nbunch of your timeline. You'll want to run cachetweets.php in a cronjob,\nso new tweets show up in your feed whenever the script sees them.\n\nMake sure this directory is somewhere on your web server, and point your\nbrowser at index.php. See your tweets? You're good to go. Point the web \nbrowser at rss/index.php to get an RSS feed.\n\nYou probably want to put this on the webserver with the directory set\nto \"AllowOverride Limit\" so that the .htaccess file works as expected.\n\nYou may need to sniff around for hardcoded things. Grep for 'icculus' to\nfix a hardcoded URL or two. Send patches.\n\nIf you want to archive your tweets to a Maildir, so they can live in a\nmail folder, you can run this:\n\nphp ./archive_tweets.php YOUREMAILADDRESS /location/of/the/Maildir/folder --all\n\nYOUREMAILADDRESS becomes the to/from field in the email, but we write these\nfiles directly to disk without emailing them. In my case, I use something like\nthis in a cronjob (it's smart enough to archive a given tweet only once).\n\nphp ./archive_tweets.php icculus@icculus.org ~/Maildir/.tweets --all\n\n\n\nQuestions: ask me.\n\n--ryan.\n\nicculus@icculus.org\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Ficculustweets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficculus%2Ficculustweets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Ficculustweets/lists"}