← 开源
wordware-ai

twitter

AI Agent for Twitter Personality Analysis

ApplicationsPersonalTypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.45k
Star
227
Fork
+-1
本周
8
贡献者
创建于 2024-06-03 · 更新于 2026-10-10 · 今日第 10307 名
主要开发者
ky-zonyacgdanny-hunt

wordware-ai/twitter 排名第 10,307,有 1,448 个星标。

同类别比较

wordware-ai/twitter 排名第 10,307,此处有 8 个同类条目;SociallyIneptWeeb/AICoverGen 排名第 10,304。

同类别比较
名称排名指标
wannabespace/conar10,290
语言:
TypeScript
星标数:
1,452
分叉数:
106
简介:
AI-powered tool for working with Postgres, MySQL, MSSQL and Clickhouse.
nod-ai/AMD-SHARK-Studio10,294
语言:
Python
星标数:
1,451
分叉数:
166
WSTxda/SwitchAI10,301
语言:
Kotlin
星标数:
1,449
分叉数:
63
简介:
Easily select, start, and manage your preferred AI digital assistants on Android.
SociallyIneptWeeb/AICoverGen10,304
语言:
Python
星标数:
1,448
分叉数:
363
简介:
A WebUI to create song covers with any RVC v2 trained AI voice from YouTube videos or audio files.
bramses/chatgpt-md10,310
语言:
TypeScript
星标数:
1,446
分叉数:
108
简介:
A (nearly) seamless integration of ChatGPT into Obsidian.
m1guelpf/yt-whisper10,313
语言:
Python
星标数:
1,444
分叉数:
144
简介:
Using OpenAI's Whisper to automatically generate YouTube subtitles
ZHO-ZHO-ZHO/ComfyUI-InstantID10,315
语言:
Python
星标数:
1,442
分叉数:
78
简介:
Unofficial implementation of InstantID for ComfyUI
toandaominh1997/EfficientDet.Pytorch10,319
语言:
Python
星标数:
1,440
分叉数:
303
简介:
Implementation EfficientDet: Scalable and Efficient Object Detection in PyTorch
关键参数与规格
关键参数与规格
参数值
语言TypeScript
类别Applications
子类别Personal
关键词Social media
星标数1,448
分叉数227
贡献者8
创建日期2024-06-03
更新日期2026-10-10
1 天星标数0
7 天星标数-1
排名10,307
上次排名10,312
排名变化5
7 天星标排名17,148
上次 7 天星标排名18,255
7 天星标排名变化1,107
总星标排名8,333
上次总星标排名8,324
总星标排名变化-9
国家USA
README 摘录

This is the relaunched version: official X API for data, Vercel AI SDK + AI Gateway for generation (model swappable via one env var), Next. All previously generated analyses remain cached in the database and keep rendering. Enter a Twitter/X username (or two, for a compatibility check). The profile and ~15 recent posts are fetched via the official **X API v2** (SocialData as fallback) and cached in Neon Postgres. The result is cached, shareable, and rendered into dynamic OG images

. **Environment variables**: create based on : : Neon Postgres connection string. (optional): any Gateway model string, e. Swapping models is just changing this var. : official X API v2 bearer token (pay-per-use; buy credits in the X developer console). Architecture notes **Prompts** live in (the original viral prompts, ported from Wordware). **Streaming contract**: and stream raw JSON text; the client renders partial JSON as it arrives ( ). **Brand**: Sauna tokens are defined in + ; official logo SVGs in .

常见问题

记录了多少星标和分叉?

wordware-ai/twitter 有 1,448 个星标和 227 个分叉。

仓库排名是多少?

wordware-ai/twitter 排名第 10,307。

记录的语言和类别是什么?

wordware-ai/twitter 有 1,448 个星标,语言为 TypeScript,类别为 Applications。

哪个仓库排名最接近?

wordware-ai/twitter 与 SociallyIneptWeeb/AICoverGen 比较,后者排名第 10,304,有 1,448 个星标。

README

Twitter Personality 🐦🧠

Twitter Personality is a web application that analyzes your Twitter/X handle to create a personalized personality profile using an AI agent — built by the team behind Sauna, your AI coworker.

The site went viral in 2024. This is the relaunched version: official X API for data, Vercel AI SDK + AI Gateway for generation (model swappable via one env var), Next.js 15, and Sauna branding. All previously generated analyses remain cached in the database and keep rendering.

How it works

  1. Enter a Twitter/X username (or two, for a compatibility check).
  2. The profile and ~15 recent posts are fetched via the official X API v2 (SocialData as fallback) and cached in Neon Postgres.
  3. An LLM (default xai/grok-4.20-non-reasoning, via the Vercel AI Gateway) streams a structured analysis — roast, strengths, love life, spirit animal, pickup lines and more — straight into the page.
  4. The result is cached, shareable, and rendered into dynamic OG images.

Setting up the project 🛠️

  1. Clone the repository and run npm install.
  2. Environment variables: create .env.local based on .env.example:
    • DATABASE_URL: Neon Postgres connection string.
    • AI_GATEWAY_API_KEY: Vercel AI Gateway key (omit on Vercel — OIDC is automatic).
    • AI_MODEL (optional): any Gateway model string, e.g. xai/grok-4.20-non-reasoning, zai/glm-5.2, openai/gpt-5.2. Swapping models is just changing this var.
    • X_API_BEARER_TOKEN: official X API v2 bearer token (pay-per-use; buy credits in the X developer console).
    • SOCIALDATA_API_KEY: fallback scraper.
    • NEXT_PUBLIC_BASE_URL: base URL of the deployment — share links derive from it.
    • NEXT_PUBLIC_POSTHOG_KEY, NEXT_PUBLIC_POSTHOG_HOST: analytics (optional).
    • STRIPE_*: paywall plumbing — the paywall is off by default (see src/lib/config.tsx).
  3. Run: npm run dev.

Architecture notes

  • Prompts live in src/lib/prompts.ts (the original viral prompts, ported from Wordware). Prompts enumerate the exact output keys (structured-output mode is deliberately avoided — constrained decoding flattens the voice); src/lib/schemas.ts documents the shapes, which mirror the cached JSONB analyses key-for-key, so do not change keys casually.
  • Streaming contract: /api/analysis and /api/analysis/pair stream raw JSON text; the client renders partial JSON as it arrives (src/lib/parse-partial-json.ts).
  • Caching/dedupe: users/pairs rows carry status flags (wordware* columns — historical names kept for data compatibility) with staleness windows to dedupe concurrent generations.
  • Brand: Sauna tokens are defined in tailwind.config.ts + src/app/globals.css; official logo SVGs in public/brand/.

Deployed on Vercel.

排名相邻
同类项目