githubnext/ace2Public

Ace: a collaborative coding environment on the team's own machines

feat(app): open Ace on phones over the tailnet and deploy the web app

Hosts serve the app on their tailnet address to the owner's own devices, with Tailscale naming
the person. A deployed copy on Cloudflare connects to a chosen host over HTTPS when the tailnet
has certificates. The phone layout follows the shared layout's bottom navigation, with the
channel list as a drawer, safe areas, keyboard-aware height and Return adding a line.
IAiamnbutler authored
de3bc7ePatch
Parentd3b81b3
27 files changed+462-473 binary
StackedSplit
.gitignore+1 −0
apps/app/index.html+13 −1
apps/app/package.json+5 −2
apps/app/public/_headers+4 −0
apps/app/public/icon-180.png+0 −0

Binary file not shown.

apps/app/public/icon-192.png+0 −0

Binary file not shown.

apps/app/public/icon-512.png+0 −0

Binary file not shown.

apps/app/public/manifest.webmanifest+14 −0
apps/app/src/address.ts+55 −0
apps/app/src/app.tsx+48 −4
apps/app/src/connect.tsx+55 −0
apps/app/src/conversation.tsx+12 −1
apps/app/src/env.d.ts+4 −0
apps/app/src/host.ts+11 −5
apps/app/src/main.tsx+7 −2
apps/app/src/styles.css+30 −1
apps/app/src/viewport.ts+28 −0
apps/app/wrangler.jsonc+11 −0
apps/host/src/cli.ts+6 −0
apps/host/src/config.ts+2 −0
apps/host/src/gateway-client.ts+11 −1
apps/host/src/gateway.ts+51 −22
apps/host/src/tailnet.ts+21 −1
apps/host/src/web.ts+54 −0
bun.lock+7 −6
packages/ui/src/components/composer/use-attachments.ts+5 −1
packages/ui/src/components/rich-text/rich-text.tsx+7 −0