{"id":15679831,"url":"https://github.com/frontendwizard/thereactdev","last_synced_at":"2025-05-07T10:43:50.561Z","repository":{"id":44117087,"uuid":"174007920","full_name":"frontendwizard/TheReactDev","owner":"frontendwizard","description":"The function that feeds @TheReactDev twitter.","archived":false,"fork":false,"pushed_at":"2022-12-08T15:54:49.000Z","size":89,"stargazers_count":12,"open_issues_count":7,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-06T06:12:29.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/frontendwizard.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}},"created_at":"2019-03-05T19:29:46.000Z","updated_at":"2023-06-12T20:32:02.000Z","dependencies_parsed_at":"2023-01-25T16:45:07.102Z","dependency_job_id":null,"html_url":"https://github.com/frontendwizard/TheReactDev","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/frontendwizard%2FTheReactDev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontendwizard%2FTheReactDev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontendwizard%2FTheReactDev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontendwizard%2FTheReactDev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frontendwizard","download_url":"https://codeload.github.com/frontendwizard/TheReactDev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252862427,"owners_count":21815856,"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-03T16:37:35.449Z","updated_at":"2025-05-07T10:43:50.521Z","avatar_url":"https://github.com/frontendwizard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TheReactDev\n\nThe function that feeds @TheReactDev twitter.\n\nThis project was inspired by\n[this article](https://dev.to/danielelkington/a-bot-that-tweets-new-dev-articles-about-vue-4p5a).\n\nThis function depends on a few environment variables:\n\n- `dev_tag`: the dev.to tag to which the crawler will get the latest articles.\n- `twitter_bot_screen_name`: the name of the account that will tweet the\n  articles.\n- Twitter keys:\n  - `twitter_consumer_key`\n  - `twitter_consumer_secret`\n  - `twitter_access_token`\n  - `twitter_access_token_secret`\n- `telegram_bot_token`: the telegram bot who's going to log messages for\n  maintenance/debug purposes\n- `telegram_chat_id`: the channel where the bot will send messages\n\nYou just need to create a `env.yml` file and put those values in, like this:\n\n```yml\ndev_tag: \"react\"\ntwitter_bot_screen_name: \"NameOfTheTwitterAccount\"\ntwitter_consumer_key: \"...\"\ntwitter_consumer_secret: \"...\"\ntwitter_access_token: \"...\"\ntwitter_access_token_secret: \"...\"\ntelegram_bot_token: \"...\"\ntelegram_chat_id: \"...\"\n```\n\nIt's worth noting that I used telegram here because it was simple and it\nprobably is the fastest way I can see a message in case things go wrong.\nProbably sentry.io would be more\n\nI started using azure, like\n[twitter-vue-dev](http://github.com/danielelkington/twitter-vue-dev/), but after\na few hours of headaches I'm switching to the serverless framework with aws.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontendwizard%2Fthereactdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontendwizard%2Fthereactdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontendwizard%2Fthereactdev/lists"}