Twitter Personality 🐦🧠
Overview
Twitter Personality is an innovative web application designed to analyze your Twitter account using the advanced capabilities of Wordware AI Agent. This project gives users a unique look into their Twitter persona by leveraging state-of-the-art AI technologies. It is a fun and insightful tool for anyone curious about their online personality! 🚀
You can explore the AI agent and the prompts used in the application by following this link to Wordware.
Setting Up the Project 🛠️
To get the Twitter Personality project running on your computer, you need to follow these straightforward steps:
-
Clone the Repository 📂: First, you need to bring the Twitter Personality project files from GitHub to your machine. You can do this using methods like Git Bash, GitHub Desktop, or directly through the command line, based on what you find most convenient.
-
Install Dependencies 📦: Next, make sure you have all necessary software pieces ready to go. Navigate to the project directory and run
npm install
. This command will pull and install everything the project requires. -
Environment Variables 🔐: The application uses specific settings known as "environment variables" to function properly. Create a
.env.local
file in the main project folder, starting from a provided.env.example
as a guide. Here are some key variables to configure:DATABASE_URL
: This is your unique Neon database URL. Keep these credentials private and secure.WORDWARE_API_KEY
: You'll need a Wordware API key for processing with the AI.- Various
WORDWARE_PROMPT_IDs
: These identify the specific prompts used in the app. NEXT_PUBLIC_BASE_URL
: This URL points to where your application is running—such ashttp://localhost:3000
during development.LOOPS_API_KEY
: This key is for managing newsletter features through Loops.- PostHog and Stripe variables for analytics and payment functionalities respectively.
- For scraping Twitter data, you'll need at least one or potentially a combination of:
TWITTER_API_TOKEN
,TWITTER_COOKIE
: These tokens configure Twitter API access.APIFY_API_KEY
,SOCIALDATA_API_KEY
: These are for additional web scraping services.
The .env.example
file lists all the necessary environment variables, so be sure to replace placeholder values with the actual ones applicable to your setup.
These steps will help you set up and run your own Twitter Personality project locally, offering a window into the fascinating world of AI-based personality analysis right from your Twitter activity!