{"id":17480371,"url":"https://github.com/litomore/twe","last_synced_at":"2025-07-27T13:07:11.990Z","repository":{"id":57382566,"uuid":"125693161","full_name":"LitoMore/twe","owner":"LitoMore","description":"CLI for Twitter","archived":false,"fork":false,"pushed_at":"2023-06-06T00:25:15.000Z","size":782,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-19T00:59:40.734Z","etag":null,"topics":["cli","twitter","twitter-cli"],"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/LitoMore.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}},"created_at":"2018-03-18T04:44:00.000Z","updated_at":"2022-10-03T12:26:33.000Z","dependencies_parsed_at":"2022-09-01T04:40:20.828Z","dependency_job_id":null,"html_url":"https://github.com/LitoMore/twe","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Ftwe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Ftwe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Ftwe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LitoMore%2Ftwe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LitoMore","download_url":"https://codeload.github.com/LitoMore/twe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223903676,"owners_count":17222550,"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":["cli","twitter","twitter-cli"],"created_at":"2024-10-18T21:43:34.905Z","updated_at":"2024-11-10T01:38:08.196Z","avatar_url":"https://github.com/LitoMore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twe\n\n[![](https://img.shields.io/npm/v/twe.svg)](https://www.npmjs.com/package/twe)\n[![](https://img.shields.io/npm/l/twe.svg)](https://github.com/LitoMore/twe/blob/master/LICENSE)\n[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n\nCLI for Twitter\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/LitoMore/twe/master/screenshot.png\" alt=\"Twe\" /\u003e\u003c/div\u003e\n\n## Features\n\n- [x] Fetch home-timeline\n- [x] Fetch mentions-timeline\n- [x] Fetch user-timeline\n- [x] Post statuses\n- [x] Customizable color themes\n- [ ] Multiple account login (WIP)\n- [ ] Post media (WIP)\n- [ ] Post photo from clipboard (WIP)\n\n## Install\n\n```bash\n$ npm i -g twe\n```\n\n## Config\n\n1. Register a [Twitter Elevated app](https://developer.twitter.com/en/portal/products/elevated) with your [Twitter developer account](http://developer.twitter.com)\n2. Give the app `Read and Write` permission and access to your account\n3. Run `twe setup` for setup your keys and tokens\n\n## Usage\n\n```\nUsage\n  $ twe               Fetch home-timeline\n  $ twe h|home        Fetch home-timeline\n  $ twe m|mentions    Fetch mentions-timeline\n  $ twe setup         Setup tokens\n  $ twe colors        Config color themes\n  $ twe \u003cstatus\u003e ...  Post status\n  $ twe --count=10    Fetch with parameters\n```\n\n### Color scheme\n\nUse `twe colors` to customize your color scheme.\n\n\u003cimg width=\"50%\" height=\"50%\" src=\"https://raw.githubusercontent.com/LitoMore/twe/master/media/twe-colors.gif\" alt=\"twe-colors\" /\u003e\n\n### Customizable GET/POST Request\n\nUse `twe get` or `twe post` to create a GET/POST request:\n\n```bash\n$ twe get statuses/home_timeline --include-rts=false\n$ twe post statuses/update --status=hi\n```\n\nYou could use `--repl` option to inspect the result in [REPL](https://nodejs.org/dist/latest/docs/api/repl.html):\n\n```bash\n$ twe get users/show --id=litomore --repl\n\n\u003e result.name\n#=\u003e 'LitoMore' \n```\n\n## Related\n\n- [twii](https://github.com/LitoMore/twii) - API for this module\n\n## License\n\nMIT © [LitoMore](https://github.com/LitoMore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitomore%2Ftwe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitomore%2Ftwe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitomore%2Ftwe/lists"}