A browser-based code editor with integrated terminal, built on Skykit.
go run .
Visit http://localhost:5000
docker build -t skycode .
docker run -p 5000:5000 skycode
| Shortcut | Action |
|----------|--------|
| Ctrl+S | Save file |
| `Ctrl+`` | Toggle terminal |
| Endpoint | Method | Description |
|----------|--------|-------------|
| /api/files | GET | List all files |
| /api/files/open?path=... | GET | Get file content |
| /api/files/save | POST | Save file |
| /api/files/rename | POST | Rename file |
| /api/files | DELETE | Delete file |
| /api/exec | POST | Execute command (SSE) |
Files are stored in the database. When terminal commands are executed, files are materialized to a temporary workspace directory.
| Variable | Description |
|----------|-------------|
| PORT | Server port (default: 5000) |
| APP_ID | OAuth client ID |
| OAUTH_CLIENT_SECRET | OAuth client secret |
| DB_NAME | Database name (for replica mode) |
| DB_URL | LibSQL primary URL |
| DB_TOKEN | Database JWT token |
Part of The Skyscape platform.