Quickstart

Here it is!

To use X Clone, you’ll need:

  • Rust installed on your machine (v1.65+ recommended).

  • A Twitter Developer Account for API access.

  • An OpenAI API Key for persona cloning magic.


Installation

  1. Clone the Repository:

    bashCopy codegit clone https://github.com/yourusername/clone-x.git
    cd clone-x
  2. Install Dependencies:

    bashCopy codecargo build
  3. Set Up Environment Variables: Copy the .env.example file to .env and fill in your credentials:

    plaintextCopy codeTWITTER_API_KEY=your_twitter_api_key
    TWITTER_API_SECRET=your_twitter_api_secret
    TWITTER_ACCESS_TOKEN=your_twitter_access_token
    TWITTER_ACCESS_SECRET=your_twitter_access_secret
    OPENAI_API_KEY=your_openai_api_key
  4. Run the Application:

    bashCopy codecargo run

Last updated