DotShare

A VS Code extension that helps you share your project updates to social media using AI-powered content generation.
Features
- 🤖 AI-Powered Content Generation: Generate engaging social media posts using Gemini AI, OpenAI, or xAI
- ✏️ Manual Post Creation: Write and post content manually without AI assistance
- 📎 Enhanced Media Upload: Drag-and-drop and click-to-browse functionality for images and videos
- 🔗 LinkedIn Integration: Share posts directly to LinkedIn
- 📱 Telegram Support: Post to Telegram channels and groups
- 🐦 X/Twitter Integration: Post directly to X (formerly Twitter)
- 📘 Facebook Support: Share to Facebook profiles and pages
- 🔵 Discord Webhooks: Post updates to Discord channels
- 🟠 Reddit Integration: Submit posts to Reddit communities and user profiles (r/ and u/)
- 🌅 BlueSky Support: Early adopter integration with BlueSky social
- ⏰ Scheduled Posting: CLI tool for automated cross-platform posting
- 🌐 Multi-language Support: English, Arabic, and Russian
- 🎨 Interactive UI: Built-in webview for managing your posts with improved user experience
- 📊 Analytics Dashboard: Track posting performance across platforms
Installation
VS Code Extension
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "DotShare"
- Click Install
CLI Scheduler
The CLI scheduler can be used independently for automated posting:
npm install -g dotshare
dotshare-scheduler --help
Usage
Generating Posts
- Open your project in VS Code
- Use Command Palette (Ctrl+Shift+P)
- Run "DotShare: Generate Social Media Post with Gemini"
- Choose your AI provider and customize the generated content
Sharing Posts
- Use "DotShare: Share to LinkedIn" to post to LinkedIn
- Use "DotShare: Share to Telegram" to post to Telegram groups/channels
The extension now supports sharing to multiple platforms including:
- LinkedIn (profiles)
- Telegram (bots, channels, groups)
- X/Twitter (tweets)
- Facebook (profiles and pages)
- Discord (webhooks)
- Reddit (submissions)
- BlueSky (posts)
Scheduled Posting
Use the CLI tool to schedule posts:
# Schedule a post for later
dotshare-scheduler schedule --platform linkedin --message "My post" --time "2025-10-04T10:00:00"
# Run the scheduler service
systemctl start dotshare-scheduler
Requirements
- VS Code 1.74.0 or higher
- Node.js 18.x or higher
- API keys for AI services (Gemini, OpenAI, etc.)
- API keys for social media platforms
Configuration
Set up your API keys in VS Code settings or environment variables:
dotshare.geminiApiKey: For Gemini AI
dotshare.openaiApiKey: For OpenAI
dotshare.xaiApiKey: For xAI
dotshare.linkedinToken: LinkedIn access token
dotshare.telegramBot: Telegram bot token
dotshare.telegramChat: Telegram chat ID
dotshare.xAccessToken: X/Twitter access token
dotshare.xAccessSecret: X/Twitter access secret
dotshare.facebookToken: Facebook access token
dotshare.facebookPageToken: Facebook page access token
dotshare.facebookPageId: Facebook page ID
dotshare.discordWebhookUrl: Discord webhook URL
dotshare.redditClientId: Reddit client ID
dotshare.redditClientSecret: Reddit client secret
dotshare.redditAccessToken: Reddit access token
dotshare.redditRefreshToken: Reddit refresh token
dotshare.blueskyIdentifier: BlueSky username/handle
dotshare.blueskyPassword: BlueSky app password
Development
git clone https://github.com/kareem2099/DotShare.git
cd DotShare
npm install
npm run compile
# Press F5 in VS Code to test
Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Changelog
See CHANGELOG.md for the latest updates.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support