{"id":13343747,"url":"https://github.com/kavun/random-spreadsheet-tweet-bot","last_synced_at":"2026-06-18T07:31:43.560Z","repository":{"id":146499920,"uuid":"171793884","full_name":"kavun/random-spreadsheet-tweet-bot","owner":"kavun","description":"tweet random cells from a Google spreadsheet","archived":false,"fork":false,"pushed_at":"2019-03-18T18:38:10.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T04:15:31.324Z","etag":null,"topics":["google-sheets","google-spreadsheet","google-spreadsheets","now","random","tabletop","twit","twitter","twitter-bot","zeit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kavun.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-21T03:31:34.000Z","updated_at":"2023-03-08T04:43:59.000Z","dependencies_parsed_at":"2023-07-14T05:30:41.701Z","dependency_job_id":null,"html_url":"https://github.com/kavun/random-spreadsheet-tweet-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kavun/random-spreadsheet-tweet-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavun%2Frandom-spreadsheet-tweet-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavun%2Frandom-spreadsheet-tweet-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavun%2Frandom-spreadsheet-tweet-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavun%2Frandom-spreadsheet-tweet-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kavun","download_url":"https://codeload.github.com/kavun/random-spreadsheet-tweet-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kavun%2Frandom-spreadsheet-tweet-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34481288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["google-sheets","google-spreadsheet","google-spreadsheets","now","random","tabletop","twit","twitter","twitter-bot","zeit"],"created_at":"2024-07-29T19:31:57.643Z","updated_at":"2026-06-18T07:31:43.545Z","avatar_url":"https://github.com/kavun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Spreadsheet Tweet Bot\n\n- `./index.js` will pull a random cell value from a public Google Spreadsheet with `tabletop` and tweet it with `twit`\n- `./now.js` exposes a `/tweet` route via express to do the same\n\nThis is running right now randomly tweeting my band's lyrics once a day: https://mobile.twitter.com/Forester_TN\n\n## configure\n\n### .env\n\n    CONSUMER_KEY=pTlxxxxxxxxxxxxxxxuoY\n    CONSUMER_SECRET=14tNNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSJ1R\n    ACCESS_TOKEN=1097xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0NPk\n    ACCESS_TOKEN_SECRET=Y6k2GxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiJk2b\n    GOOGLE_SHEET_URL=https://docs.google.com/spreadsheets/d/1F9axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrdQo/edit?usp=sharing\n    GOOGLE_SHEET_HEADER=header\n\n### GOOGLE_SHEET_URL\n\nhttps://www.npmjs.com/package/tabletop#if-your-publish-to-web-url-doesnt-work\n\n### GOOGLE_SHEET_HEADER\n\nthe content of your first cell (header cell)\n\n## run\n\n    npm start\n\n## deploy\n\n- deploy to now (https://zeit.co/)\n- hit the `/tweet` route on a schedule (I use https://cron-job.org)\n\n### now.json\n\nYou can deploy `./now.js` to now but you have to create a `./now.json` file, and add your now secrets\n\n    {\n        \"name\": \"MyTweetBot\",\n        \"version\": 2,\n        \"builds\": [\n            { \"src\": \"now.js\", \"use\": \"@now/node\" }\n        ],\n        \"routes\": [\n            { \"src\": \"/(.*)\", \"dest\": \"now.js\" }\n        ],\n        \"env\": {\n            \"CONSUMER_KEY\": \"@secret-consumer-key\",\n            \"CONSUMER_SECRET\": \"@secret-consumer-secret\",\n            \"ACCESS_TOKEN\": \"@secret-access-token\",\n            \"ACCESS_TOKEN_SECRET\": \"@secret-access-token-secret\",\n            \"GOOGLE_SHEET_URL\": \"https://docs.google.com/spreadsheets/d/xxxxxxxxxxxxxxx/edit?usp=sharing\",\n            \"GOOGLE_SHEET_HEADER\": \"header\"\n        }\n    }","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavun%2Frandom-spreadsheet-tweet-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavun%2Frandom-spreadsheet-tweet-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavun%2Frandom-spreadsheet-tweet-bot/lists"}