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
- 🔗 LinkedIn Integration: Share posts directly to LinkedIn
- 📱 Telegram Support: Post to Telegram channels and groups
- ⏰ Scheduled Posting: CLI tool for automated posting
- 🌐 Multi-language Support: English, Arabic, and Russian
- 🎨 Interactive UI: Built-in webview for managing your posts
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
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.linkedinToken
: LinkedIn access token
dotshare.telegramToken
: Telegram bot token
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