Crypto projeler hakkında doğal ve insan gibi tweet atan otomatik bot.
- 6 Crypto Projesi: Anoma, Camp Network, Virtuals, Somnia, Union, Mitosis
- 7 Tweet Tipi: Teknik analiz, keşfetme, piyasa görüşü, karşılaştırma, deneyim, soru, gelecek tahmini
- ChatGPT-4o-mini: Doğal dil ile tweet üretimi
- Rate Limiting: Günde 5 tweet, 2.5 saat aralık
- Analytics: Tweet performans takibi
- Auto Reply: Mention'lara otomatik yanıt
- Thread Support: Uzun analiz zincirleri
Önceki AI dili:
"Ekosistem için önemli bir adım olan Virtuals Io, volatilite riski göz önünde bulundurulmalı..."
Yeni doğal dil:
"Bence Mitosis ilerleyen zamanlarda dikkat çekebilir. Merakla takip ediyorum!"
- Repository'yi klonla
git clone <repo-url>
cd crypto-twitter-bot- Dependencies yükle
pip install -r requirements.txt- Environment variables ayarla
# .env dosyası oluştur
TWITTER_API_KEY=your_key
TWITTER_API_SECRET=your_secret
TWITTER_ACCESS_TOKEN=your_token
TWITTER_ACCESS_SECRET=your_token_secret
OPENAI_API_KEY=your_openai_key- Botu çalıştır
python bot.py # Normal mod
python bot.py test # Test mod (tweet atmaz)
python bot.py analytics # Analytics raporu- Heroku uygulaması oluştur
heroku create your-bot-name- Environment variables ayarla
heroku config:set TWITTER_API_KEY=your_key
heroku config:set TWITTER_API_SECRET=your_secret
heroku config:set TWITTER_ACCESS_TOKEN=your_token
heroku config:set TWITTER_ACCESS_SECRET=your_token_secret
heroku config:set OPENAI_API_KEY=your_openai_key- Deploy et
git push heroku main- Worker'ı başlat
heroku ps:scale worker=1- Twitter Developer Portal
- App oluştur
- API Key, Secret, Access Token al
- OpenAI Platform
- API Key oluştur
- GPT-4o-mini erişimi olduğundan emin ol
MINIMUM_INTERVAL = 2.5 * 60 * 60 # 2.5 saat
DAILY_TWEET_COUNT = 5 # Günlük limit
TWEET_START_HOUR = 10 # Başlangıç saati
TWEET_END_HOUR = 22 # Bitiş saatiprojects = {
"yeni_proje": {
"mention": "@yeni_proje",
"focus": "teknoloji alanı",
"specialty": "özel özellik",
# ... diğer alanlar
}
}Bot otomatik olarak şu verileri toplar:
- Tweet performansı (1 saat, 24 saat, 7 gün)
- Engagement oranları
- Proje bazlı istatistikler
Veriler tweet_analytics.json dosyasında saklanır.
- ✅ API keyler environment variables'da
- ✅ .env dosyası .gitignore'da
- ✅ Hard-coded secret yok
- ✅ Rate limiting ile API koruması
python bot.py # Otomatik sürekli çalışma
python bot.py test # Test tweet oluştur (gönderme)
python bot.py analytics # Performans raporu
python bot.py mentions # Mention kontrolü- Fork et
- Feature branch oluştur (
git checkout -b feature/amazing-feature) - Commit et (
git commit -m 'Add amazing feature') - Push et (
git push origin feature/amazing-feature) - Pull Request aç
MIT License
- Twitter API rate limitlerini gözetle
- OpenAI usage limitlerini takip et
- Bot'u spam için kullanma
- Authentic engagement sağla
Made with ❤️ for the crypto community