Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to Javo
# Contributing to Tapas

Issues and pull requests are welcome. For a large change, open an issue first so the approach can be agreed
before you write it.
Expand Down
26 changes: 13 additions & 13 deletions DEPENDENCIES.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ e2e-github:
# compiled inside the tests (javo local among them: built by
# scripts/build/local-javo.sh and started with no flags; JAVO_E2E_UI_DIST
# names a built UI for it to carry). Needs a Docker daemon, pixi on PATH and the
# network. Run on demand, not on every push: go test ./... proves Javo's own
# network. Run on demand, not on every push: go test ./... proves Tapas's own
# logic with stand-ins.
E2E_EXECUTOR_PKGS := ./internal/executor/... ./internal/netprobe/dockerprobe/ ./internal/egressproxy/ ./internal/cli/
e2e-executors:
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="brand/javo-logo-white.svg">
<source media="(prefers-color-scheme: light)" srcset="brand/javo-logo.svg">
<img src="brand/javo-logo.svg" alt="Javo" width="320">
<source media="(prefers-color-scheme: dark)" srcset="brand/tapas-logo-white.svg">
<source media="(prefers-color-scheme: light)" srcset="brand/tapas-logo.svg">
<img src="brand/tapas-logo.svg" alt="Tapas" width="320">
</picture>
</p>

Expand All @@ -11,16 +11,16 @@
<p align="center">Notebooks, apps and jobs that you and your AI agents run through the API or MCP.</p>

<p align="center">
<a href="https://github.com/nebari-dev/javo/actions/workflows/go.yml"><img src="https://github.com/nebari-dev/javo/actions/workflows/go.yml/badge.svg?branch=main" alt="Go"></a>
<a href="https://github.com/nebari-dev/javo/actions/workflows/ui.yml"><img src="https://github.com/nebari-dev/javo/actions/workflows/ui.yml/badge.svg?branch=main" alt="UI"></a>
<a href="https://github.com/nebari-dev/javo/actions/workflows/docs.yml"><img src="https://github.com/nebari-dev/javo/actions/workflows/docs.yml/badge.svg?branch=main" alt="Docs"></a>
<a href="https://github.com/nebari-dev/tapas/actions/workflows/go.yml"><img src="https://github.com/nebari-dev/tapas/actions/workflows/go.yml/badge.svg?branch=main" alt="Go"></a>
<a href="https://github.com/nebari-dev/tapas/actions/workflows/ui.yml"><img src="https://github.com/nebari-dev/tapas/actions/workflows/ui.yml/badge.svg?branch=main" alt="UI"></a>
<a href="https://github.com/nebari-dev/tapas/actions/workflows/docs.yml"><img src="https://github.com/nebari-dev/tapas/actions/workflows/docs.yml/badge.svg?branch=main" alt="Docs"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License: Apache-2.0"></a>
<img src="https://img.shields.io/github/go-mod/go-version/nebari-dev/javo" alt="Go version">
</p>

Javo runs notebooks, web apps and scheduled jobs on Kubernetes, from one place.
Tapas runs notebooks, web apps and scheduled jobs on Kubernetes, from one place.

![The Javo home page: a list of apps (a container image, an app built by a coding agent, Pluto.jl, Dash, VS Code, Claude Code) with their status, and scheduled jobs below](site/screenshots/home.png)
![The Tapas home page: a list of apps (a container image, an app built by a coding agent, Pluto.jl, Dash, VS Code, Claude Code) with their status, and scheduled jobs below](site/screenshots/home.png)

## Who it's for

Expand All @@ -30,7 +30,7 @@ Javo runs notebooks, web apps and scheduled jobs on Kubernetes, from one place.
- **Platform teams**: run all of it on your own Kubernetes, with GPU sizes, idle shutdown and backups built in.

