Menu
ESC

Nhập từ khóa để tìm kiếm

↑↓ Di chuyển
Enter Mở
ESC Đóng

Đang tải...

Code

Replit

bởi Replit

Cloud IDE + AI agent — build, host, share app từ browser, không cần setup local.

Free (limited) + Core $20/mo + Teams $40/seat Trang chủ

Tool này là gì?

Replit là cloud IDE — code chạy trên container Linux thật trong browser, support 50+ ngôn ngữ (Python, JS, Go, Rust, Java...). Khác với Bolt/Lovable (JS frontend), Replit là general-purpose — chạy được data science notebook, Python script, Discord bot, game đơn giản.

2024–2025, Replit add "Agent" — AI tự build full project, deploy, debug. Nó cạnh tranh trực tiếp với Bolt/Lovable nhưng có lợi thế: multi-language, hosting persistent, database sẵn (PostgreSQL, Object storage), không cần connect Supabase ngoài.

Khi nào nên dùng

Khi nào KHÔNG nên dùng

Workflow tiêu biểu

flowchart LR
    A[Ý tưởng app] --> B[Mở Replit
chọn template hoặc blank] B --> C[Agent mode:
mô tả app] C --> D[AI build full project] D --> E[Test trong webview] E --> F{Work?} F -->|Bug| G[Chat 'fix X'] F -->|OK| H[Deploy 1-click] G --> D H --> I[Share URL công khai]

Use case PM phổ biến: build internal automation. Vd "Mỗi sáng pull data Mixpanel rồi gửi báo cáo Slack" — Replit Agent build Python script + cron trong 10 phút, host luôn.

Prompt mẫu

Build Slack bot 'StandupBot':

Chức năng:
1. Mỗi sáng 9:00 (theo timezone Asia/Ho_Chi_Minh) post
   reminder vào channel #engineering, hỏi 3 câu standup
2. Mỗi user reply trong thread, bot collect câu trả lời
3. 11:00 bot post tổng hợp toàn team vào cùng channel
4. /summary command: gọi để xem summary tuần qua

Stack: Python + Slack Bolt SDK + Replit PostgreSQL +
Replit Scheduled Deployment.

Env var cần: SLACK_BOT_TOKEN, SLACK_APP_TOKEN.
Build Python ETL script:

1. Mỗi 6h pull data từ Stripe API (charge list 7 ngày gần)
2. Aggregate revenue theo product, country
3. Push lên Google Sheet (qua gspread)
4. Slack alert nếu revenue daily < 10K USD

Host trên Replit, chạy cron schedule.
Add basic error handling + Sentry log.

Mẹo nâng cao

Tip 1 — Replit Secrets: Mọi API key đẩy vào Secrets (không hard-code) — Replit secure, không leak qua share URL. Standard cho mọi project có third-party API.
Tip 2 — Always-On / Reserved VM: Mặc định Repl sleep sau 1h idle (free tier). Nâng cấp "Reserved VM" cho bot, cron, API — chạy 24/7 không gián đoạn.
Cẩn thận: Replit không phải SOC2 mặc định — không bỏ data PII của khách hàng vào DB Replit. Sandbox / staging OK, production phải có compliance check.

Kết hợp với công cụ khác

flowchart LR
    A[Replit
Python automation] --> B[Slack / Notion API] A --> C[Replit DB
persist state] A --> D[Google Sheet
output report]

Replit là "glue layer" — connect các SaaS tool với nhau qua API. Đặc biệt hữu ích cho ops automation mà không có IT team.

So với alternatives

So vớiMạnh hơn ởYếu hơn ở
Bolt.newMulti-language (Python, Go), hosting persistent + cron jobBolt code FE đẹp hơn, UX builder smooth hơn
Cursor (local)Zero-setup, share Repl URL ngay, deploy 1-clickCursor IDE nhanh hơn, control sâu hơn
AWS Lambda / Cloud RunSetup 5 phút vs 5 tiếng, có IDE GUIScale enterprise, pricing rẻ hơn ở scale lớn

Tài nguyên thêm

Công cụ cùng nhóm