エクスプローラー
- 📁 src/
- 📁 components/
- 📄 hero.tsx
- 📄 nav.tsx
- 📄 footer.tsx
- 📁 pages/
- 📁 public/
- 📄 package.json
- 📄 README.md
1import { useTranslations } from 'next-intl';
2
3export const Hero = () => {
4const t = useTranslations('hero');
5return (
6<section>
7{t('title')}
8</section>
9);
10};
チームが実際にコーディングする方法のために構築
65,535
コンテナごとの同時VS Codeインスタンス
1秒以下
URLクリックから準備完了まで(ウォームリジューム)
8
APIエンドポイントグループ
0
新しい開発者のオンボードに必要なローカルインストール
URLに住むIDE
CodeはフルVS Code — ストリップされたフォークでも独自エディターでもなく — コンテナ内で実行。
インスタンスごとの拡張機能
クエリパラメーターでスポーン時に拡張機能をプリインストール。各URLが適切なツールセットで起動。
# Install an extension from a URL
POST /api/v1/code/extensions/install
GET /api/v1/code/extensions/list
# Open a folder in a VS Code instance
curl "https://abc123-def456-code-1.node-us-1.containers.hoody.com/api/v1/code?folder=/home/user/project&locale=en"
# Log in — sets the session cookie
curl -X POST "https://abc123-def456-code-1.node-us-1.containers.hoody.com/api/v1/code/login?to=%2F" \
-d "password=hunter2"
# → 302 Found · Set-Cookie: hoody.session=...
# Proxy a local dev server through the same host
curl "https://abc123-def456-code-1.node-us-1.containers.hoody.com/api/v1/code/proxy/3000/api/users"
# → forwards to http://localhost:3000/api/users
エンドポイント 11。IDE をフル制御。
エディタを提供し、ユーザーを認証し、ローカルポートをプロキシし、拡張を管理——すべて任意の言語やスクリプトから素の HTTP で。
VS Code インターフェース
4 エンドポイントGET .../api/v1/code?folder=/home/user/project
認証
3 エンドポイントPOST .../api/v1/code/login → Set-Cookie: hoody.session
ポートプロキシ
2 エンドポイントGET .../api/v1/code/proxy/3000/api/data → localhost:3000/api/data
拡張
2 エンドポイントGET .../api/v1/code/extensions/list