🛠️ Developer Tools

Powerful CLI, integrations, and APIs to integrate GitStable into your development workflow seamlessly

🚀 Build with GitStable

Professional developer tools that integrate GitStable's code commerce platform directly into your existing workflow.

💻
CLI Tool
Command-line interface for all GitStable operations
🔌
IDE Extensions
VS Code, IntelliJ, and Vim plugins
📡
REST API
Full programmatic access to all features
📚
SDK Libraries
JavaScript, Python, Go, and Rust SDKs

💻 GitStable CLI

⚡ Quick Installation

npm (Recommended)

npm install -g @gitstable/cli gitstable --version

Direct Download

curl -L https://get.gitstable.com | bash gitstable --version

Homebrew (macOS)

brew tap gitstable/tap brew install gitstable

Docker

docker run gitstable/cli --help

Essential Commands

Core GitStable operations available through intuitive CLI commands.

# Initialize GitStable in repository gitstable init # Set pricing for repository gitstable price set --basic=50 --premium=150 # Deploy to GitStable gitstable deploy # Check earnings and transactions gitstable earnings gitstable transactions # Manage licenses and access gitstable licenses list gitstable access grant user@email.com

Advanced Features

  • Automatic license management
  • Real-time earnings tracking
  • Bulk repository operations
  • Payment webhook integration
  • Multi-repository portfolios
  • Analytics and reporting

🔐 Authentication Required

Run gitstable auth login to connect your wallet and authenticate with GitStable before using other commands.

🔌 IDE Integrations

💙
VS Code Extension
Manage pricing, view earnings, and handle licenses directly in VS Code
Available
🧠
IntelliJ Plugin
Full GitStable integration for JetBrains IDEs
Available
📝
Vim Plugin
Lightweight GitStable commands for Vim users
Available
⚛️
Atom Extension
GitStable support for Atom editor
Coming Soon
🌐
Web IDE Support
GitHub Codespaces, Gitpod, and CodeSandbox integration
Available
📱
Mobile Apps
iOS and Android apps for earnings tracking
Q2 2025

VS Code Extension Features

  • Inline pricing configuration
  • Real-time earnings sidebar
  • License status indicators
  • One-click deployment
  • Transaction notifications
  • Repository analytics view

Installation & Setup

# Install VS Code extension code --install-extension gitstable.vscode-gitstable # Or search "GitStable" in VS Code Extensions # Ctrl+Shift+P → "GitStable: Authenticate" # View GitStable panel # Ctrl+Shift+P → "GitStable: Show Panel"

💡 Pro Tip

Use the VS Code extension's live earnings view to track payments in real-time as you develop. Perfect for motivation during long coding sessions!

📡 REST API

API Overview

Complete REST API for integrating GitStable functionality into your applications and workflows.

  • Repository management
  • Payment processing
  • License verification
  • Analytics and reporting
  • Webhook subscriptions
  • User authentication

Authentication

# Get API key from GitStable dashboard curl -H "Authorization: Bearer your_api_key" \ -H "Content-Type: application/json" \ https://api.gitstable.com/v1/repositories

📚 Core API Endpoints

GET /v1/repositories

List all your repositories

POST /v1/repositories

Create or register a new repository

GET /v1/repositories/{id}/earnings

Get earnings data for specific repository

POST /v1/licenses/verify

Verify license ownership for code access

GET /v1/payments/webhooks

Configure payment notification webhooks

GET /v1/analytics/dashboard

Get comprehensive analytics data

Example: Check Repository Earnings

curl -X GET \ https://api.gitstable.com/v1/repositories/my-repo/earnings \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" # Response { "repository": "my-awesome-tool", "total_earnings": 1247.50, "currency": "USDC", "this_month": 234.75, "transactions": 28, "last_payment": "2025-01-17T14:23:15Z" }

Example: Verify License

curl -X POST \ https://api.gitstable.com/v1/licenses/verify \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "repository": "my-repo", "user_wallet": "0x1234...5678", "file_path": "src/premium/advanced.js" }' # Response { "valid": true, "license_type": "premium", "expires_at": "2025-12-31T23:59:59Z", "transaction_hash": "0xabc...def" }

📚 SDK Libraries

🟨
JavaScript/Node.js
Full-featured SDK for web and Node.js applications
Available
🐍
Python
Python SDK with async support and type hints
Available
🐹
Go
Lightweight Go SDK for backend services
Available
🦀
Rust
High-performance Rust SDK with zero-copy parsing
Available
💎
Ruby
Ruby gem for Rails and Sinatra applications
Coming Soon
Java
Maven/Gradle compatible Java SDK
Coming Soon

JavaScript SDK Example

// Install: npm install @gitstable/sdk import { GitStable } from '@gitstable/sdk'; const client = new GitStable({ apiKey: process.env.GITSTABLE_API_KEY }); // Check repository earnings const earnings = await client.repositories .get('my-repo') .earnings(); console.log(`Total: ${earnings.total} USDC`); // Verify license for user const license = await client.licenses .verify({ repository: 'my-repo', userWallet: '0x1234...5678', filePath: 'src/premium/feature.js' }); if (license.valid) { // Grant access to premium features }

Python SDK Example

# Install: pip install gitstable-sdk from gitstable import GitStable client = GitStable( api_key=os.environ['GITSTABLE_API_KEY'] ) # Get repository analytics analytics = client.repositories.get('my-repo').analytics() print(f"Downloads: {analytics.downloads}") print(f"Revenue: {analytics.revenue} USDC") # Set up webhook for payments webhook = client.webhooks.create( url='https://myapp.com/gitstable-webhook', events=['payment.completed', 'license.granted'] )

🔗 Integrations & Webhooks

Popular Integrations

  • GitHub Actions: Automated deployment workflows
  • GitLab CI: Continuous integration support
  • Jenkins: Build and deploy pipelines
  • Zapier: No-code automation
  • Discord/Slack: Payment notifications
  • Google Analytics: Traffic tracking

GitHub Actions Workflow

# .github/workflows/gitstable-deploy.yml name: Deploy to GitStable on: push: branches: [ main ] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: gitstable/deploy-action@v1 with: api-key: $ pricing-tier: 'premium' auto-deploy: true

🔒 Security Best Practices

Always store API keys in environment variables or secure secret management. Never commit API keys to your repository.

🛟 Developer Support

Get help integrating GitStable into your development workflow

📖
Documentation
Comprehensive guides and API reference
💬
Discord Community
Join 2,000+ developers in our Discord
🐛
GitHub Issues
Report bugs and request features
📧
Direct Support
Email support for technical questions

Start Building with GitStable

Integrate code commerce into your development workflow today

🚀 Get Started

🛠️ Professional tools: CLI, IDE extensions, APIs, and SDKs

📚 Full documentation: Complete guides and examples

🌐 Global community: Join thousands of developers worldwide