From e491952c144eba450bc1936719bf704e421eaff0 Mon Sep 17 00:00:00 2001 From: jack <152029969+j4ckxyz@users.noreply.github.com> Date: Wed, 31 Dec 2025 15:42:13 +0000 Subject: [PATCH] docs: add bird credit and simplify CLI with ./crosspost --- ._README.md | Bin 0 -> 4096 bytes ._crosspost | Bin 0 -> 4096 bytes README.md | 14 ++++++++------ crosspost | 3 +++ 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 ._README.md create mode 100644 ._crosspost create mode 100644 crosspost diff --git a/._README.md b/._README.md new file mode 100644 index 0000000000000000000000000000000000000000..20ce66a75709a5c2b5ad3124ccf958df51e577bd GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3Cj$e65d#C?1_lNYpYIU^1EU-RLEsn?5(H5M z(!nr;fq{V=!iSTL3=A-F(d7JGy~KiooK(GnqWrSdyu`fZR0c*ShCNT}%k4L{B*Ha~ zGDbsSGz3ONU^E0qLtr!nMnhmU1V%$(Gz3ONU^E0qLjYe0fI6EX3|1o-l95@gP?TDn zUs{x$s*sjnl&z4NSCX1nl9`{En3GefkdvBLqL7r6n3t`fpa9l0#0ik!K^W`}ME_le ILGJ&50KeoYw*UYD literal 0 HcmV?d00001 diff --git a/._crosspost b/._crosspost new file mode 100644 index 0000000000000000000000000000000000000000..20ce66a75709a5c2b5ad3124ccf958df51e577bd GIT binary patch literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3Cj$e65d#C?1_lNYpYIU^1EU-RLEsn?5(H5M z(!nr;fq{V=!iSTL3=A-F(d7JGy~KiooK(GnqWrSdyu`fZR0c*ShCNT}%k4L{B*Ha~ zGDbsSGz3ONU^E0qLtr!nMnhmU1V%$(Gz3ONU^E0qLjYe0fI6EX3|1o-l95@gP?TDn zUs{x$s*sjnl&z4NSCX1nl9`{En3GefkdvBLqL7r6n3t`fpa9l0#0ik!K^W`}ME_le ILGJ&50KeoYw*UYD literal 0 HcmV?d00001 diff --git a/README.md b/README.md index 2741d65..ae2e21a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # 🐦 Tweets-2-Bsky +> **Note**: This project is built on top of [**bird**](https://github.com/steipete/bird) by [@steipete](https://github.com/steipete), which provides the core Twitter interaction capabilities. + A powerful tool to crosspost your Tweets to Bluesky automatically. Now supports **multiple accounts**, **custom PDS (hosting) locations**, and a **user-friendly CLI** for easy management. ## ✨ Features @@ -33,10 +35,10 @@ npm install Instead of editing files, use our simple setup command: ```bash # 1. Set your Twitter cookies (one set of cookies works for all mappings) -npm run cli setup-twitter +./crosspost setup-twitter # 2. Add your first account mapping -npm run cli add-mapping +./crosspost add-mapping ``` *Note: You can find your Twitter `auth_token` and `ct0` in your browser's developer tools under Application -> Cookies.* @@ -57,7 +59,7 @@ npm start If you want to import your historical tweets for a specific account: ```bash # Get the command from the CLI help -npm run cli import-history +./crosspost import-history # Example: Import the last 10 tweets for a specific user npm run import -- --username YOUR_TWITTER_HANDLE --limit 10 @@ -71,9 +73,9 @@ npm start -- --dry-run ### Management Commands ```bash -npm run cli list # Show all active mappings -npm run cli remove # Remove an account mapping -npm run cli set-interval # Change how often to check for new tweets +./crosspost list # Show all active mappings +./crosspost remove # Remove an account mapping +./crosspost set-interval # Change how often to check for new tweets ``` --- diff --git a/crosspost b/crosspost new file mode 100644 index 0000000..a9932d5 --- /dev/null +++ b/crosspost @@ -0,0 +1,3 @@ +#!/bin/bash +# A simple wrapper to run the CLI +npx tsx src/cli.ts "$@" -- 2.51.2