Giter VIP home page Giter VIP logo

twitter's Introduction

Twitter Personality ๐Ÿฆ๐Ÿง 

Twitter Personality

Twitter Personality is a web application that analyzes your Twitter handle to create a personalized personality profile using Wordware AI Agent. This project leverages cutting-edge AI technologies to provide users with unique insights into their Twitter persona. ๐Ÿš€

You can explore the AI agent and prompts used in this app by visiting this Wordware link.

Setting Up the Project ๐Ÿ› ๏ธ

To set up the Twitter Personality project on your local machine, follow these steps:

  1. Clone the Repository ๐Ÿ“‚: Clone the Twitter Personality repository from GitHub to your local machine using your preferred method (e.g., Git Bash, GitHub Desktop, or the command line).
  2. Install Dependencies ๐Ÿ“ฆ: Navigate to the project directory and run npm install to install all the required dependencies.
  3. Environment Variables ๐Ÿ”: Create a .env.local file in the project root directory based on the .env.example file. Here are some key environment variables you'll need to set:
    • DATABASE_URL: Your Neon database URL (Do not expose these credentials to the browser).
    • WORDWARE_API_KEY: Your Wordware API key for AI processing.
    • WORDWARE_PROMPT_ID, WORDWARE_ROAST_PROMPT_ID, WORDWARE_FULL_PROMPT_ID, WORDWARE_PAIR_PROMPT_ID: The specific Wordware prompt IDs for this project.
    • NEXT_PUBLIC_BASE_URL: The base URL for your application (e.g., http://localhost:3000 for local development).
    • LOOPS_API_KEY: Your Loops API key for newsletter functionality.
    • NEXT_PUBLIC_POSTHOG_KEY, NEXT_PUBLIC_POSTHOG_HOST, POSTHOG_PROJECT_ID, POSTHOG_PERSONAL_API_KEY: PostHog analytics configuration.
    • STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_ID, STRIPE_PRODUCT_ID: Stripe configuration for payments.
    • NEXT_PUBLIC_PAIR_PASSWORD: Password for pair functionality.
    • For scraping, you'll need at least one of the following (we use all of these in a system of fallback functions)
      • TWITTER_API_TOKEN and TWITTER_COOKIE: Twitter API configuration.
      • APIFY_API_KEY: API key for Apify web scraping service.
      • SOCIALDATA_API_KEY: SocialData API key.

Refer to the .env.example file for a complete list of required environment variables.

Example .env.local file content (replace with your actual values):

twitter's People

Contributors

ky-zo avatar nyacg avatar danny-hunt avatar unable12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.