コンテンツにスキップ
ホーム / キット / コード
CodeKitサービス

コード

HTTP経由で分離されたVS Codeインスタンスをスポーン。ローカルインストール不要、設定同期不要。

code · hoody-website-2026

エクスプローラー

  • 📁 src/
  • 📁 components/
  • 📄 hero.tsx
  • 📄 nav.tsx
  • 📄 footer.tsx
  • 📁 pages/
  • 📁 public/
  • 📄 package.json
  • 📄 README.md
hero.tsxnav.tsx

1import { useTranslations } from 'next-intl';

2

3export const Hero = () => {

4const t = useTranslations('hero');

5return (

6<section>

7{t('title')}

8</section>

9);

10};

main · 4 collaboratorsUTF-8 · LF · TypeScript
ホーム / キット / コード / スケール

チームが実際にコーディングする方法のために構築

65,535

コンテナごとの同時VS Codeインスタンス

1秒以下

URLクリックから準備完了まで(ウォームリジューム)

8

APIエンドポイントグループ

0

新しい開発者のオンボードに必要なローカルインストール

ホーム / キット / コード / 機能
提供されるもの

URLに住むIDE

CodeはフルVS Code — ストリップされたフォークでも独自エディターでもなく — コンテナ内で実行。

capability 01 / 06
インスタンスごとの拡張機能

インスタンスごとの拡張機能

クエリパラメーターでスポーン時に拡張機能をプリインストール。各URLが適切なツールセットで起動。

# Pre-install extensions on spawn

GET /code/v1/instance?extensions=rust-analyzer,prettier

→ { instance_id: "abc", extensions: 2, ready_ms: 840 }

ホーム / キット / コード / api
API

HTTP経由でVS Codeをスポーンして制御

各インスタンスには独自のURL、ポート、拡張セットがあります。アプリから制御可能。

ドキュメントを見る
code-api.sh

# 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

# }

home / kit / code / api
API REFERENCE

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

GET
/api/v1/codeServe the VS Code web interface; open a folder, workspace, or extension-only mode
GET
/_static/{path}Serve static build assets (JS, CSS, icons, service worker)
GET
/api/v1/code/manifest.jsonReturn the PWA manifest for installing Hoody Code to the home screen
POST
/api/v1/code/mint-keyGenerate or retrieve the 256-bit server web key used for encryption

Authentication

{count, plural, =1 {# endpoint} other {# endpoints}'}

POST .../api/v1/code/login → Set-Cookie: hoody-session

GET
/api/v1/code/loginReturn the password login page HTML; redirects if already authenticated
POST
/api/v1/code/loginAuthenticate with password; sets session cookie (rate-limited: 2/min, 12/hr)
GET
/api/v1/code/logoutClear the session cookie and redirect to home

Port Proxying

{count, plural, =1 {# endpoint} other {# endpoints}'}

GET .../api/v1/code/proxy/3000/api/data → localhost:3000/api/data

GET
/api/v1/code/proxy/{port}/{path}Forward to a local port, stripping the /proxy/:port prefix before forwarding
GET
/api/v1/code/absproxy/{port}/{path}Forward to a local port, preserving the full path for path-aware apps

Extensions

{count, plural, =1 {# endpoint} other {# endpoints}'}

POST .../api/v1/code/extensions/install { url: "...vsix" }

GET
/api/v1/code/extensions/listList all installed VS Code extensions in the extensions directory
POST
/api/v1/code/extensions/installDownload and install a VS Code extension from a VSIX URL
ホーム / キット / コード / はじめる

インストールガイドではなくエディターを出荷

Codeはすべての Hoodyコンテナに付属する14のKitサービスの1つ。インストールスクリプトの記述をやめましょう。

ドキュメントを見る