エクスプローラー
- 📁 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が適切なツールセットで起動。
# Pre-install extensions on spawn
GET /code/v1/instance?extensions=rust-analyzer,prettier
→ { instance_id: "abc", extensions: 2, ready_ms: 840 }
# Spawn a VS Code instance at a URL
curl "https://proj-dev-code-1.hoody.com/?folder=/home/user/project&id=1"
# Install an extension via API
curl -X POST \
https://proj-dev-code-1.hoody.com/api/v1/code/extensions/install \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "https://marketplace.../ext.vsix"}'
# Response:
# {
# "installed": true,
# "id": "publisher.extension-name",
# "instance_id": 1
# }
11 Endpoints. Full IDE Control.
Serve the editor, authenticate users, proxy local ports, and manage extensions — all over plain HTTP from any language or script.
VS Code Interface
{count, plural, =1 {# endpoint} other {# endpoints}'}GET .../api/v1/code?folder=/home/user/project
Authentication
{count, plural, =1 {# endpoint} other {# endpoints}'}POST .../api/v1/code/login → Set-Cookie: hoody-session
Port Proxying
{count, plural, =1 {# endpoint} other {# endpoints}'}GET .../api/v1/code/proxy/3000/api/data → localhost:3000/api/data
Extensions
{count, plural, =1 {# endpoint} other {# endpoints}'}POST .../api/v1/code/extensions/install { url: "...vsix" }