尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证¿cuantos tweets likeo Milei hoy?
翻译准备中
正在加载完整 README。
查看完整 README ↗un coso que scrapea los twits que likea Milei en Twitter
pnpm install
echo 'ADMIN_PASSWORD=contraseña' > .env
pnpm dev
anda a
esto está desactualizado/admin y logeate con la contraseña. agrega una cuenta de Twitter copiando las cookies auth_token y ct0.
podes correrlo manualmente:
cd scraper-manzana
pnpm cron:once
En prod, el contenedor docker/scraper-manzana.Dockerfile corre supercronic
con scraper-manzana/crontab. El job corre cada media hora y manda un mensaje
a Telegram si falla.
Variables necesarias:
API_TOKENAPI_URL (opcional, default https://milei.nulo.lol)TELEGRAM_BOT_TOKENTELEGRAM_CHAT_IDTWITTER_GATEWAY_API_KEY for the primary Twitter gateway.TWITTER_GATEWAY_URL (optional, default https://docial.nulo.lol).Each successful cron scrape also stores a gateway-only snapshot of Milei's 40
most recent non-retweets in db_tweet_snapshots, keyed by tweet ID and scrape
time. The full normalized gateway tweet objects are kept, including
raw_twitter, favorite_count, and views_count. The cron does not fall back
to SocialAPI. The unlinked, noindex route /internal/tweet-history shows the
history.
En producción corre como el servicio milei-scraper de uncloud.yaml, junto
al sitio, la base de datos y el gateway. Las variables van en
.uncloud/milei-scraper.env (plantilla en
deploy/uncloud/env/milei-scraper.env.example). Para desplegar:
DEPLOY_SSH=usuario@host just deploy milei-scraper
git pull && pnpm install && pnpm build && cp -r drizzle build/
node -r dotenv/config build
# en otra tty, para probar una corrida del scraper
cd scraper-manzana && pnpm cron:once