Repository navigation
Home
Welcome to the Binance Square Automator wiki. This project is a full-stack solution designed to streamline the process of researching, generating, and scheduling high-quality financial content for Binance Square using Google's Gemini AI.
- Introduction
- Core Features
- Technical Architecture
- Getting Started
- Usage Guide
- Security & Privacy
- Deployment
The Binance Square Automator bridges the gap between complex market data and engaging social content. By leveraging the Gemini 3 Flash model with integrated Google Search, the app can pull real-time market insights and transform them into professional posts tailored for the Binance Square audience.
- AI-Powered Research: Automatically gather the latest news, price action, and sentiment for any crypto asset using Gemini's search capabilities.
- Smart Content Generation: Generate posts that follow financial social media best practices, including relevant hashtags and professional formatting.
- Automated Scheduling: Plan your content strategy in advance. The built-in cron engine handles publishing at your specified time.
- Local Persistence: Uses a lightweight JSON-based database to store your schedules securely on your own server.
- Binance Integration: Direct (proxied) connection to Binance Square for seamless posting.
The app is built as a Full-Stack TypeScript application:
- Frontend: React 18 + Vite + Tailwind CSS + shadcn/ui.
- Backend: Express.js server handling API requests and cron jobs.
-
AI Engine:
@google/genaiSDK for content research and generation. -
Automation:
node-cronfor managing scheduled tasks. -
Database: Local
schedules.jsonfor persistent storage without external dependencies.
- Node.js 22+
- A Gemini API Key (from Google AI Studio)
- Binance API Key & Secret (with Content Creator permissions)
- Clone the repository.
- Install dependencies:
npm install. - Create a
.envfile and addGEMINI_API_KEY=your_key. - Start the development server:
npm run dev.
Navigate to the Settings tab. Enter your Binance API credentials and your Gemini API key. These are stored in your browser's localStorage for security.
- Go to the Post Generator.
- Enter a topic (e.g., "Solana Ecosystem Growth").
- Click Gather to let Gemini research the latest data.
- Click Generate Post to create the final draft.
- Review your post in the preview pane.
- Click Schedule, select a date/time, and confirm.
- Monitor your pending posts in the Schedule tab.
- Client-Side Secrets: Your Binance API keys and Gemini keys are stored in your browser's local storage. They are only sent to the server during active requests and are never stored permanently on the server's disk.
- No Third-Party Tracking: The app is self-contained. Your data stays on your server and in your browser.
The project includes a Dockerfile and docker-compose.yml for easy deployment to providers like Linode, DigitalOcean, or AWS.
Refer to the Deployment Guide for step-by-step instructions on setting up a production environment with Nginx and SSL.