Create D&D-style alignment charts for X (formerly Twitter) users. Place users on a Lawful-Chaotic and Good-Evil grid based on an AI analysis of their tweets or manually position them. Powered by Exa and Vercel AI SDK.
Try it here! → magic-x-alignment-chart.vercel.app
video_demo.mp4
- Enter an X username in the input field
- Choose between:
- AI Analysis (purple button): Analyzes the user's tweets and places them on the chart
- Random Placement (black button): Places the user randomly on the chart for manual positioning
- View the alignment chart with positioned users
- Drag unlocked users to reposition them (AI-placed users are locked)
- Click on chart axis labels to learn more about each alignment
- Sign up for accounts with the AI provider you want to use (e.g., OpenAI (default), Anthropic), and obtain an API key.
- Setup a Redis DB on Upstash Redis
- Create a
.env.local
file based on the.env.example
template bun install
to install dependenciesbun dev
to run the development server
- Original concept by mdmatthewdc
- Draggable v0 by rauchg
- AI version (this one) by f1shy-dev