Forked from neynarxyz/farcaster-examples
gm_bot is an automated messaging bot designed to cast a 'gm' message in Warpcast every day at a scheduled time. It leverages Neynar API and is built using @neynar/nodejs-sdk.
-
Create
.envfile:# 24 hour time format (HH:MM). Defaults to 09:00 PUBLISH_CAST_TIME=09:00 # Timezone for scheduling. Defaults to UTC TIME_ZONE=UTC # Get from https://neynar.com NEYNAR_API_KEY=your-api-key-here # Create on Neynar Dashboard SIGNER_UUID=your-signer-uuid-here
Get your
NEYNAR_API_KEYandSIGNER_UUIDfrom the Neynar Dashboard. -
Run with Docker:
docker run -d \ --name farcaster-gm-bot \ --env-file .env \ --restart unless-stopped \ ghcr.io/ctrl-a-d/farcaster-gm-bot:main
-
View Logs:
docker logs -f farcaster-gm-bot
Local development requires Node.js 24 or newer.
npm ci
npm startgm_bot is released under the MIT License. This license permits free use, modification, and distribution of the software, with the requirement that the original copyright and license notice are included in any substantial portion of the work.