Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/potlock/twitter-bot
Twitter Bot that publishes new registrations on Potlock and Direct Donations
https://github.com/potlock/twitter-bot
bun near-api-js nearquery nearsocial potlock
Last synced: about 1 month ago
JSON representation
Twitter Bot that publishes new registrations on Potlock and Direct Donations
- Host: GitHub
- URL: https://github.com/potlock/twitter-bot
- Owner: PotLock
- License: mit
- Created: 2024-01-17T04:04:46.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T15:59:19.000Z (8 months ago)
- Last Synced: 2024-04-22T17:24:24.920Z (8 months ago)
- Topics: bun, near-api-js, nearquery, nearsocial, potlock
- Language: TypeScript
- Homepage: https://x.com/potlock_bot
- Size: 151 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Configuration
Copy .env.example to .env.local and fill in the values.
Edit `src/config.ts` to change tweet frequecies, minimum donation amount, start blockheight
# How to run
```bash
# Install bun
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSLbun install
# dev, simulates tweets to console
bun run dev# Create .env.local and get oauth-1.0a credentials from twitter developer portal
cp .env.example .env.local# prod, sends tweets to bot
bun run build
bun run start```