{"id":23529681,"url":"https://github.com/jaid/tweeter-server","last_synced_at":"2025-05-14T12:30:21.618Z","repository":{"id":35015334,"uuid":"195555162","full_name":"Jaid/tweeter-server","owner":"Jaid","description":"Sends tweets.","archived":false,"fork":false,"pushed_at":"2022-12-11T04:53:17.000Z","size":3021,"stargazers_count":1,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T19:13:58.700Z","etag":null,"topics":["backend","cli","server","tool","tweeter","tweets","twitter","twitter-api","twitter-app","twitter-bot"],"latest_commit_sha":null,"homepage":"https://github.com/Jaid/tweeter-server","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/Jaid.png","metadata":{"files":{"readme":"readme.md","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},"funding":{"github":"Jaid","custom":"https://twitch.tv/products/jaidchen"}},"created_at":"2019-07-06T15:32:57.000Z","updated_at":"2021-09-17T18:48:53.000Z","dependencies_parsed_at":"2023-01-15T12:03:52.268Z","dependency_job_id":null,"html_url":"https://github.com/Jaid/tweeter-server","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Ftweeter-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Ftweeter-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Ftweeter-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Ftweeter-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaid","download_url":"https://codeload.github.com/Jaid/tweeter-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142063,"owners_count":22021455,"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":["backend","cli","server","tool","tweeter","tweets","twitter","twitter-api","twitter-app","twitter-bot"],"created_at":"2024-12-25T21:12:42.847Z","updated_at":"2025-05-14T12:30:21.600Z","avatar_url":"https://github.com/Jaid.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Jaid","https://twitch.tv/products/jaidchen","https://github.com/sponsors/jaid"],"categories":[],"sub_categories":[],"readme":"# Tweeter Server\n\n\n\u003ca href=\"https://raw.githubusercontent.com/jaid/tweeter-server/master/license.txt\"\u003e\u003cimg src=\"https://img.shields.io/github/license/jaid/tweeter-server?style=flat-square\" alt=\"License\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/sponsors/jaid\"\u003e\u003cimg src=\"https://img.shields.io/badge/\u003c3-Sponsor-FF45F1?style=flat-square\" alt=\"Sponsor tweeter-server\"/\u003e\u003c/a\u003e  \n\u003ca href=\"https://actions-badge.atrox.dev/jaid/tweeter-server/goto\"\u003e\u003cimg src=\"https://img.shields.io/endpoint.svg?style=flat-square\u0026url=https%3A%2F%2Factions-badge.atrox.dev%2Fjaid%2Ftweeter-server%2Fbadge\" alt=\"Build status\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/tweeter-server/commits\"\u003e\u003cimg src=\"https://img.shields.io/github/commits-since/jaid/tweeter-server/v3.5.0?style=flat-square\u0026logo=github\" alt=\"Commits since v3.5.0\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/tweeter-server/commits\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/jaid/tweeter-server?style=flat-square\u0026logo=github\" alt=\"Last commit\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/tweeter-server/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/jaid/tweeter-server?style=flat-square\u0026logo=github\" alt=\"Issues\"/\u003e\u003c/a\u003e  \n\u003ca href=\"https://npmjs.com/package/tweeter-server\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/tweeter-server?style=flat-square\u0026logo=npm\u0026label=latest%20version\" alt=\"Latest version on npm\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/tweeter-server/network/dependents\"\u003e\u003cimg src=\"https://img.shields.io/librariesio/dependents/npm/tweeter-server?style=flat-square\u0026logo=npm\" alt=\"Dependents\"/\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/tweeter-server\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/tweeter-server?style=flat-square\u0026logo=npm\" alt=\"Downloads\"/\u003e\u003c/a\u003e\n\n**Sends tweets.**\n\n\n\n\n\n## Installation\n\n\u003ca href=\"https://npmjs.com/package/tweeter-server\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm-tweeter--server-C23039?style=flat-square\u0026logo=npm\" alt=\"tweeter-server on npm\"/\u003e\u003c/a\u003e\n\n```bash\nnpm install --global tweeter-server@^3.5.0\n```\n\n\u003ca href=\"https://yarnpkg.com/package/tweeter-server\"\u003e\u003cimg src=\"https://img.shields.io/badge/Yarn-tweeter--server-2F8CB7?style=flat-square\u0026logo=yarn\u0026logoColor=white\" alt=\"tweeter-server on Yarn\"/\u003e\u003c/a\u003e\n\n```bash\nyarn global add tweeter-server@^3.5.0\n```\n\n\u003ca href=\"https://github.com/jaid/tweeter-server/packages\"\u003e\u003cimg src=\"https://img.shields.io/badge/GitHub Packages-@jaid/tweeter--server-24282e?style=flat-square\u0026logo=github\" alt=\"@jaid/tweeter-server on GitHub Packages\"/\u003e\u003c/a\u003e  \n(if [configured properly](https://help.github.com/en/github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages))\n\n```bash\nnpm install --global @jaid/tweeter-server@^3.5.0\n```\n\n\n\n\n\n\n## Usage\n\nCreate Twitter apps [here](https://apps.twitter.com).\n\n### Access token from Twitter\n\nThis method is recommended.\n\nIf the developer account (= the account the Twitter app is created with) and the bot account (= the account that automatically posts tweets) are the same, the login process over `tweeter-server`'s Koa server is not needed. Instead, all keys can be specified in `secrets.yml`:\n\n```yaml\ntwitterApps:\n  myApp:\n    consumerKey: a\n    consumerSecret: b\n    accessToken: c\n    accessTokenSecret: d\n```\n\n### Access token from Tweeter Server\n\nThis method is no longer supported.\n\nIf the developer account and the bot account are different, only specify the Twitter app's credentials in `secrets.yml`:\n\n```yaml\ntwitterApps:\n  myApp:\n    consumerKey: a\n    consumerSecret: b\n```\n\nAnd then visit `tweeter-server`'s login endpoint in a web browser where the bot account is logged in.\n\n\n\n\n\n\n## CLI Usage\nAfter installing package `tweeter-server` globally, you can use its command line interface.\n```bash\ntweeter-server\n```\nFor usage instructions:\n```bash\ntweeter-server --help\n```\n\n\n\n\n\n\n\n\n## Development\n\n\n\nSetting up:\n```bash\ngit clone git@github.com:jaid/tweeter-server.git\ncd tweeter-server\nnpm install\n```\nTesting:\n```bash\nnpm run test:dev\n```\nTesting in production environment:\n```bash\nnpm run test\n```\n\n\n## License\n[MIT License](https://raw.githubusercontent.com/jaid/tweeter-server/master/license.txt)  \nCopyright © 2020, Jaid \\\u003cjaid.jsx@gmail.com\u003e (https://github.com/jaid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Ftweeter-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaid%2Ftweeter-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Ftweeter-server/lists"}