> [!WARNING]
> **Javo is experimental.** It is under active development: the API, the Helm values and the Kubernetes resources it creates may change between releases without a migration path, and it has not been run in production yet. Try it on a test cluster, and expect to reinstall when you upgrade.
> **Tapas is experimental.** It is under active development: the API, the Helm values and the Kubernetes resources it creates may change between releases without a migration path, and it has not been run in production yet. Try it on a test cluster, and expect to reinstall when you upgrade.

## Features

Expand Down Expand Up @@ -60,15 +60,15 @@ On an existing Kubernetes cluster, install the Helm chart in `deploy/helm/javo`

The quick start above is `deploy/compose/compose.yaml`: single-node k3s in a privileged container, and the Helm chart installed into it.

`deploy/compose/docker.yaml` runs Javo without Kubernetes instead: one container, which starts every app and job as a hardened container of the same Docker daemon (`executor: docker`, see [configuration](site/src/content/docs/admin/configuration.md)).
`deploy/compose/docker.yaml` runs Tapas without Kubernetes instead: one container, which starts every app and job as a hardened container of the same Docker daemon (`executor: docker`, see [configuration](site/src/content/docs/admin/configuration.md)).

```sh
cd deploy/compose
docker compose -f docker.yaml up -d --build
docker compose -f docker.yaml exec javo /javo user add admin --group javo-admins --password-file - --database-path /home/nonroot/javo.db
```

The second command prints the password of `admin`; sign in at http://localhost:8080. Javo runs as uid 65532 and uses the Docker socket through the socket's group: when that is not group 0, set `JAVO_DOCKER_GID` first (on a Linux host, `stat -c %g /var/run/docker.sock`). Whoever holds the Docker socket is root on the host, so a remote code execution in Javo is root on that host; rootless Docker is recommended. Group folders, home backups, home sizes and pull request previews need Kubernetes.
The second command prints the password of `admin`; sign in at http://localhost:8080. Tapas runs as uid 65532 and uses the Docker socket through the socket's group: when that is not group 0, set `JAVO_DOCKER_GID` first (on a Linux host, `stat -c %g /var/run/docker.sock`). Whoever holds the Docker socket is root on the host, so a remote code execution in Tapas is root on that host; rootless Docker is recommended. Group folders, home backups, home sizes and pull request previews need Kubernetes.

### On your own machine

Expand Down Expand Up @@ -97,9 +97,9 @@ make down # delete the local cluster

The gateway serves the UI, the API and the apps; the controller turns database changes into pods. They share only the database (SQLite in one pod, or Postgres with a Deployment each). The [architecture page](site/src/content/docs/architecture/index.md) walks through every piece.

Javo builds one image, `javo`. Apps and jobs run upstream images as they are published: the templates run the pixi image in a pixi environment of their own (`pod/files/envs`: conda-forge packages pinned by a committed `pixi.lock`), installed into the person's home on the first start and reused after. An app can bring its own environment instead, with a `pixi.toml` and `pixi.lock` at the root of its Git repository or a Nebi environment. RStudio runs the Rocker project's image and static sites run nginx, both unmodified. Samples and other files pods need come from the `javo` image (`pod/files`).
Tapas builds one image, `javo`. Apps and jobs run upstream images as they are published: the templates run the pixi image in a pixi environment of their own (`pod/files/envs`: conda-forge packages pinned by a committed `pixi.lock`), installed into the person's home on the first start and reused after. An app can bring its own environment instead, with a `pixi.toml` and `pixi.lock` at the root of its Git repository or a Nebi environment. RStudio runs the Rocker project's image and static sites run nginx, both unmodified. Samples and other files pods need come from the `javo` image (`pod/files`).

![Javo architecture](site/diagrams/architecture.png)
![Tapas architecture](site/diagrams/architecture.png)

How an app is created, from the New app form to Open:

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Reporting a vulnerability

Report vulnerabilities privately through GitHub: on https://github.com/nebari-dev/javo open the
Report vulnerabilities privately through GitHub: on https://github.com/nebari-dev/tapas open the
**Security** tab and choose **Report a vulnerability**. Please do not open a public issue or pull
request for it.

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions deploy/compose/compose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ type dockerFile struct {
} `json:"configs"`
}

