You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[pad.ws](https://pad.ws) is a whiteboard app that acts as a dev environment in your browser
8
+
9
+
## ✨ Features
10
+
11
+
* 🎨 **Interactive Whiteboard** - Draw, sketch and visualize your ideas with Excalidraw
12
+
* 💻 **Fully fetched IDE** - Access terminals and VS Code directly within the whiteboard
13
+
* ☁️ **Browser friendly** - Access your dev env from any device
14
+
* 🔄 **Seamless Workflow** - Switch between visual ideation and coding
15
+
* 🛠️ **Use your own tools** - Access your VM from your desktop client (VS Code & Cursor supported)
16
+
17
+
This uses [Excalidraw](https://github.com/excalidraw/excalidraw) for the whiteboard interface while [Coder](https://github.com/coder/coder) powers the cloud development environments.
18
+
19
+
20
+
## Try it online 🌐
21
+
22
+
Visit [pad.ws](https://pad.ws) for an official managed instance. During this beta, we offer free ubuntu dev environments without any setup
23
+
24
+
## Self-Hosting 🛠️
25
+
26
+
⚠️ IMPORTANT NOTICE: This repository is in early development stage. The setup provided in `docker-compose.yml` is for development and testing purposes only.
27
+
This simplified example lets you host pad on `localhost` but is not safe for real-life use without further configurations ⚠️
2
28
3
-
Welcome to `pad.ws`, the innovative whiteboard environment integrated right into your IDE!
4
29
5
-
## 🛠️ Self-Hosting Guide 🛠️
6
30
7
-
Ready to host your own `pad.ws` instance? Follow these steps:
8
31
9
32
### ✅ Prerequisites
33
+
***Linux Host** (This was tested on Ubuntu only)
34
+
***Docker & Docker Compose:** Ensure you have both installed. [Install Docker](https://docs.docker.com/get-docker/) / [Install Docker Compose](https://docs.docker.com/compose/install/)
35
+
10
36
11
-
***Docker & Docker Compose:** Ensure you have both installed and running. [Install Docker](https://docs.docker.com/get-docker/) / [Install Docker Compose](https://docs.docker.com/compose/install/)
37
+
### 1️⃣ .env
12
38
13
-
### 1️⃣ Step 1: Start PostgreSQL 🐘
39
+
* Copy and review the default values
40
+
```bash
41
+
cp .env.template .env
42
+
```
14
43
15
-
* Run the PostgreSQL container using the provided configuration (e.g., in your `docker-compose.yml`).
44
+
### 2️⃣ PostgreSQL 🐘
45
+
> Ensure persistence for the whole deployment (canvases and configs)
16
46
17
-
```bash
18
-
# Example command (adjust based on your setup)
19
-
docker compose up -d postgres
20
-
```
47
+
* Run the PostgreSQL container using the provided configuration (e.g., in your `docker-compose.yml`)
21
48
22
-
### 2️⃣ Step 2: Configure Keycloak 🔑
49
+
```bash
50
+
docker compose up -d postgres
51
+
```
23
52
24
-
* Run the Keycloak container.
25
-
* Access the Keycloak admin console.
26
-
***Create a Realm:** Name it appropriately (e.g., `pad-ws`).
53
+
### 3️⃣ Keycloak 🔑
54
+
> OIDC provider for access and user management (within coder and pad app)
55
+
* Run the Keycloak container
56
+
```bash
57
+
docker compose up -d keycloak
58
+
```
59
+
* Access the Keycloak admin console http://localhost:8080
60
+
***Create a Realm:** Name it appropriately (e.g., `pad-ws`)
0 commit comments