A powerful tool for capturing and sharing Dune Analytics dashboard charts and data on Twitter/X.
- Automatically capture charts and data visualizations from Dune dashboards
- Smart detection of different visualization types (charts, tables, lists)
- Maintains original resolution and quality
- Supports various chart types (Canvas, SVG, ECharts, Highcharts, etc.)
- Automatic quality optimization for large visualizations
- Direct sharing to Twitter/X using your browser session
- Python 3.8+
- Google Chrome browser
- Clone the repository:
git clone https://github.com/yourusername/dune-x-sharer.git
cd dune-x-sharer
- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
.\venv\Scripts\activate # Windows
- Install dependencies:
pip install -r requirements.txt
- Install Playwright:
playwright install chromium
- Copy environment variables file:
cp .env.example .env
- Start Chrome with remote debugging:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
- Log into Dune Analytics and Twitter/X in Chrome
- Start the service:
python -m flask run --port 5001
- Open the Dune dashboard you want to share
- Click the share button
- Screenshots will be automatically shared to Twitter/X
Set the following environment variables in .env
:
FLASK_APP
: Application entry pointFLASK_ENV
: Running environmentFLASK_DEBUG
: Debug modePORT
: Service portHOST
: Service addressLOG_LEVEL
: Logging level
- Ensure Chrome browser is logged into both Dune Analytics and Twitter/X
- Chart loading may take some time, please be patient
- Recommended screen resolution: 1920x1080 or higher
-
Smart Thread Creation
- Automatic batch processing of dashboard content
- Intelligent slicing of content into Twitter threads
- Smart content organization for better storytelling
-
AI-Powered Enhancements
- AI agent for optimal chart composition and layout
- Smart caption generation for charts
- Context-aware content organization
- Automated chart styling and theme application
-
Advanced Sharing Features
- Support for more social platforms
- Customizable sharing templates
- Scheduled posting
- Analytics and engagement tracking
-
Visualization Improvements
- Custom chart annotations
- Interactive preview before sharing
- Theme customization
- Watermark and branding options
Contributions are welcome! Feel free to submit Pull Requests and Issues.
Apache License 2.0
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Patent Protection: Includes explicit patent grant
- Clear Contribution Terms: Well-defined terms for contributors
- Trademark Protection: Clear terms for trademark usage
- Commercial Friendly: Allows commercial use while protecting both users and contributors
- Comprehensive: Includes explicit terms for modern software development needs