// docker.yaml is one service, Javo with the Docker executor: it holds the
// docker.yaml is one service, Tapas with the Docker executor: it holds the
// Docker socket and nothing else of the host's but the chart's template
// files, is not privileged, shares none of the host's namespaces,
// publishes the gateway's port only, and its container has the name its
// config gives docker.gateway, without which Javo does not start.
// config gives docker.gateway, without which Tapas does not start.
func TestDockerComposeFileRunsOneUnprivilegedJavo(t *testing.T) {
b, err := os.ReadFile("docker.yaml")
if err != nil {
Expand Down
16 changes: 8 additions & 8 deletions deploy/compose/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# javo on one Docker host without Kubernetes: one container, Javo itself,
# javo on one Docker host without Kubernetes: one container, Tapas itself,
# with executor docker. It runs every app, job run and file helper as a
# hardened container of this Docker daemon, each on a network of its own
# that reaches only this container. See "Docker Compose" in README.md.
#
# The risk that stays: whoever holds the Docker socket is root on the
# host. Javo mounts the socket, so a remote code execution in Javo is root
# host. Tapas mounts the socket, so a remote code execution in Tapas is root
# on this host. Its Docker executor is the only code that uses the socket,
# and what it creates is fixed in code (never privileged, no host network,
# pid or ipc, no path of the host, no published port). Rootless Docker is
Expand All @@ -21,13 +21,13 @@
# JAVO_PORT host port of the gateway (default 8080), the only one published
# JAVO_PUBLIC_HOST host and port browsers use (default localhost:${JAVO_PORT})
# JAVO_DOCKER_GID group of the Docker socket as a container sees it (default 0):
# Javo runs as uid 65532 and joins that group to use the socket.
# Tapas runs as uid 65532 and joins that group to use the socket.
# On a Linux host: stat -c %g /var/run/docker.sock
# JAVO_CONTAINER name of Javo's container (default javo); two installs on
# JAVO_CONTAINER name of Tapas's container (default javo); two installs on
# one daemon need two names
# JAVO_IMAGE_TAG tag of the javo image (default compose)
#
# `docker compose down` leaves what Javo made on the daemon: people's home
# `docker compose down` leaves what Tapas made on the daemon: people's home
# volumes (labelled javo.gateway.homes=<JAVO_CONTAINER>) always stay, and
# so do apps that were running (labelled javo.gateway=<JAVO_CONTAINER>);
# stop the apps in the UI first.
Expand All @@ -38,7 +38,7 @@ services:
build: {context: ../..}
image: javo:${JAVO_IMAGE_TAG:-compose}
# docker.gateway in the config below names this container: apps reach
# it by this name, and Javo refuses to start anywhere else.
# it by this name, and Tapas refuses to start anywhere else.
container_name: ${JAVO_CONTAINER:-javo}
restart: unless-stopped
command:
Expand All @@ -57,8 +57,8 @@ services:
configs:
- {source: config, target: /etc/javo/config.yaml}
volumes:
# The database, Javo's keys and nothing else. The image's home
# folder belongs to the user Javo runs as, and so does a new volume
# The database, Tapas's keys and nothing else. The image's home
# folder belongs to the user Tapas runs as, and so does a new volume
# mounted there.
- data:/home/nonroot
- /var/run/docker.sock:/var/run/docker.sock
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/javo/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ true
- --log-format={{ .Values.telemetry.logFormat }}
- --log-level={{ .Values.telemetry.logLevel }}
{{- end -}}
{{/* Where every Javo container sends traces and metrics (telemetry). */}}
{{/* Where every Tapas container sends traces and metrics (telemetry). */}}
{{- define "javo.telemetryEnv" -}}
{{- with .Values.telemetry.otlpEndpoint }}
- name: OTEL_EXPORTER_OTLP_ENDPOINT
Expand Down
Loading