{"id":21643918,"url":"https://github.com/application-research/estuary-tweeter","last_synced_at":"2025-10-04T18:10:37.701Z","repository":{"id":82191985,"uuid":"583753272","full_name":"application-research/estuary-tweeter","owner":"application-research","description":"Estuary tweeter that tweets daily, weekly and monthly stats","archived":false,"fork":false,"pushed_at":"2023-01-12T13:23:15.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T04:11:09.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/application-research.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-12-30T20:00:13.000Z","updated_at":"2022-12-31T04:05:58.000Z","dependencies_parsed_at":"2023-03-08T06:30:40.744Z","dependency_job_id":null,"html_url":"https://github.com/application-research/estuary-tweeter","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/application-research%2Festuary-tweeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Festuary-tweeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Festuary-tweeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Festuary-tweeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/estuary-tweeter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244394463,"owners_count":20445634,"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-11-25T05:36:53.206Z","updated_at":"2025-10-04T18:10:32.632Z","avatar_url":"https://github.com/application-research.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Estuary statistics tweeter\n\nSimple Estuary stat \"Tweeter\"\n\nThis uses the metrics-api web service endpoint: https://metrics-api.estuary.tech/api/v1/stats/to-twitter?from=2022-12-01\u0026to=2022-12-30. Dates varies based on the scheduled job run.\n## Set up twitter API key\n\n```\nCONSUMER_KEY=\u003cTWITTER_API_KEY\u003e\nCONSUMER_SECRET=\u003cTWITTER_API_SECRET\u003e\nACCESS_TOKEN_KEY=\u003cTWITTER_API_ACCESS_TOKEN_KEY\u003e\nACCESS_TOKEN_SECRET=\u003cTWITTER_API_ACCESS_TOKEN_SECRET\u003e\n```\n\n## Running the script\n``` \nnode index.js\n```\n\nThis runs a job that will run on the following scheduler\n```\n// Run daily every day at 1:00pm\nSchedule.scheduleJob('0 1 * * *', () =\u003e {\n    daily.run();\n})\n\n// Run weekly 10:00AM on Friday\nSchedule.scheduleJob('0 10 * * 5', () =\u003e {\n    weekly.run();\n})\n\n// Run monthly 12AM 1st day of the Month\nSchedule.scheduleJob('0 0 1 * *', () =\u003e {\n    monthly.run();\n})\n```\n\n## Other utils\nTo quickly generate a stats text to tweet.\n```\nnode utils/report-stats.js 2022-12-30 2022-12-31\n```\n\n## Output\n```\n@Estuary_Tech stats:\n\nfrom 2022-12-31 to 2022-01-01\n\n🗂️Content deals made over 24 hours: 44\n🗄Content deals size made over 24 hours: 699.41 GB\n💼Sealed deals over 24 hours: 0\n🤝Total size of sealed deals over 24 hours: 0 GB\n\nAbout Estuary:\n🌐https://estuary.tech\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Festuary-tweeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Festuary-tweeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Festuary-tweeter/lists"}