Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SleekCMS SyncNew to Visual Studio Code? Get it now.
SleekCMS Sync

SleekCMS Sync

Arin Jain

| (0) | Free
Real-time bidirectional sync between VS Code and SleekCMS templates with automatic change detection
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SleekCMS Sync

Real-time bidirectional sync between VS Code and SleekCMS templates. Edit your CMS templates directly in your favorite editor with automatic synchronization.

✨ Features

  • 🔄 Real-time bidirectional sync - Changes sync automatically between VS Code and SleekCMS
  • ⬆️ Upload changes - Edit templates in VS Code and see changes instantly on your website
  • ⬇️ Download changes - Changes made in SleekCMS appear in VS Code within 5 seconds
  • ➕ Create templates - Create new template files in VS Code, automatically synced to SleekCMS
  • 🗑️ Delete templates - Delete files from either VS Code or SleekCMS, syncs automatically
  • 🔐 Secure authentication - Token-based authentication with optional saving
  • 🌍 Multiple environments - Support for production, development, and localhost

📦 Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X)
  3. Search for "SleekCMS Sync"
  4. Click Install

Or install via command:

ext install ArinJain.sleekcms-sync

🚀 Quick Start

  1. Open a workspace folder in VS Code
  2. Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
  3. Run SleekCMS: Start Sync
  4. Enter your SleekCMS API token when prompted
  5. Select your environment (production/development/localhost)
  6. Your templates will be downloaded and syncing will start automatically!

🔑 Getting Your API Token

  1. Log in to your SleekCMS account at app.sleekcms.com
  2. Navigate to Settings → API Tokens
  3. Click "Generate New Token"
  4. Copy the token
  5. Paste it when VS Code prompts you

📖 Commands

Access these commands via Command Palette (Ctrl+Shift+P or Cmd+Shift+P):

Command Description
SleekCMS: Start Sync Start syncing templates with SleekCMS
SleekCMS: Stop Sync Stop the sync process
SleekCMS: Refresh Current File Manually refresh the current file from server
SleekCMS: Clear Saved Token Clear the saved API token

⚙️ Configuration

You can configure the extension in VS Code settings:

  • sleekcms.token - Your SleekCMS API token
  • sleekcms.environment - Environment to connect to (production/development/localhost)

💡 Usage Tips

Creating New Templates

Simply create a new file in your templates folder (e.g., pages/new-page.html). The extension will automatically:

  1. Create the template on SleekCMS
  2. Assign it a proper ID
  3. Start syncing it

Editing Templates

Just edit any file in VS Code. Changes are automatically uploaded to SleekCMS after 1 second of inactivity (debounced).

Deleting Templates

Delete a file from your templates folder or from SleekCMS - the deletion syncs automatically.

Real-time Updates

If someone else makes changes on SleekCMS (or you make changes in the web editor), those changes appear in VS Code within 5 seconds.

🔧 Requirements

  • VS Code version 1.85.0 or higher
  • Active SleekCMS account
  • Valid SleekCMS API token

🐛 Known Issues

  • Localhost environment requires SleekCMS to be running locally on port 9000
  • Development environment requires access to the staging server

📝 Release Notes

1.0.0

  • Initial release
  • Real-time bidirectional sync
  • Multiple environment support
  • Template creation and deletion
  • Token management

🤝 Contributing

Found a bug or have a feature request? Please open an issue on GitHub.

📄 License

MIT License - see LICENSE file for details.

🙏 Support

If you find this extension helpful, please consider:

  • ⭐ Starring the GitHub repository
  • 📝 Leaving a review on the VS Code Marketplace
  • 🐛 Reporting bugs or suggesting features

Made with ❤️ by Arin Jain

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft