• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
buonhayvui1404

buonhayvui1404

account-manager

Profile & proxy manager for account nurturing using Kernel.sh
Public
Like
account-manager
Home
Code
12
API-REFERENCE.md
DEPLOYMENT-GUIDE.md
INDEX.md
QUICK-START.md
README.md
START-HERE.md
SUMMARY.md
api-config.ts
kernel-integration.ts
H
main.ts
test-ui.html
ui.html
Environment variables
1
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

🚀 Account Manager - Profile & Proxy Manager\n\nUng dụng quản lý profile và proxy cố định sử dụng Kernel API để nuôi account.\n\n## 📋 Tính Năng\n\n### 1. Quản Lý Profile\n- ✅ Tạo profile mới (liên kết với Kernel API)\n- ✅ Gán proxy cố định cho profile\n- ✅ Xem live view của profile để monitor\n- ✅ Xóa profile\n- ✅ Lưu thông tin profile vào database\n\n### 2. Quản Lý Proxy\n- ✅ Tạo proxy configuration\n- ✅ Hỗ trợ proxy có authentication (username/password)\n- ✅ Lưu proxy cố định để dùng lại\n- ✅ Xóa proxy\n- ✅ Kiểm tra tình trạng proxy\n\n### 3. Giao Diện Người Dùng\n- ✅ Dashboard đẹp, responsive\n- ✅ Danh sách profile kèm link live view\n- ✅ Danh sách proxy hiện đang sử dụng\n- ✅ Form tạo nhanh profile/proxy\n- ✅ Hỗ trợ mobile\n\n## 🛠️ Thiết Lập\n\n### 1. Cấu Hình API Key\n\nBạn cần thiết lập KERNEL_API_KEY environment variable:\n\nbash\n# Đăng ký tại https://kernel.sh\n# Lấy API Key từ dashboard\n\n\nTrong Val Town:\n1. Mở val buonhayvui1404/account-manager\n2. Settings → Environment Variables\n3. Thêm biến: KERNEL_API_KEY = your_api_key_here\n\n### 2. Database\n\nỨng dụng tự động tạo 2 bảng SQLite:\n- profiles - Lưu thông tin profile\n- proxies - Lưu cấu hình proxy\n\n## 📝 Hướng Dẫn Sử Dụng\n\n### Tạo Proxy Cố Định\n\n1. Đi tới section "🔌 Create Proxy"\n2. Điền thông tin:\n - Proxy Name: Tên dễ nhớ (vd: "Proxy US1")\n - Host: Địa chỉ proxy (vd: "123.45.67.89")\n - Port: Cổng (vd: "8080")\n - Username: (Tùy chọn) Tên đăng nhập\n - Password: (Tùy chọn) Mật khẩu\n3. Click "Create Proxy"\n\n### Tạo Profile Cho Account\n\n1. Đi tới section "📝 Create Profile"\n2. Điền:\n - Profile Name: Tên account (vd: "my_account_1")\n - Select Proxy: Chọn proxy từ danh sách (hoặc không proxy)\n3. Click "Create Profile"\n3. Profile sẽ được tạo trên Kernel API\n\n### Xem Live View\n\n1. Tìm profile trong section "👤 Profiles"\n2. Click nút "👁️ Live View"\n3. Cửa sổ mới sẽ mở hiển thị browser instance đang chạy\n\n### Xóa Profile/Proxy\n\n1. Tìm item cần xóa\n2. Click nút "Delete"\n3. Xác nhận lại\n\n## 📊 Cấu Trúc Database\n\n### Bảng profiles\nsql\nid - UUID duy nhất\nname - Tên profile (duy nhất)\nkernel_id - ID của profile trên Kernel API\nproxy_id - ID của proxy được gán (nếu có)\ncreated_at - Thời gian tạo\nstatus - Trạng thái (active/inactive)\n\n\n### Bảng proxies\nsql\nid - UUID duy nhất\nname - Tên proxy (duy nhất)\nkernel_id - ID của proxy trên Kernel API\nhost - Địa chỉ proxy\nport - Cổng proxy\nusername - Tên đăng nhập (nếu có)\npassword - Mật khẩu (nếu có)\ncreated_at - Thời gian tạo\n\n\n## 🔗 API Endpoints\n\n### Profile Routes\n\n- GET /api/profiles - Lấy danh sách profile\n- POST /api/profiles - Tạo profile mới\n- DELETE /api/profiles/:id - Xóa profile\n- GET /api/profiles/:id/live-view - Lấy live view URL\n\n### Proxy Routes\n\n- GET /api/proxies - Lấy danh sách proxy\n- POST /api/proxies - Tạo proxy mới\n- DELETE /api/proxies/:id - Xóa proxy\n\n## 🎯 Kernel API Reference\n\nUng dụng này sử dụng các endpoint Kernel:\n\n### Profiles\n\nPOST /v1/profiles - Tạo profile\nGET /v1/profiles/{id} - Lấy thông tin profile\nDELETE /v1/profiles/{id} - Xóa profile\nGET /v1/profiles/{id}/live-view - Lấy URL xem live\n\n\n### Proxies\n\nPOST /v1/proxies - Tạo proxy\nGET /v1/proxies/{id} - Lấy thông tin proxy\nDELETE /v1/proxies/{id} - Xóa proxy\nPOST /v1/proxies/{id}/health-check - Kiểm tra sức khỏe\n\n\n📚 Tài liệu đầy đủ: https://kernel.sh/docs/llms.txt\n\n## 💡 Use Case - Nuôi Account\n\nCách sử dụng ứng dụng này để nuôi account:\n\n1. Tạo proxy cố định - Dùng proxy nhất quán cho một account\n2. Tạo profile gán proxy - Mỗi account có profile riêng + proxy riêng\n3. Monitor qua live view - Xem hoạt động của account trong browser\n4. Lưu trạng thái - Profile tự động lưu cookies, storage, etc.\n5. Tái sử dụng - Profile và proxy có thể dùng lại nhiều lần\n\n## 🔐 Bảo Mật\n\n- API Key được lưu trữ an toàn via environment variables\n- Mật khẩu proxy được mã hóa trong database\n- Các request tới Kernel API sử dụng HTTPS\n- Không lưu trữ cookie/token nhạy cảm ở client side\n\n## 📱 Responsive Design\n\n- ✅ Desktop (1400px max width)\n- ✅ Tablet (responsive grid)\n- ✅ Mobile (stacked layout)\n\n## 🚀 Triển Khai\n\nVal này đã được deploy trên Val Town như một HTTP endpoint.\n\nURL: https://valtown.val.run/buonhayvui1404/account-manager\n\n## 📝 Ghi Chú\n\n- Database lưu trữ local trên Val Town\n- Mỗi profile được tạo 1 UUID riêng\n- Kernel API keys cần có quyền create/delete profiles & proxies\n- Live view URL có thể hết hạn sau một thời gian\n\n## 🆘 Troubleshooting\n\nError: Kernel API error: 401\n→ Kiểm tra KERNEL_API_KEY có đúng không\n\nError: Profile name is required\n→ Điền tên profile trước khi tạo\n\nError: Failed to get live view\n→ Profile có thể đã bị xóa hoặc hết hạn\n\n## 📞 Support\n\nNếu có vấn đề, kiểm tra:\n1. KERNEL_API_KEY trong environment variables\n2. Console logs trong browser dev tools\n3. Kernel API documentation tại https://kernel.sh/docs\n\n---\n\nHappy account growing! 🎉\n

Code
API-REFERENCE.mdDEPLOYMENT-GUIDE.mdINDEX.mdQUICK-START.mdREADME.mdSTART-HERE.mdSUMMARY.mdapi-config.tskernel-integration.ts
H
main.ts
test-ui.htmlui.html
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.