A web application that generates trading card from X (Twitter) profile using TwitterAPI.io.
- Fetch X (Twitter) profile data
- Show stats in trading card display
- Card 3D interactivity
- Clone the repository:
git clone https://github.com/corsfix/x-tcg
- Install dependencies:
npm install
- Create a
.env.localfile in the project root and add your API key:NEXT_PUBLIC_X_API_KEY=your_twitterapi_api_key
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
NEXT_PUBLIC_X_API_KEY: Your TwitterAPI.io key. Sign up at https://twitterapi.io to obtain one.- The app uses a CORS proxy powered by Corsfix to avoid CORS issues.
- Next.js (App Router, TypeScript)
- React (Client Components)
- Tailwind CSS
MIT License
