- ImportBot 🚀
# Option 1: Quick Install (Recommended)
npx create-importbot-app@latest
# Option 2: Manual Installation
git clone https://github.com/sheikh-developer/ImportBot.git
cd ImportBot
npm install
npm run dev
Visit http://localhost:3000
to see your ImportBot instance in action.
- One-click Imports: Easily import repositories from any Git provider with a single click.
- Secure ZIP Handling: Ensure secure handling of ZIP files during import.
- Automatic Dependency Resolution: Automatically resolve and install dependencies.
- Smart Conflict Management: Intelligently manage conflicts during imports.
- Batch Repository Processing: Process multiple repositories in a single operation.
- Live Code Editing: Collaborate in real-time with live code editing.
- Multi-user Sessions: Support for multiple users editing simultaneously.
- Integrated Chat System: Communicate with your team directly within the platform.
- Activity Tracking: Keep track of all activities and changes.
- Permission Management: Control access with robust permission settings.
- One-click Cloud Deployment: Deploy your projects to the cloud with a single click.
- Environment Management: Manage different environments for development, staging, and production.
- Preview Environments: Preview changes before going live.
- Rollback Capabilities: Easily roll back to previous versions if needed.
- Deployment Logs: Detailed logs for tracking deployment activities.
- Dark/Light Mode: Choose between dark and light themes.
- Responsive Design: Optimized for various screen sizes and devices.
- Customizable Themes: Personalize the interface with custom themes.
- Keyboard Shortcuts: Enhance productivity with handy shortcuts.
- Drag-and-drop Interface: Intuitive drag-and-drop functionality for ease of use.
{
"importbot": {
"port": 3000,
"github": {
"token": "your_token",
"enterprise": false
},
"security": {
"rateLimit": true,
"cors": ["https://yourdomain.com"],
"ssl": true
},
"features": {
"preview": true,
"collaboration": true,
"analytics": true
}
}
}
import { ImportBot } from '@importbot/sdk';
const bot = new ImportBot({
token: process.env.GITHUB_TOKEN,
});
// Import repository
await bot.import({
url: 'https://github.com/user/repo',
branch: 'main',
path: './local-path'
});
// Deploy to cloud
await bot.deploy({
provider: 'vercel',
env: 'production'
});
# 1. Clone repository
git clone https://github.com/sheikh-developer/ImportBot.git
# 2. Install dependencies
cd ImportBot
npm install
# 3. Set up environment
cp .env.example .env
# 4. Start development server
npm run dev
# Pull and run ImportBot
docker pull importbot/importbot
docker run -p 3000:3000 importbot/importbot
- Click any deployment button above.
- Follow provider-specific setup instructions.
- Configure environment variables.
- Deploy your instance.
# Required
GITHUB_TOKEN=your_token_here
DATABASE_URL=your_database_url
# Optional
PORT=3000
NODE_ENV=production
ENABLE_ANALYTICS=true
DEPLOYMENT_KEY=your_key
// config/security.ts
export default {
rateLimit: {
window: '15m',
max: 100
},
cors: {
origin: ['https://yourdomain.com'],
methods: ['GET', 'POST']
},
ssl: {
enabled: true,
cert: '/path/to/cert.pem'
}
}
// config/database.ts
export default {
type: 'postgresql',
url: process.env.DATABASE_URL,
entities: ['src/entities/**/*.ts'],
migrations: ['src/migrations/**/*.ts'],
logging: process.env.NODE_ENV === 'development'
}
import { track } from '@importbot/analytics';
track('repository_import', {
source: 'github',
size: '1.2MB',
duration: '45s'
});
import { monitor } from '@importbot/analytics';
monitor('api_response_time', {
endpoint: '/api/import',
duration: 234,
status: 200
});
We welcome contributions! Here's how to get started:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/AmazingFeature
- Make your changes.
- Run tests:
npm run test
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a Pull Request.
- Use environment variables for sensitive data.
- Enable rate limiting.
- Configure CORS properly.
- Keep dependencies updated.
- Enable SSL/TLS.
- Implement proper authentication.
Report security vulnerabilities to [email protected].
Need help? We're here for you!
ImportBot is open-source software licensed under the MIT license.
See CHANGELOG.md for detailed release notes.