Skip to content

Commit

Permalink
feat: Add document
Browse files Browse the repository at this point in the history
  • Loading branch information
sukbearai committed Jan 5, 2025
1 parent 4b4b1a3 commit 89ff27e
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 4 deletions.
37 changes: 37 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# Telegram Config
TOKEN=2tZZ9rnH # random string
BOT_TOKEN=xxxxxx:xxxxxx
TELEGRAM_PROXY_URL=socks5://127.0.0.1:7890
TUNNEL_URL= # Use Cloudflare Tunnel for connection
TELEGRAM_USER_ID=123456789

# Twitter Config
TWITTER_USERNAME=your_username
TWITTER_PASSWORD=your_password
TWITTER_EMAIL=your_email@example.com
TWITTER_2FA_SECRET=your_2fa_secret
TWITTER_API_KEY=your_api_key
TWITTER_API_SECRET_KEY=your_api_secret
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret
TWITTER_PROXY_URL=http://127.0.0.1:7890
TWITTER_RETRY_LIMIT=3
TWITTER_DRY_RUN=false
MAX_TWEET_LENGTH=280
TWITTER_SEARCH_ENABLE=true
TWITTER_POLL_INTERVAL=60000
TWITTER_TARGET_USERS=user1,user2
POST_INTERVAL_MIN=300
POST_INTERVAL_MAX=600
ENABLE_ACTION_PROCESSING=true
ACTION_INTERVAL=1000
POST_IMMEDIATELY=false
TWITTER_LIST_ID=123456789

# FastGPT Config
FAST_GPT_API_KEY=your_api_key
FAST_GPT_API_URL=https://api.fastgpt.com

# ali OSS Config
OSS_REGION=oss-cn-hangzhou
OSS_ACCESS_KEY_ID=your_access_key_id
OSS_ACCESS_KEY_SECRET=your_access_key_secret
OSS_BUCKET=your_bucket_name
79 changes: 75 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,78 @@
<br>

<p align="center">
<img src="https://api.iconify.design/fluent-emoji:dog-face.svg" style="width:100px;" />
<img src="https://cdn.jsdelivr.net/gh/sukbearai/static@main/img/ai-bot.png" style="width:688px;" />
</p>

cryptocurrency senior intelligencer ᝰ✍︎꙳⋆
<div align="center">
<h1>🤖 加密货币智能助手</h1>
<p>一款强大的推特数据分析和AI智能解读工具</p>
</div>

## ✨ 核心特性

- 📊 实时推特解析与数据采集
- 🤖 AI智能分析市场动态
- 👥 KOL言论追踪与解读
- 💬 多场景智能对话支持
- 📦 自动化数据处理和存储

## 🛠️ 技术栈

- ⚡️ Node.js - 运行时环境
- 📘 TypeScript - 开发语言
- 🤖 Telegraf - Telegram Bot框架
- 🚀 Nitro - 高性能服务端框架
- 🧠 OpenAI - GPT API集成
- ⚡️ cloudflare - 云服务提供商

## 📦 快速开始

1. **克隆项目**

```bash
git clone https://github.com/sukbearai/wallet-hunting-bot.git
cd wallet-hunting-bot
```

2. **安装依赖**

```
pnpm install
```

3. **环境配置**

```
cp .env.example .env
```

4. **启动项目**

```
pnpm dev
```

## 目录结构

```
wallet-hunting-bot/
├── src/ # 源代码目录
│ ├── bot/ # 机器人核心逻辑
│ │ ├── commands/ # 命令处理器
│ │ ├── scenes/ # 场景管理
│ │ └── services/ # 业务服务
│ ├── types/ # 类型定义
│ └── utils/ # 工具函数
├── routes/ # API路由定义
│ ├── api/ # API端点
│ └── webhook/ # webhook处理
├── middleware/ # 中间件
│ ├── auth/ # 认证中间件
│ └── validation/ # 数据验证
├── scripts/ # 工具脚本
│ ├── setup.ts # 环境配置
│ └── deploy.ts # 部署脚本
├── tests/ # 测试文件
├── .env.example # 环境变量示例
├── package.json # 项目配置
└── tsconfig.json # TypeScript配置
```

0 comments on commit 89ff27e

Please sign in to comment.