Ir al contenido
inicio / kit / code
CodeServicio Kit

Code

Lanza instancias aisladas de VS Code vía HTTP. Sin instalación local, sin sincronización de ajustes: cada desarrollador obtiene su propia URL con sus propias extensiones, puerto y shell. Programa en pareja compartiendo un enlace.

code · hoody-website-2026

Explorador

  • 📁 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
inicio / kit / code / scale

Construido para la forma en que los equipos realmente programan

65.535

Instancias de VS Code concurrentes por contenedor

menos de 1 s

Del clic en la URL a listo (reanudación en caliente)

8

Grupos de endpoints de la API

0

Instalaciones locales para incorporar a un nuevo dev

inicio / kit / code / capabilities
Qué obtienes

Un IDE que vive en una URL

Code es VS Code completo, sin fork despojado ni editor propietario, ejecutándose dentro de tu contenedor y accesible desde tu navegador. Las diferencias son operativas, no editoriales.

capability 01 / 06
Extensiones por instancia

Extensiones por instancia

Preinstala extensiones al crear la instancia mediante parámetros de consulta. Cada URL arranca con el conjunto de herramientas adecuado para el trabajo, sin deriva de configuración compartida.

# Pre-install extensions on spawn

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

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

inicio / kit / code / api
API

Lanza y controla VS Code vía HTTP

Cada instancia tiene su propia URL, puerto y conjunto de extensiones. Contrólalas desde tu app sin SSH ni máquinas virtuales.

Ver documentación
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
inicio / kit / code / start

Entrega el editor, no la guía de instalación

Code es uno de los 14 servicios Kit incluidos en cada contenedor de Hoody. Deja de escribir docs de onboarding que digan 'primero, instala Node 20'.

Ver documentación